sumVolumeBetweenFacetsAndPlane MethodStatic

Sum (signed) volumes between facets and a plane.

sumVolumeBetweenFacetsAndPlane(source: PolyfaceVisitor | Polyface, plane: Plane3d, skipMoments?: boolean): FacetProjectedVolumeSums

@returns a structure with multiple sums:

  • volume: the sum of (signed) volumes between facets and the plane.
  • positiveProjectedFacetAreaMoments, negativeProjectedFacetAreaMoments: area moment data (centroid, signed area, and second moments with respect to the centroid), separately computed for the input facets that project with positive/negative area onto the plane.
Parameter Type Description
source PolyfaceVisitor | Polyface facet set
plane Plane3d infinite plane bounding volume between the input facets and (virtual) side facets perpendicular to the plane.
skipMoments boolean whether to skip computation of the area moments. Set to true if only volume is needed. Default is false.

Returns - FacetProjectedVolumeSums

a structure with multiple sums:

  • volume: the sum of (signed) volumes between facets and the plane.
  • positiveProjectedFacetAreaMoments, negativeProjectedFacetAreaMoments: area moment data (centroid, signed area, and second moments with respect to the centroid), separately computed for the input facets that project with positive/negative area onto the plane.

Defined in

Last Updated: 27 June, 2025