C# 클래스 Transit.Addon.RoadExtensions.Roads.Common.RoadHelper

파일 보기 프로젝트 열기: Katalyst6/CSL.TransitAddonMod 1 사용 예제들

공개 메소드들

메소드 설명
AddLeftWallLights ( this props, float pavementWidth ) : void
AddProps ( this props, ICollection propsToAdd ) : void
AddRightWallLights ( this props, float pavementWidth ) : void
GetLeftRoadShoulder ( this info ) : NetInfo.Lane
GetMedianLane ( this info ) : NetInfo.Lane
GetRightRoadShoulder ( this info ) : NetInfo.Lane
HandleAsymComplementarySegmentsFlags ( NetInfo fSegment, NetInfo bSegment, LanesLayoutStyle lanesLayoutStyle ) : void
HandleAsymSegmentFlags ( this segment, LanesLayoutStyle asymLaneType ) : void
RemoveProps ( this props ) : void
ReplacePropInfo ( this props, PropInfo>.KeyValuePair replacementPair ) : void

Replaces a prop whose name is contained in the key with the propinfo in the value.

ReplaceProps ( this info, PropInfo newPropInfo, PropInfo oldPropInfo ) : void
SetRoadLanes ( this rdInfo, NetInfoVersion version, LanesConfiguration config ) : NetInfo
SetupNewSpeedLimitProps ( this info, int newSpeedLimit, int oldSpeedLimit ) : void
SetupPedestrianLanes ( this rdInfo, NetInfoVersion version, LanesConfiguration config ) : IEnumerable
TrimAboveGroundProps ( this info, NetInfoVersion version, bool removeRightStreetLights = false, bool removeLeftStreetLights = false ) : void
TrimArrowsProps ( this info ) : void

비공개 메소드들

메소드 설명
SetupMedianLane ( this lane, LanesConfiguration config, NetInfoVersion version ) : NetInfo.Lane
SetupParkingLanes ( this rdInfo ) : IEnumerable
SetupTurningLaneProps ( NetInfo lane ) : void
SetupVehicleLanes ( this rdInfo, NetInfoVersion version, LanesConfiguration config ) : IEnumerable

메소드 상세

AddLeftWallLights() 공개 정적인 메소드

public static AddLeftWallLights ( this props, float pavementWidth ) : void
props this
pavementWidth float
리턴 void

AddProps() 공개 정적인 메소드

public static AddProps ( this props, ICollection propsToAdd ) : void
props this
propsToAdd ICollection
리턴 void

AddRightWallLights() 공개 정적인 메소드

public static AddRightWallLights ( this props, float pavementWidth ) : void
props this
pavementWidth float
리턴 void

GetLeftRoadShoulder() 공개 정적인 메소드

public static GetLeftRoadShoulder ( this info ) : NetInfo.Lane
info this
리턴 NetInfo.Lane

GetMedianLane() 공개 정적인 메소드

public static GetMedianLane ( this info ) : NetInfo.Lane
info this
리턴 NetInfo.Lane

GetRightRoadShoulder() 공개 정적인 메소드

public static GetRightRoadShoulder ( this info ) : NetInfo.Lane
info this
리턴 NetInfo.Lane

HandleAsymComplementarySegmentsFlags() 공개 정적인 메소드

public static HandleAsymComplementarySegmentsFlags ( NetInfo fSegment, NetInfo bSegment, LanesLayoutStyle lanesLayoutStyle ) : void
fSegment NetInfo
bSegment NetInfo
lanesLayoutStyle LanesLayoutStyle
리턴 void

HandleAsymSegmentFlags() 공개 정적인 메소드

public static HandleAsymSegmentFlags ( this segment, LanesLayoutStyle asymLaneType ) : void
segment this
asymLaneType LanesLayoutStyle
리턴 void

RemoveProps() 공개 정적인 메소드

public static RemoveProps ( this props ) : void
props this
리턴 void

ReplacePropInfo() 공개 정적인 메소드

Replaces a prop whose name is contained in the key with the propinfo in the value.
public static ReplacePropInfo ( this props, PropInfo>.KeyValuePair replacementPair ) : void
props this
replacementPair PropInfo>.KeyValuePair
리턴 void

ReplaceProps() 공개 정적인 메소드

public static ReplaceProps ( this info, PropInfo newPropInfo, PropInfo oldPropInfo ) : void
info this
newPropInfo PropInfo
oldPropInfo PropInfo
리턴 void

SetRoadLanes() 공개 정적인 메소드

public static SetRoadLanes ( this rdInfo, NetInfoVersion version, LanesConfiguration config ) : NetInfo
rdInfo this
version NetInfoVersion
config LanesConfiguration
리턴 NetInfo

SetupNewSpeedLimitProps() 공개 정적인 메소드

public static SetupNewSpeedLimitProps ( this info, int newSpeedLimit, int oldSpeedLimit ) : void
info this
newSpeedLimit int
oldSpeedLimit int
리턴 void

SetupPedestrianLanes() 공개 정적인 메소드

public static SetupPedestrianLanes ( this rdInfo, NetInfoVersion version, LanesConfiguration config ) : IEnumerable
rdInfo this
version NetInfoVersion
config LanesConfiguration
리턴 IEnumerable

TrimAboveGroundProps() 공개 정적인 메소드

public static TrimAboveGroundProps ( this info, NetInfoVersion version, bool removeRightStreetLights = false, bool removeLeftStreetLights = false ) : void
info this
version NetInfoVersion
removeRightStreetLights bool
removeLeftStreetLights bool
리턴 void

TrimArrowsProps() 공개 정적인 메소드

public static TrimArrowsProps ( this info ) : void
info this
리턴 void