CGAL 5.1 - dD Geometry Kernel
|
#include <CGAL/Epick_d.h>
represents a point in the Euclidean space
DefaultConstructible
Assignable
Public Member Functions | |
Point_d (double x0, double x1,...) | |
introduces a point with coordinates (x0, x1, ...) where the number of coordinates matches the dimension. More... | |
template<typename InputIterator > | |
Point_d (InputIterator first, InputIterator end) | |
introduces a point with coordinate set [first,end) . More... | |
double | operator[] (int i) const |
returns the i'th coordinate of a point. More... | |
Cartesian_const_iterator_d | cartesian_begin () const |
returns an iterator pointing to the zeroth Cartesian coordinate. More... | |
Cartesian_const_iterator_d | cartesian_end () const |
returns an iterator pointing beyond the last Cartesian coordinate. More... | |
CGAL::Epick_d< DimensionTag >::Point_d::Point_d | ( | double | x0, |
double | x1, | ||
... | |||
) |
introduces a point with coordinates (x0, x1, ...) where the number of coordinates matches the dimension.
DimensionTag
is a fixed dimension, not Dynamic_dimension_tag
. CGAL::Epick_d< DimensionTag >::Point_d::Point_d | ( | InputIterator | first, |
InputIterator | end | ||
) |
introduces a point with coordinate set [first,end)
.
DimensionTag
is a fixed dimension, it matches distance(first,end)
. InputIterator | has its value type that is convertible to double . |
Cartesian_const_iterator_d CGAL::Epick_d< DimensionTag >::Point_d::cartesian_begin | ( | ) | const |
returns an iterator pointing to the zeroth Cartesian coordinate.
Cartesian_const_iterator_d CGAL::Epick_d< DimensionTag >::Point_d::cartesian_end | ( | ) | const |
returns an iterator pointing beyond the last Cartesian coordinate.
double CGAL::Epick_d< DimensionTag >::Point_d::operator[] | ( | int | i | ) | const |
returns the i'th coordinate of a point.
i
is non-negative and less than the dimension.