BetweenMeasurementResult

Type Alias BetweenMeasurementResult

BetweenMeasurementResult: {
    angle?: number;
    distance: number;
    intersection?: MeasurementTarget[];
    points: [[number, number, number], [number, number, number]];
}

The result of a distance and angle measurement between two MeasurementTargets.

Type declaration

  • Optionalangle?: number

    The angle between the two measurement targets if applicable.

  • distance: number

    The distance between the two measurement targets.

    • If the two measurement targets intersect the distance is zero.
  • Optionalintersection?: MeasurementTarget[]

    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: [[number, number, number], [number, number, number]]

    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.

Did you find this page useful? Please give it a rating:
Thank you for rating this page!
Any issues or feedback?
What kind of problem would you like to report?
Please tell us more about what's wrong: