CGAL 5.1 - dD Geometry Kernel
CGAL::Epick_d< DimensionTag >::Weighted_point_d Class Reference

#include <CGAL/Epick_d.h>

Definition

template<typename DimensionTag>
class CGAL::Epick_d< DimensionTag >::Weighted_point_d

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.