API Reference > OdGe Classes > OdGeLineSeg2d Class > OdGeLineSeg2d Methods > OdGeLineSeg2d::baryComb Method
OdGeLineSeg2d::baryComb Method
Syntax
C++
OdGePoint2d baryComb(double blendCoeff) const;
Parameters 
Description 
double blendCoeff 
[in] Blend coefficient. 

An instance of the OdGePoint2d class.

Returns the weighted average of the start point and end point of this line segment. 

 

blendCoeff 
Returns 
Start point 
End point 
0 to 1 
Point on this line segment 
< 0 or > 1 
Point not on this line segment, but collinear with it 
Copyright © 2002–2022. Open Design Alliance. All rights reserved.