Sets
point
to p.point
,normal
to p.normal
, anddistance
to p.distance
. The return value is p, so that invocations of this function can be chained.Point pt(2, 2.3, 6); Point norm(-1, 12, -36); Plane A(pt, norm); Plane B; Plane C; B = C = A; A.show("A:"); -| A: normal: (-0.0263432, 0.316118, -0.948354) point: (2, 2.3, 6) distance == 5.01574 cout << (A == B && A == C && B == C); -| 1