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

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

Gets the arc center point, radius and angles. 

 

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