MeasureManager.measureMinimumDistance Method

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

Description

Measures the minimum distance between the two input geometries.

Syntax

"measureManager_var" is a variable referencing a MeasureManager object.
returnValue = measureManager_var.measureMinimumDistance(geometryOne, geometryTwo)
"measureManager_var" is a variable referencing a MeasureManager object.

#include <Core/Application/MeasureManager.h>

returnValue = measureManager_var->measureMinimumDistance(geometryOne, geometryTwo);

Return Value

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

Parameters

Name Type Description
geometryOne Base The first geometry to measure from. This can be an Occurrence, BRepBody, BRepFace, BRepEdge, BRepVertex, ConstructionPlane, ConstructionAxis, ConstructionPoint, and any sketch entity. The only temporary geometry supported is the Plane object.
geometryTwo Base The first geometry to measure from. This can be an Occurrence, BRepBody, BRepFace, BRepEdge, BRepVertex, ConstructionPlane, ConstructionAxis, ConstructionPoint, and any sketch entity. The only temporary geometry supported is the Plane object.

Samples

Name Description
Measure Sample Measure related functions

Version

Introduced in version December 2017