C# Class SectorTess.Seg, DarkForcesUnity

Show file Open project: joeriedel/DarkForcesUnity

Public Properties

Property Type Description
A Vector2
B Vector2
D float
DA float
DB float
DBmDA float
IdxA int
IdxB int
LN Vector2
N Vector2
WallIdx int

Public Methods

Method Description
Distance ( Vector2 p ) : float
Flip ( ) : void
InBack ( Vector2 p ) : bool
InFront ( Vector2 p ) : bool
Intersects ( Seg other ) : bool
IsPointOnLine ( Vector2 p ) : bool
Seg ( LEV, sector, int a, int b, int wallIdx ) : System.Collections.Generic
SharesVertex ( Seg other ) : bool

Method Details

Distance() public method

public Distance ( Vector2 p ) : float
p Vector2
return float

Flip() public method

public Flip ( ) : void
return void

InBack() public method

public InBack ( Vector2 p ) : bool
p Vector2
return bool

InFront() public method

public InFront ( Vector2 p ) : bool
p Vector2
return bool

Intersects() public method

public Intersects ( Seg other ) : bool
other Seg
return bool

IsPointOnLine() public method

public IsPointOnLine ( Vector2 p ) : bool
p Vector2
return bool

Seg() public method

public Seg ( LEV, sector, int a, int b, int wallIdx ) : System.Collections.Generic
sector LEV,
a int
b int
wallIdx int
return System.Collections.Generic

SharesVertex() public method

public SharesVertex ( Seg other ) : bool
other Seg
return bool

Property Details

A public property

public Vector2 A
return Vector2

B public property

public Vector2 B
return Vector2

D public property

public float D
return float

DA public property

public float DA
return float

DB public property

public float DB
return float

DBmDA public property

public float DBmDA
return float

IdxA public property

public int IdxA
return int

IdxB public property

public int IdxB
return int

LN public property

public Vector2 LN
return Vector2

N public property

public Vector2 N
return Vector2

WallIdx public property

public int WallIdx
return int