Share

AcGeLineSeg3d::baryComb

C++

GE_DLLEXPIMPORT AcGePoint3d baryComb(
    double blendCoeff
) const;

Description

Returns the point that is the weighted average of the start and endpoints of the line segment. If blendCoeff is 0, this function returns the start point of the line segment. If blendCoeff is 1, this function returns the endpoint of the line segment. If blendCoeff is 0.5, this function returns the midpoint of the line segment. If blendCoeff is between 0 and 1, the returned point lies on the line segment. Otherwise the returned point does not lie on the line segment, but lies on the unbounded line that is coincident with the line segment.

Parameters

Parameters Description
blendCoeff Input any real number

Links

AcGeLineSeg3d

Was this information helpful?