Navigation: Code Documentation > RSVclCommon > RSGraphics > Classes > TRSPathData > Methods
TRSPathData.CalculateDistances Method
Calculates the distance to every point in the path. Returns the length of the path.
Note
It is recommended to Flatten the path before calling this method.
Namespace: RSGraphics
Delphi
protected function CalculateDistances: Double;
Return Value
Type: Double
•RSGraphics.TRSPathData.Flatten(Single)
•RSGraphics.TRSPathData.GetLength
•TRSPathData
•RSGraphics