Public Member Functions | List of all members
MeasureManager Class Reference

MeasureManager Class
The commands in the MeasureManager class are described below.
. More...

Public Member Functions

double MeasureAngle (ReferenceObject *fromRef, ReferenceObject *centerRef, ReferenceObject *toRef)
 Measures the angle of the specified three points. More...
 
double MeasureDistance (ReferenceObject *fromRef, ReferenceObject *toRef)
 Measures the distance between the entities. More...
 
double MeasureDistanceFrom (double x, double y, double z, ReferenceObject *toRef)
 Measures the distance between the coordinates (x, y, z) and the entity. More...
 
double MeasureDistanceFromPoint (Point *p, ReferenceObject *toRef)
 Measures the distance between the point object and the entity. More...
 
double MeasurePointAngle (double x, double y, double z, ReferenceObject *fromRef, ReferenceObject *toRef)
 Measures the angle of the specified two points and center point. More...
 

Detailed Description

MeasureManager Class
The commands in the MeasureManager class are described below.
.

Member Function Documentation

double MeasureManager::MeasureAngle ( ReferenceObject fromRef,
ReferenceObject centerRef,
ReferenceObject toRef 
)

Measures the angle of the specified three points.

Parameters
fromRefReferenceObject object of start point
centerRefReferenceObject object of center point
toRefReferenceObject object of end point
Returns
Angle
double MeasureManager::MeasureDistance ( ReferenceObject fromRef,
ReferenceObject toRef 
)

Measures the distance between the entities.

Parameters
fromRefReferenceObject object
toRefReferenceObject object
Returns
Distance
double MeasureManager::MeasureDistanceFrom ( double  x,
double  y,
double  z,
ReferenceObject toRef 
)

Measures the distance between the coordinates (x, y, z) and the entity.

Parameters
xX-Coordinate
yY-Coordinate
zZ-Coordinate
toRefReferenceObject object
Returns
Distance
double MeasureManager::MeasureDistanceFromPoint ( Point p,
ReferenceObject toRef 
)

Measures the distance between the point object and the entity.

Parameters
pPoint object
toRefReferenceObject object
Returns
Distance
double MeasureManager::MeasurePointAngle ( double  x,
double  y,
double  z,
ReferenceObject fromRef,
ReferenceObject toRef 
)

Measures the angle of the specified two points and center point.

Parameters
xX-coordinate of the center point
yY-coordinate of the center point
zZ-coordinate of the center point
fromRefReferenceObject object of start point
toRefReferenceObject object of end point
Returns
Angle