Class RnRoadBaseEx
Inheritance
System.Object
RnRoadBaseEx
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 static class RnRoadBaseEx
Methods
GetAllLineStringsDistinct(RnRoadBase)
selfのすべてのLineStringを取得
Declaration
public static HashSet<RnLineString> GetAllLineStringsDistinct(this RnRoadBase self)
Parameters
| Type | Name | Description |
|---|---|---|
| RnRoadBase | self |
Returns
| Type | Description |
|---|---|
| HashSet<RnLineString> |
GetTargetTransName(RnRoadBase)
デバッグ表示用. TargetTransの名前を取得
Declaration
public static string GetTargetTransName(this RnRoadBase self)
Parameters
| Type | Name | Description |
|---|---|---|
| RnRoadBase | self |
Returns
| Type | Description |
|---|---|
| System.String |
MergeSamePointLineStrings(RnRoadBase)
self内で全く同じPointsを持つLineStringがあった場合統合する.
Declaration
public static void MergeSamePointLineStrings(this RnRoadBase self)
Parameters
| Type | Name | Description |
|---|---|---|
| RnRoadBase | self |
MergeSideWalks(RnRoadBase, List<RnSideWalk>)
selfにaddSideWalksを追加しようとする.境界線で繋がっている場合はLineStringが統合される
Declaration
public static void MergeSideWalks(this RnRoadBase self, List<RnSideWalk> addSideWalks)
Parameters
| Type | Name | Description |
|---|---|---|
| RnRoadBase | self | |
| List<RnSideWalk> | addSideWalks |
UnLinkEachOther(RnRoadBase, RnRoadBase)
相互に接続を解除する
Declaration
public static void UnLinkEachOther(this RnRoadBase self, RnRoadBase other)
Parameters
| Type | Name | Description |
|---|---|---|
| RnRoadBase | self | |
| RnRoadBase | other |