#include <CGAL/Point_d.h>
A CGAL_Point_d<R> object can be created from an iterator range.
| |
| |
if the range [first,last) contains dim elements, this
creates a point with Cartesian coordinates as specified by the
range. If [first,last) contains dim+1 elements, the
range specifies the homogeneous coordinates of p.
Precondition: dim is nonnegative, [first,last) has dim or dim+1 elements, and the value types of first and last are R::RT.
|
Note: in case your compiler does not support member templates, CGAL provides the following specialized constructor.
|
|
| Equality test. Two points are equal if they have the same dimension and agree in all coordinates. |
|
| Test for inequality. |
|
| |
returns the i'th homogeneous coordinate of p, starting with
0.
Precondition: d. | ||
|
| |
returns the i'th Cartesian coordinate of p, starting with 0.
Precondition: d. | ||
|
|
returns the i'th Cartesian coordinate of p, starting with 0.
Precondition: d. |
|
| returns the dimension d of p. |