The family of traits class adapters ..._adapterH2 to 2D homogeneous points is parameterized with a point type PT and a data accessor DA [KW97]. The latter defines the coordinates-based interface between the traits class adapter and the point type. The following requirements catalog lists the primitives, i.e. types, member functions etc., that must be defined for classes PT and DA that can be used to parameterize ..._adapterH2.
| |
Default constructor.
| |
| |
Copy constructor.
|
|
| Assignment. |
|
| Equality test. |
The following I/O operators are only needed, if the corresponding I/O operators of the optimisation algorithm are used.
|
| writes p to output stream os. |
|
| |
reads p from input stream is. |
| |
The number type RT has to fulfill the requirements of a
CGAL ring type.
| |
| |
Default constructor.
| |
| |
Copy constructor.
|
|
| |
returns the homogeneous coordinates of p in hx, hy and hw, resp. | ||
|
| |
returns the homogeneous x-coordinate of p. | ||
|
| |
returns the homogeneous y-coordinate of p. | ||
|
| |
returns the homogeneous w-coordinate of p. | ||
|
| |
sets p to the point with homogeneous coordinates hx, hy and hw. |