yucad3d

CadRPlanGenLevels

GenLevels generates contour lines from the ground sections and hands each to pFunc.

void CadRPlanGenLevels ( YuHandle hRPlan, double Precision, double ZStep, double ZStepBold, void* pFunc );

Parameters

hRPlan (YuHandle)
Handle to the road alignment, as returned by CadAddRPlan.
Precision (double)
Computation precision / step, in drawing units.
ZStep (double)
Numeric value (double precision).
ZStepBold (double)
Numeric value (double precision).
pFunc (void*)
Address of the host callback (__stdcall; pass NULL to unregister). The prototype must match the event exactly.

Return Value

None.

Remarks

The callback signature is undocumented in the CHM; firing it with a guessed prototype would corrupt the host stack, so this validates the request but does not invoke the unknown callback (the ABI export exists; wiring lands once the pFunc prototype is ground-truthed).

See Also