yucad3d

CadPlineGetNearPoint

Returns the near point of the polyline.

double CadPlineGetNearPoint ( YuHandle hEnt, double X, double Y, double Z, double* pX, double* pY, double* pZ, double* pDist );

Parameters

hEnt (YuHandle)
Handle to the entity.
X (double)
World coordinate.
Y (double)
World coordinate.
Z (double)
World coordinate.
pX (double*)
Receives the coordinate (caller-supplied double*).
pY (double*)
Receives the coordinate (caller-supplied double*).
pZ (double*)
Receives the coordinate (caller-supplied double*).
pDist (double*)
Caller-supplied output pointer.

Return Value

The near point.

See Also