API Reference > FacetModeler Namespace > Classes > Segment2D Class > Segment2D Constructor > Segment2D::Segment2D Constructor (OdGePoint2d&, OdGePoint2d&, OdGePoint2d&)
Segment2D::Segment2D Constructor (OdGePoint2d&, OdGePoint2d&, OdGePoint2d&)
Syntax
C++
Segment2D(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. 

Constructor. Creates a segment object using three points. 

 

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