C# Class Terra.Geometry.Edge

Inheritance: ILabelled
显示文件 Open project: WCell/WCell-Terrain Class Usage Examples

Public Methods

Method Description
Delete ( ) : void
Edge ( ) : System
IsLeftOf ( System.Vector2 p, Edge e ) : bool
IsRightOf ( System.Vector2 p, Edge e ) : bool
SetEndPoints ( System.Vector2 orig, System.Vector2 dest ) : void
Splice ( Edge a, Edge b ) : void
ToString ( ) : string

Private Methods

Method Description
Edge ( Edge prev ) : System

Method Details

Delete() public method

public Delete ( ) : void
return void

Edge() public method

public Edge ( ) : System
return System

IsLeftOf() public static method

public static IsLeftOf ( System.Vector2 p, Edge e ) : bool
p System.Vector2
e Edge
return bool

IsRightOf() public static method

public static IsRightOf ( System.Vector2 p, Edge e ) : bool
p System.Vector2
e Edge
return bool

SetEndPoints() public method

public SetEndPoints ( System.Vector2 orig, System.Vector2 dest ) : void
orig System.Vector2
dest System.Vector2
return void

Splice() public static method

public static Splice ( Edge a, Edge b ) : void
a Edge
b Edge
return void

ToString() public method

public ToString ( ) : string
return string