LineSegment
The LineSegment
class represents a line segment in 2D space. It contains two Point
objects, which represent the start point and end point of the line segment.
Definition
Module: dynamsoft_core
class LineSegment
Properties
Attribute | Type | Description |
---|---|---|
start_point |
Point | The start point of the line segment. |
end_point |
Point | The end point of the line segment. |
Methods
Method | Description |
---|---|
__init__ |
Initializes a new instance of the LineSegment class. |
__init__
Initializes a new instance of the LineSegment
class.
def __init__(self):