CGAL 5.2.2 - 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.