Skip to main content
Version: 12 Dec 2024

MLPlaneBoundary

Module: Planes

Type used to represent a region boundary on a 2D plane. More...

#include <ml_planes.h>

Public Attributes

TypeName
MLPolygon *polygon
MLPolygon *holes
uint32_tholes_count

Detailed Description

struct MLPlaneBoundary;

Type used to represent a region boundary on a 2D plane.

Deprecated

Deprecated since 1.6.0. Scheduled for removal.

API Level:

  • 2

Public Attributes Documentation

polygon

MLPolygon * polygon;
TypeDescription
MLPolygon *Coplanar connected line segments representing the outer boundary of a polygon, an n-sided polygon where n is the number of vertices.

The polygon that defines the region, the boundary vertices in MLPolygon will be in CCW order.


holes

MLPolygon * holes;
TypeDescription
MLPolygon *Coplanar connected line segments representing the outer boundary of a polygon, an n-sided polygon where n is the number of vertices.

A polygon may contains multiple holes, the boundary vertices in MLPolygon will be in CW order.


holes_count

uint32_t holes_count;

Count of the holes.