C# Class Section, SumoVizUnity_ModSem

Show file Open project: benjaminaaron/SumoVizUnity_ModSem Class Usage Examples

Public Methods

Method Description
Section ( int id, Type type, Vector3 sectionStartCoord, Vector3 sectionEndCoord, float velocReducer, float s_upToHere, float s_inSection ) : System
ToString ( ) : string
calcAccel ( ) : void
calcTinSection ( float v_max ) : void
check ( ) : string
getCoordAtT ( float absoluteTime ) : Vector3
getFormulaContrib ( ) : float
getTinSection ( ) : float
setTinSection ( float t_inSection ) : void
setTupToHere ( float t_upToHere ) : void
thatsMe ( float time ) : bool

Method Details

Section() public method

public Section ( int id, Type type, Vector3 sectionStartCoord, Vector3 sectionEndCoord, float velocReducer, float s_upToHere, float s_inSection ) : System
id int
type Type
sectionStartCoord Vector3
sectionEndCoord Vector3
velocReducer float
s_upToHere float
s_inSection float
return System

ToString() public method

public ToString ( ) : string
return string

calcAccel() public method

public calcAccel ( ) : void
return void

calcTinSection() public method

public calcTinSection ( float v_max ) : void
v_max float
return void

check() public method

public check ( ) : string
return string

getCoordAtT() public method

public getCoordAtT ( float absoluteTime ) : Vector3
absoluteTime float
return Vector3

getFormulaContrib() public method

public getFormulaContrib ( ) : float
return float

getTinSection() public method

public getTinSection ( ) : float
return float

setTinSection() public method

public setTinSection ( float t_inSection ) : void
t_inSection float
return void

setTupToHere() public method

public setTupToHere ( float t_upToHere ) : void
t_upToHere float
return void

thatsMe() public method

public thatsMe ( float time ) : bool
time float
return bool