Click or drag to resize

ILoop2 Interface

A closed polygon.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public interface ILoop2

The ILoop2 type exposes the following members.

Methods
  NameDescription
Public methodGetBoundingBox2
Returns the bounding box of the loop.
Public methodIntersects
Checks whether the line between point0 and point1 intersects the polygon. If so returns the intersection point in point2.
Public methodProjectBack
project the endpoint of the line back onto the polygon in case the endpoint lies on the outside. Otherwise return the endpoint.
Public methodSegments
Iterate through the segments of the loop should maybe also specify a step length.
Top
See Also