Construction parameters for a single AngleMeasurement.

An angle measurement has three world-space anchors. The angle is computed at corner, between the two arms running to origin and target.

interface AngleMeasurementParams {
    color?: string;
    corner: Vec3;
    id?: string;
    labelsVisible?: boolean;
    origin: Vec3;
    target: Vec3;
    visible?: boolean;
    wireVisible?: boolean;
}

Properties

color?: string

CSS color for the arm wires and the angle-label background. Default "#9C27B0" (purple) to distinguish from DistanceMeasurement's default orange.

corner: Vec3

World-space anchor at the vertex of the angle — both arms radiate from this point.

id?: string

Optional id. If omitted, the tool assigns one (numeric, monotonic).

labelsVisible?: boolean

If false, hide the numeric angle label rendered next to the corner. Default true.

origin: Vec3

World-space anchor at one end of the first arm.

target: Vec3

World-space anchor at the end of the second arm.

visible?: boolean

If false, the measurement is created hidden. Default true.

wireVisible?: boolean

If false, hide the two arm wires (origin→corner and corner→target). The dots and angle label keep their own visibility flags. Default true.