Hide menu
Loading...
Searching...
No Matches
PlaneSection

Computes shape or mesh section by a plane.

The algorithm supports triangle, polyline, and point primitives and traverses BVH when available or beneficial for selected primitive ranges.

Methods

compute()

static compute(shape, plane, transformation?): PlaneSectionData

Intersects shape or mesh shape with a plane.

Parameters

shape

MeshShape | Shape

Shape or mesh shape to intersect.

plane

Plane

Section plane.

transformation?

Transformation | null

Optional transformation applied to input primitives.

Returns

PlaneSectionData