Table of Contents

CadBoundaryLoop

from OpenCAD2D import CadBoundaryLoop

class CadBoundaryLoop(System.Object) ยท CadBoundaryLoop in the .NET reference

A loop HATCH or BOUNDARY found: its corners with the bulges of the edges leaving them, or a curve of its own (an ellipse, a spline) where an object selected is one; the objects it was made of; how deep it lies among the loops found (nought the outer loop, 1 an island in it, 2 an island in that).

Properties and fields

Area

.NET

@property
def Area(self) -> float

Gets the area the loop closes, exactly on its arcs; for a loop of a curve, on the points it is drawn through.

Bulges

.NET

@property
def Bulges(self) -> System.Collections.Generic.IReadOnlyList[float]

Gets the bulge of the edge leaving each corner: nought a line, 1 a half circle counter-clockwise.

Curve

.NET

@property
def Curve(self) -> Any

Gets the curve of a loop that is one object selected, a GeoEllipse3 or a GeoSpline3; null for a loop of corners.

Depth

.NET

@property
def Depth(self) -> int

Gets how deep the loop lies: nought the outer loop, 1 an island in it, 2 an island in an island.

Sources

.NET

@property
def Sources(self) -> System.Collections.Generic.IReadOnlyList[str]

Gets the handles of the objects the loop was made of, each once, in the order the loop meets them.

Vertices

.NET

@property
def Vertices(self) -> System.Collections.Generic.IReadOnlyList[GeoPoint2]

Gets the corners, in the world, the first not repeated at the end; none for a loop of a curve.