Class ARnPartsEx
Inheritance
System.Object
ARnPartsEx
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
Assembly: cs.temp.dll.dll
Syntax
public static class ARnPartsEx
Methods
GetDebugIdLabelOrDefault(RnWay)
Wayは内部のLineStringで比較することが多いのでIdもそっちを使う
Declaration
public static string GetDebugIdLabelOrDefault(this RnWay self)
Parameters
| Type | Name | Description |
|---|---|---|
| RnWay | self |
Returns
| Type | Description |
|---|---|
| System.String |
GetDebugLabelOrDefault(ARnPartsBase, String)
DebugIdにパーツタイプを表すプレフィックスを付与して返す
Declaration
public static string GetDebugLabelOrDefault(this ARnPartsBase self, string prefix = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ARnPartsBase | self | |
| System.String | prefix |
Returns
| Type | Description |
|---|---|
| System.String |
GetDebugMyIdOrDefault(ARnPartsBase)
self.DebugMyIdをlong型で取得. nullの場合は-1を返す
Declaration
public static long GetDebugMyIdOrDefault(this ARnPartsBase self)
Parameters
| Type | Name | Description |
|---|---|---|
| ARnPartsBase | self |
Returns
| Type | Description |
|---|---|
| System.Int64 |
GetDebugMyIdOrDefault(RnWay)
RnWayは内部のLineStringで比較する
Declaration
public static long GetDebugMyIdOrDefault(this RnWay self)
Parameters
| Type | Name | Description |
|---|---|---|
| RnWay | self |
Returns
| Type | Description |
|---|---|
| System.Int64 |