Class RnSideWalkEx
Inheritance
System.Object
RnSideWalkEx
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 RnSideWalkEx
Methods
CalcRoadProximityScore(RnSideWalk, RnRoadBase)
歩道swとotherの距離スコアを計算する(近いほど低い)
Declaration
public static float? CalcRoadProximityScore(this RnSideWalk self, RnRoadBase other)
Parameters
| Type | Name | Description |
|---|---|---|
| RnSideWalk | self | |
| RnRoadBase | other |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.Single> |
GetCentralVertex(RnSideWalk)
Declaration
public static Vector3 GetCentralVertex(this RnSideWalk self)
Parameters
| Type | Name | Description |
|---|---|---|
| RnSideWalk | self |
Returns
| Type | Description |
|---|---|
| Vector3 |
IsNeighboring(RnSideWalk, RnSideWalk)
selfとotherが隣接しているかどうか(境界線が重なっているかどうか)
Declaration
public static bool IsNeighboring(this RnSideWalk self, RnSideWalk other)
Parameters
| Type | Name | Description |
|---|---|---|
| RnSideWalk | self | |
| RnSideWalk | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |