Class AutoRouter.PathDescriptor
Describe the Path layout and the state variables during routing
Namespace: Mechatronics.SystemGraph
Syntax
public class PathDescriptor
Fields
area
Area occupied by the route
Declaration
public Rect area
Field Value
| Type | Description |
|---|---|
| Rect |
fromPort
Coordinate of the source port
Declaration
public Vector2 fromPort
Field Value
| Type | Description |
|---|---|
| Vector2 |
length
Length of the route
Declaration
public float length
Field Value
| Type | Description |
|---|---|
| Single |
nodeRects
Obstacle rectangles used during auto routing process
Declaration
public List<Rect> nodeRects
Field Value
| Type | Description |
|---|---|
| List<Rect> |
p1
Control point 1
Declaration
public Vector2 p1
Field Value
| Type | Description |
|---|---|
| Vector2 |
p2
Control point 2
Declaration
public Vector2 p2
Field Value
| Type | Description |
|---|---|
| Vector2 |
p3
Control point 3
Declaration
public Vector2 p3
Field Value
| Type | Description |
|---|---|
| Vector2 |
p4
Control point 4
Declaration
public Vector2 p4
Field Value
| Type | Description |
|---|---|
| Vector2 |
points
Points of the route
Declaration
public List<Vector2> points
Field Value
| Type | Description |
|---|---|
| List<Vector2> |
toPort
Coordinate of the target port
Declaration
public Vector2 toPort
Field Value
| Type | Description |
|---|---|
| Vector2 |