|
CGAL 4.7 - 2D Triangulation
|
#include <CGAL/Weighted_point.h>
Pt.
The class Weighted_point provides a type associating a point type Pt with a weight type Wt.
It is used in the traits classes Regular_triangulation_euclidean_traits_2 and Regular_triangulation_euclidean_traits_3.
Types | |
| Pt | Point |
| The point type. More... | |
| Wt | Weight |
| The weight type. More... | |
Creation | |
| Weighted_point (Weighted_point wq) | |
| copy constructor. More... | |
| Weighted_point (Point p=Point(), Weight w=Weight(0)) | |
| Weighted_point (FT x, FT y) | |
Constructs the point from x and y coordinates, with a weight of 0. More... | |
| Weighted_point (FT x, FT y, FT z) | |
Constructs the point from x, y and z coordinates, with a weight of 0. More... | |
Access Functions | |
| Point | point () const |
| Weight | weight () const |
| CGAL::Weighted_point< Pt, Wt >::Weighted_point | ( | Weighted_point< Pt, Wt > | wq | ) |
copy constructor.
| CGAL::Weighted_point< Pt, Wt >::Weighted_point | ( | Point | p = Point(), |
| Weight | w = Weight(0) |
||
| ) |
| CGAL::Weighted_point< Pt, Wt >::Weighted_point | ( | FT | x, |
| FT | y | ||
| ) |
Constructs the point from x and y coordinates, with a weight of 0.
Requires that the ambient dimension be 2.
| CGAL::Weighted_point< Pt, Wt >::Weighted_point | ( | FT | x, |
| FT | y, | ||
| FT | z | ||
| ) |
Constructs the point from x, y and z coordinates, with a weight of 0.
Requires that the ambient dimension be 3.
| Point CGAL::Weighted_point< Pt, Wt >::point | ( | ) | const |
| Weight CGAL::Weighted_point< Pt, Wt >::weight | ( | ) | const |
| Pt CGAL::Weighted_point< Pt, Wt >::Point |
The point type.
| Wt CGAL::Weighted_point< Pt, Wt >::Weight |
The weight type.