API Reference > FacetModeler Namespace > Classes > Segment2D Class > Segment2D Methods > Segment2D::getCircleData Method
Segment2D::getCircleData Method
Syntax
C++
Result getCircleData(OdGePoint2d& ptCenter, double& dRadius) const;
Parameters 
Description 
OdGePoint2d& ptCenter 
[out] Center of the circular arc.  
double& dRadius 
[out] Radius of the circular arc.  

eOk if the arc is circular, or a corresponding error type otherwise.

Gets the arc radius and center point. 

 

Only works for arc segments.

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