Class xlifepp::SetOfPoints#
-
class SetOfPoints : public xlifepp::Geometry#
-
This class defines a set of points.
The points are implicitly ordered according to their position in the vector. This allows the definition of a polygonal line made of successive segments from arbitrary points in 1D, 2D or 3D.
Public Functions
-
inline SetOfPoints(const std::vector<Point> &pts, const std::vector<string_t> &names)#
-
default constructor
-
virtual string_t asString() const#
-
format as string
-
virtual real_t measure() const#
-
return the length/area/volume of the geometry
-
inline virtual SetOfPoints *setofpoints()#
-
access to child SetOfPoints object
-
inline virtual const SetOfPoints *setofpoints() const#
-
access to child SetOfPoints object (const)
-
inline SetOfPoints(const std::vector<Point> &pts, const std::vector<string_t> &names)#