\( \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 5.0.3 - dD Geometry Kernel
CGAL::Epick_d< DimensionTag >::Weighted_point_d Class Reference

#include <CGAL/Epick_d.h>

Definition

represents a weighted point in the Euclidean space

Is Model Of:

DefaultConstructible

Assignable

Public Member Functions

 Weighted_point_d (const Point_d &p, const double &w)
 introduces a weighted point with point p and weight w. More...
 
Point_d point () const
 extracts the point of a weighted point. More...
 
double weight () const
 extracts the weight of a weighted point. More...
 

Constructor & Destructor Documentation

◆ Weighted_point_d()

template<typename DimensionTag >
CGAL::Epick_d< DimensionTag >::Weighted_point_d::Weighted_point_d ( const Point_d p,
const double &  w 
)

introduces a weighted point with point p and weight w.

Member Function Documentation

◆ point()

template<typename DimensionTag >
Point_d CGAL::Epick_d< DimensionTag >::Weighted_point_d::point ( ) const

extracts the point of a weighted point.

◆ weight()

template<typename DimensionTag >
double CGAL::Epick_d< DimensionTag >::Weighted_point_d::weight ( ) const

extracts the weight of a weighted point.