Class VML
Namespace: SprutCAMTech.VecMatrLib
Assembly: SprutCAMTech.VecMatrLib.dll
Syntax
public static class VML : Object
Properties
GeWatch
Declaration
public static ISTGeWatchClient GeWatch { get; set; }
Property Value
Methods
CalcArcLength(T3DPoint, T3DPoint, T3DPoint, T3DPoint, double, bool)
Declaration
public static double CalcArcLength(T3DPoint P1, T3DPoint P2, T3DPoint Pc, T3DPoint Nc, double Rc, bool IsCircle)
Parameters
Returns
CalcUnitVecsAngle(T3DPoint, T3DPoint)
Declaration
public static double CalcUnitVecsAngle(T3DPoint v1, T3DPoint v2)
Parameters
Returns
CalcVecsAngle(T3DPoint, T3DPoint)
Declaration
public static double CalcVecsAngle(T3DPoint v1, T3DPoint v2)
Parameters
Returns
CalcVectorAngles(T3DPoint, int, int, out double, out double)
Declaration
public static bool CalcVectorAngles(T3DPoint vZ, int axis1, int axis2, out double ang1, out double ang2)
Parameters
Type |
Name |
Description |
T3DPoint |
vZ |
|
int |
axis1 |
|
int |
axis2 |
|
double |
ang1 |
|
double |
ang2 |
|
Returns
IsGeWatchAssigned(out ISTGeWatchClient)
Declaration
public static bool IsGeWatchAssigned(out ISTGeWatchClient gw)
Parameters
Returns
p2d(double, double)
Declaration
public static T2DPoint p2d(double X, double Y)
Parameters
Type |
Name |
Description |
double |
X |
|
double |
Y |
|
Returns
p3d(T2DPoint, double)
Declaration
public static T3DPoint p3d(T2DPoint p, double Z)
Parameters
Type |
Name |
Description |
T2DPoint |
p |
|
double |
Z |
|
Returns
p3d(double, double, double)
Declaration
public static T3DPoint p3d(double X, double Y, double Z)
Parameters
Type |
Name |
Description |
double |
X |
|
double |
Y |
|
double |
Z |
|
Returns
PointLineDist(T3DPoint, T3DPoint, T3DPoint)
Declaration
public static double PointLineDist(T3DPoint point, T3DPoint lineStartPoint, T3DPoint lineEndPoint)
Parameters
Returns
PointPlaneDist(T3DPoint, T3DPoint, T3DPoint)
Declaration
public static double PointPlaneDist(T3DPoint point, T3DPoint planePoint, T3DPoint planeNormal)
Parameters
Returns
PointRayDist(T3DPoint, T3DPoint, T3DPoint)
Declaration
public static double PointRayDist(T3DPoint point, T3DPoint rayStartPoint, T3DPoint rayDirectionVec)
Parameters
Returns
ProjectPointPlane(T3DPoint, T3DPoint, T3DPoint)
Declaration
public static T3DPoint ProjectPointPlane(T3DPoint point, T3DPoint planePoint, T3DPoint planeNormal)
Parameters
Returns
ProjectVectorOnPlane(T3DPoint, T3DPoint)
Declaration
public static T3DPoint ProjectVectorOnPlane(T3DPoint vector, T3DPoint planeNormal)
Parameters
Returns