ILoop2 Interface

A closed polygon.

Definition

Namespace: Karamba.Geometry
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public interface ILoop2

Methods

GetBoundingBox2 Returns the bounding box of the loop.
Intersects Checks whether the line between point0 and point1 intersects the polygon. If so returns the intersection point in point2.
ProjectBack project the endpoint of the line back onto the polygon in case the endpoint lies on the outside. Otherwise return the endpoint.
Segments Iterate through the segments of the loop should maybe also specify a step length.

See Also