MeasureManager.measureAngle Method

Parent Object: MeasureManager
Defined in namespace "adsk::core" and the header file is <Core/Application/MeasureManager.h>

Description

Measures the angle between the input geometry.

Syntax

"measureManager_var" is a variable referencing a MeasureManager object.
# Uses no optional arguments.
returnValue = measureManager_var.measureAngle(geometryOne, geometryTwo)

# Uses optional arguments.
returnValue = measureManager_var.measureAngle(geometryOne, geometryTwo, geometryThree)
"measureManager_var" is a variable referencing a MeasureManager object.

#include <Core/Application/MeasureManager.h>

// Uses no optional arguments.
returnValue = measureManager_var->measureAngle(geometryOne, geometryTwo);

// Uses optional arguments.
returnValue = measureManager_var->measureAngle(geometryOne, geometryTwo, geometryThree);

Return Value

Type Description
MeasureResults A MeasureResults object that contains the angle and the two points on the geometry that the angle that was measured between them in radians.

Parameters

Name Type Description
geometryOne Base The first geometry to measure the angle to. This can be any 3D point geometry (Construction Point, Vertex, SketchPoint, or Point3D), any 3D linear geometry (Construction Axis, linear BRepEdge, SketchLine, Line3D, or InfiniteLine3D), or any planar geometry (Construction Plane, planar BRepFace, or Plane).
geometryTwo Base The second geometry to measure the angle to. This can be any 3D point geometry (Construction Point, Vertex, SketchPoint, or Point3D), any 3D linear geometry (Construction Axis, linear BRepEdge, SketchLine, Line3D, or InfiniteLine3D), or any planar geometry (Construction Plane, planar BRepFace, or Plane).
geometryThree Base The optional third geometry to measure the angle to. This is only used when the first two geometries are points and this defines the third point. When three points define a triangle, the apex of the triangle is defined by the second point. A point can be defined by a Construction Point, Vertex, SketchPoint, or Point3D object.

This is an optional argument whose default value is null.

Samples

Name Description
Measure Sample Measure related functions

Version

Introduced in version December 2017