CuttingPlane

wvc.CuttingPlane

Represents a cutting plane with its geometric and visual properties.

Defines a plane that can cut through 3D geometry, along with optional visual properties for rendering the plane’s reference geometry.

Properties

wvc.CuttingPlane.plane
plane: Plane

The mathematical plane definition (normal vector and distance).

wvc.CuttingPlane.color

optional

color: IColor

Optional face color for the plane’s visual representation (RGB values 0-1).

wvc.CuttingPlane.hideReferenceGeometry

optional

hideReferenceGeometry: boolean

Optional flag to hide the plane’s reference geometry.

wvc.CuttingPlane.lineColor

optional

lineColor: IColor

Optional line color for the plane’s edges (RGB values 0-1).

wvc.CuttingPlane.opacity

optional

opacity: number

Optional opacity value for the plane’s visual representation (0-1).

wvc.CuttingPlane.referenceGeometry

optional

referenceGeometry: Point3[]

Optional 3D vertices defining the visual representation of the plane.