C# Class SectorTess.Seg, DarkForcesUnity

显示文件 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_oe property

public Vector2 A
return Vector2

B public_oe property

public Vector2 B
return Vector2

D public_oe property

public float D
return float

DA public_oe property

public float DA
return float

DB public_oe property

public float DB
return float

DBmDA public_oe property

public float DBmDA
return float

IdxA public_oe property

public int IdxA
return int

IdxB public_oe property

public int IdxB
return int

LN public_oe property

public Vector2 LN
return Vector2

N public_oe property

public Vector2 N
return Vector2

WallIdx public_oe property

public int WallIdx
return int