CLineSegment
The CLineSegment
class represents a line segment in 2D space. It contains two CPoint objects, which represent the start point and end point of the line segment.
Definition
Namespace: dynamsoft::basic_structures
Assembly: DynamsoftCore
class CLineSegment
Methods Summary
Method | Description |
---|---|
GetStartPoint |
Gets the start point of the line segment. |
GetEndPoint |
Gets the end point of the line segment. |
SetStartPoint |
Sets the start point of the line segment. |
SetEndPoint |
Sets the end point of the line segment. |
GetStartPoint
Gets the start point of the line segment.
const CPoint& GetStartPoint() const
Return Value
Returns the start point of the line segment.
See Also
GetEndPoint
Gets the end point of the line segment.
const CPoint& GetEndPoint() const
Return Value
Returns the end point of the line segment.
See Also
SetStartPoint
Sets the start point of the line segment.
void SetStartPoint(const CPoint& pt)
Parameters
[in] pt
: The start point of the line segment.
See Also
SetEndPoint
Sets the end point of the line segment.
void SetEndPoint(const CPoint& pt)
Parameters
[in] pt
: The end point of the line segment.
See Also