Public Types | Public Member Functions | List of all members
lanelet::BasicPolygon2d Class Reference

Primitive 2d polygon with basic points. More...

#include <Polygon.h>

Inheritance diagram for lanelet::BasicPolygon2d:
Inheritance graph
[legend]

Public Types

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

Public Member Functions

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

Detailed Description

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).

Definition at line 18 of file primitives/Polygon.h.

Member Typedef Documentation

◆ HybridType

Definition at line 23 of file primitives/Polygon.h.

◆ PointType

Definition at line 24 of file primitives/Polygon.h.

◆ ThreeDType

Definition at line 22 of file primitives/Polygon.h.

◆ TwoDType

Definition at line 21 of file primitives/Polygon.h.

Constructor & Destructor Documentation

◆ BasicPolygon2d() [1/2]

lanelet::BasicPolygon2d::BasicPolygon2d ( const BasicLineString2d other)
inlineexplicit

Definition at line 20 of file primitives/Polygon.h.

◆ BasicPolygon2d() [2/2]

lanelet::BasicPolygon2d::BasicPolygon2d ( )
default

The documentation for this class was generated from the following file:


lanelet2_core
Author(s): Fabian Poggenhans
autogenerated on Thu Mar 6 2025 03:25:52