Class BasicPolygon2d

Inheritance Relationships

Base Type

  • public BasicLineString2d

Class Documentation

class BasicPolygon2d : public BasicLineString2d

Primitive 2d polygon with basic points.

This just a normal vector with normal points. We inherit from it, because we need to create a new type that will be recognized as polygon by boost::geometry (and not as linestring).

Public Types

using TwoDType = BasicPolygon2d
using ThreeDType = BasicPolygon3d
using HybridType = BasicPolygon2d
using PointType = BasicPoint2d

Public Functions

inline explicit BasicPolygon2d(const BasicLineString2d &other)
BasicPolygon2d() = default