Class RnTrack
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: PLATEAU.RoadNetwork.Structure
Assembly: cs.temp.dll.dll
Syntax
public class RnTrack : ARnParts<RnTrack>
Constructors
RnTrack()
Declaration
public RnTrack()
RnTrack(RnWay, RnWay, Spline, RnTurnType)
Declaration
public RnTrack(RnWay from, RnWay to, Spline spline, RnTurnType turnType = RnTurnType.Straight)
Parameters
| Type | Name | Description |
|---|---|---|
| RnWay | from | |
| RnWay | to | |
| Spline | spline | |
| RnTurnType | turnType |
Properties
FromBorder
流入元
Declaration
public RnWay FromBorder { get; set; }
Property Value
| Type | Description |
|---|---|
| RnWay |
Spline
経路
Declaration
public Spline Spline { get; set; }
Property Value
| Type | Description |
|---|---|
| Spline |
ToBorder
流出先
Declaration
public RnWay ToBorder { get; set; }
Property Value
| Type | Description |
|---|---|
| RnWay |
TurnType
曲がり具合
Declaration
public RnTurnType TurnType { get; set; }
Property Value
| Type | Description |
|---|---|
| RnTurnType |
Methods
ContainsBorder(RnWay)
FromBorderもしくはToBorderがwayと同じかどうか
Declaration
public bool ContainsBorder(RnWay way)
Parameters
| Type | Name | Description |
|---|---|---|
| RnWay | way |
Returns
| Type | Description |
|---|---|
| System.Boolean |
IsSameInOut(RnTrack)
入口/出口が同じかどうか
Declaration
public bool IsSameInOut(RnTrack other)
Parameters
| Type | Name | Description |
|---|---|---|
| RnTrack | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
IsSameInOut(RnWay, RnWay)
入口/出口が同じかどうか
Declaration
public bool IsSameInOut(RnWay from, RnWay to)
Parameters
| Type | Name | Description |
|---|---|---|
| RnWay | from | |
| RnWay | to |
Returns
| Type | Description |
|---|---|
| System.Boolean |