SegmentVector
Returns the vector [x2 - x1, y2 - y1].
Syntax
C++
Python
def SegmentVector(
inSegment: Segment2D,
/
)
-> outVector: Vector2D
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inSegment | Segment2D | ||
![]() |
outVector | Vector2D |
Returns the vector [x2 - x1, y2 - y1].
def SegmentVector(
inSegment: Segment2D,
/
)
-> outVector: Vector2D
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inSegment | Segment2D | ||
![]() |
outVector | Vector2D |