API Reference > FacetModeler Namespace > Classes > Segment2D Class > Segment2D Methods > set Method > Segment2D::set Method (OdGePoint2d&, OdGePoint2d&, OdGePoint2d&)
Segment2D::set Method (OdGePoint2d&, OdGePoint2d&, OdGePoint2d&)
Syntax
C++
Result set(const OdGePoint2d& ptA, const OdGePoint2d& ptB, const OdGePoint2d& ptIntermediate);
Parameters 
Description 
const OdGePoint2d& ptA 
[in] Start point.  
const OdGePoint2d& ptB 
[in] End point.  
const OdGePoint2d& ptIntermediate 
[in] Intermediate point.  

eOk if the update succeeded, or a corresponding error type otherwise.

Updates end points and calculates the bulge using the specified intermediate point. 

 

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