computeConvexHullXY MethodStatic
Computes the hull of the XY projection of points.
computeConvexHullXY(points: Point3d[], hullPoints: Point3d[], insidePoints: Point3d[], addClosurePoint: booleanfalse): void
Parameter | Type | Description |
---|---|---|
points | Point3d[] | input points, z-coordinates ignored. |
hullPoints | Point3d[] | (output) points on the convex hull (cloned from input points). |
insidePoints | Point3d[] | (output) points not on the convex hull (cloned from input points). |
addClosurePoint | boolean | whether to append the first hull point to hullPoints . |
Returns - void
Defined in
- geometry3d/PointHelpers.ts Line 1087
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.