Hull2dExtensions
Static members
Static member | Description |
IsInsideInwardHull(point, hull, offset)
Signature: (point:V2d * hull:Hull2d * offset:float) -> bool
|
Returns true if the supplied point is inside a hull with planes whose normal vectors point to the inside of the hull. The optional offset parameter is measured in normal direction, i.e. a positive offset makes the hull smaller. |
ToInwardHull(polygon, pointCount)
Signature: (polygon:V2d [] * pointCount:int) -> Hull2d
|
Creates an inward hull (i.e. a hull whose normal vectors point inside) from an counter-clockwise enumerated array of polygon points. |