Method | Description | |
---|---|---|
GetOther ( RoadPoint, main ) : RoadPoint, |
get other segment point given one of them
|
|
GetVector3 ( bool first ) : Vector3 |
convert Vector2 roadpoint position to Vector3
|
|
IsEqual ( RoadSegment, segment ) : bool |
Determines whether this instance is equal the specified segment.
|
|
RoadSegment ( RoadPoint, a, RoadPoint, b, int level ) : System.Collections | ||
SegmentLength ( ) : float |
public GetOther ( RoadPoint, main ) : RoadPoint, | ||
main | RoadPoint, | |
return | RoadPoint, |
public GetVector3 ( bool first ) : Vector3 | ||
first | bool | first or second point return? |
return | Vector3 |
public IsEqual ( RoadSegment, segment ) : bool | ||
segment | RoadSegment, | Segment. |
return | bool |
public RoadSegment ( RoadPoint, a, RoadPoint, b, int level ) : System.Collections | ||
a | RoadPoint, | |
b | RoadPoint, | |
level | int | |
return | System.Collections |