API Reference > FacetModeler Namespace > Classes > Contour2D Class > Contour2D Methods > Contour2D::getNormalizedDist Method
Contour2D::getNormalizedDist Method
Syntax
C++
Result getNormalizedDist(double& dDist) const;
Parameters 
Description 
double& dDist 
[in/out] Distance to normalize.  

eOk if dParam is valid, or a corresponding error type otherwise.

Converts a distance to the [0, length] range. 

 

Works for closed contours.

Copyright © 2002-2020. Open Design Alliance. All rights reserved.