The family of traits class adapters ..._adapterC2 to 2D Cartesian 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 ..._adapterC2.
| |
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 FT has to fulfill the requirements of a
CGAL field type.
| |
| |
Default constructor.
| |
| |
Copy constructor.
|
|
| |
returns the Cartesian coordinates of p in x and y, resp. | ||
|
| |
returns the Cartesian x-coordinate of p. | ||
|
| |
returns the Cartesian y-coordinate of p. | ||
|
| |
sets p to the point with Cartesian coordinates x and y. |