\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.10 - 2D and 3D Linear Geometry Kernel
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Weighted_point_3< Kernel > Class Template Reference

#include <CGAL/Weighted_point_3.h>

Definition

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:

See Also
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< Kernelpoint () const
 returns the point of the weighted point.
 
Kernel::FT weight () const
 returns the weight of the weighted point.