yucad3d

CadRPlanGetDist

Returns the dist of the road alignment (plan).

std::int32_t CadRPlanGetDist ( YuHandle hRPlan, double X, double Y, double* pDist, double* pOffset );

Parameters

hRPlan (YuHandle)
Handle to the road alignment, as returned by CadAddRPlan.
X (double)
World coordinate.
Y (double)
World coordinate.
pDist (double*)
Caller-supplied output pointer.
pOffset (double*)
Caller-supplied output pointer.

Return Value

The dist.

See Also