yucad3d

CadRPlanGetGrPoint

Returns the ground point of the road alignment (plan).

std::int32_t CadRPlanGetGrPoint ( YuHandle hRPlan, double Dist, double Offset, double* pX, double* pY, double* pZ );

Parameters

hRPlan (YuHandle)
Handle to the road alignment, as returned by CadAddRPlan.
Dist (double)
Distance / chainage along the object, in drawing units.
Offset (double)
Perpendicular offset from the reference line, in drawing units.
pX (double*)
Receives the coordinate (caller-supplied double*).
pY (double*)
Receives the coordinate (caller-supplied double*).
pZ (double*)
Receives the coordinate (caller-supplied double*).

Return Value

The ground point.

See Also