convexPolygonClipInPlace Method

Deprecated  Instead of clipPlane.convexPolygonClipInPlace (xyz, work, tolerance) use PolygonOps.clipConvexPoint3dPolygonInPlace (clipPlane, xyz, work, tolerance)

Clip a polygon, returning the clip result in the same object.

convexPolygonClipInPlace(xyz: Point3d[], work: Point3d[], tolerance: number = Geometry.smallMetricDistance): void

Parameter Type Description
xyz Point3d[] input/output polygon
work Point3d[] scratch object
tolerance number tolerance for on-plane decision.

Returns - void

Defined in

Last Updated: 13 June, 2024