Share

AcGeLineSeg2d Constructor

Overload List

Method Description
AcGeLineSeg2d::AcGeLineSeg2d () Default constructor. Constructs a line segment between (0,0) and (1,0).
AcGeLineSeg2d::AcGeLineSeg2d (AcGeLineSeg2d&) Constructs a 2D line segment that is a copy of the input line segment.
AcGeLineSeg2d::AcGeLineSeg2d (AcGeLineSeg2d&&) Move constructor.
AcGeLineSeg2d::AcGeLineSeg2d (AcGePoint2d&, AcGePoint2d&) Constructs a line segment between pnt1 and pnt2. pnt1 and pnt2 must not be the same point.
AcGeLineSeg2d::AcGeLineSeg2d (AcGePoint2d&, AcGeVector2d&) Constructs a line segment whose start point is pnt and whose endpoint is pnt+vec. vec must not be a zero-length vector.

Was this information helpful?