CGAL 5.4 - dD Geometry Kernel
CGAL::Epeck_d< DimensionTag >::Weighted_point_d Class Reference

#include <CGAL/Epeck_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::Epeck_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::Epeck_d< DimensionTag >::Weighted_point_d::point ( ) const

extracts the point of a weighted point.

◆ weight()

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

extracts the weight of a weighted point.