CODLineComponent::CalcOrthogonalPoints
voidCODLineComponent::CalcOrthogonalPoints(CODPointArray&ptsOut, const CSize&szDirEndPt1, const CSize&szDirEndPt2)
Returns the set of points needed to connect the endpoints of the line using line segments that form 90 degree angles.
Defined in: OdLineComp.cpp
Return Value
void
Parameters
ptsOut
Array of points calculated.
szDirEndPt1
Direction of endpoint 1.
szDirEndPt2
Direction of endpoint 2.
Comments
This function calculates the set of points needed to connect the endpoints of the line using line segments that form 90 degree angles. The position of the two points with respect to each other and the direction of the endpoints determines the outcome.See Also