API Reference > FacetModeler Namespace > Classes > Segment2D Class > Segment2D Methods > Segment2D::getPoint Method
Segment2D::getPoint Method
Syntax
C++
Result getPoint(double dParam, OdGePoint2d& ptPoint) const;
Parameters 
Description 
double dParam 
[in] Parameter of point on the segment.  
OdGePoint2d& ptPoint 
[out] Point on the segment.  

eOk if the point calculated successfully, or a corresponding error type otherwise.

Gets the point with the specified parameter. 

 

Point parameter in the range [ 0, 1 ].

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