BetweenMeasurementResult#
Interface BetweenMeasurementResult
interface BetweenMeasurementResult {
angle?: number;
distance: number;
intersection?: MeasurementTarget[];
points: [Vector3, Vector3];
targets?: [MeasurementTarget, MeasurementTarget];
}
angle?: number;
distance: number;
intersection?: MeasurementTarget[];
points: [Vector3, Vector3];
targets?: [MeasurementTarget, MeasurementTarget];
}
Index
Properties
Properties
Optionalangle
angle?: number
The angle between the two measurement targets if applicable.
distance
distance: number
The distance between the two measurement targets.
- If the two measurement targets intersect the distance is zero.
Optionalintersection
The intersection of the two measurement targets, if existent. Note that the intersection is not available for all MeasurementTargetClass combinations. For details, see the documentation of measureBetween.
points
The two 3D points used to calculate the distance.
- If the two measurement targets intersect the two points are equal.
- If the two measurement targets intersect and both are from the class MeasurementTargetClass.PLANE the two points are used to describe the intersection line.
Optionaltargets
The most specific measurement targets used for the minimal distance calculation, in the same order as points. If a target was passed as a Shape or Node, the entry is the resolved face or edge (class TOPOLOGY). Otherwise, it is the target passed to measureBetween.
The result of a distance and angle measurement between two MeasurementTargets.
See