centroidAreaNormal MethodStatic

Return a Ray3d with (assuming the polygon is planar and not self-intersecting)

  • origin at the centroid of the (3D) polygon
  • normal is a unit vector perpendicular to the plane
  • 'a' member is the area.

centroidAreaNormal(points: IndexedXYZCollection | Point3d[]): Ray3d | undefined

Parameter Type Description
points IndexedXYZCollection | Point3d[]  

Returns - Ray3d | undefined

Defined in

Last Updated: 13 June, 2024