MeasureManager.measureMinimumDistance Method
Parent Object:
MeasureManagerDefined 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
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
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
Version
Introduced in version December 2017