CGAL 4.10 - 2D and 3D Linear Geometry Kernel
|
#include <CGAL/Weighted_point_3.h>
An object of the class Weighted_point_3
is a tuple of a 3D point and a scalar weight.
Operators
The following operations can be applied on points:
Point_3<Kernel>
Kernel::WeightedPoint_3
Creation | |
Weighted_point_3 (const Origin &ORIGIN) | |
introduces a weighted point with Cartesian coordinates (0,0,0) and weight 0 . | |
Weighted_point_3 (const Point_3< Kernel > &p) | |
introduces a weighted point from point p and weight 0 . | |
Weighted_point_3 (const Point_3< Kernel > &p, Kernel::FT &w) | |
introduces a weighted point from point p and weight w . | |
Weighted_point_3 (const Kernel::FT &x, const Kernel::FT &y, const Kernel::FT &z) | |
introduces a weighted point with coordinates x , y , z , and weight 0. | |
Operations | |
Point_3< Kernel > | point () const |
returns the point of the weighted point. | |
Kernel::FT | weight () const |
returns the weight of the weighted point. | |