API Reference > FacetModeler Namespace > Classes > Segment2D Class > Segment2D Methods > set Method > Segment2D::set Method (OdGePoint2d&, OdGePoint2d&, double, OdIntPtr, OdUInt32)
Segment2D::set Method (OdGePoint2d&, OdGePoint2d&, double, OdIntPtr, OdUInt32)
Syntax
C++
Result set(const OdGePoint2d& ptA, const OdGePoint2d& ptB, double dBulge = 0.0, OdIntPtr iMetaData = 0, OdUInt32 iRawFlags = 0);
Parameters 
Description 
const OdGePoint2d& ptA 
[in] Start point.  
const OdGePoint2d& ptB 
[in] End point.  
double dBulge = 0.0 
[in] (Optional) Bulge value.  
uMetaData 
[in] (Optional) Metadata attribute.  
uRawFlags 
[in] (Optional) Flags as raw OdUInt32 value.  

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

Updates the object with the specified start point, end point, bulge, metadata and flags. 

 

Bulge value = tan(angle/4).

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