SelectedFace

wvc.SelectedFace

Represents a selected face in the 3D model for cutting plane creation.

Contains the geometric information needed to create a cutting plane based on a user’s face selection in the 3D viewer.

Examples

const selectedFace: SelectedFace = {
  normal: new Point3(0, 1, 0),     // Face points upward
  position: new Point3(10, 5, 15)  // Point on the face
};

Index

Properties

Properties

wvc.SelectedFace.normal
normal: Point3

The normal vector of the selected face.

wvc.SelectedFace.position
position: Point3

A position point on the selected face surface.