C# Class IrrlichtNETCP.Line2D

Show file Open project: Paulus/irrlichtnetcp Class Usage Examples

Public Properties

Property Type Description
End IrrlichtNETCP.Vector2D
Start IrrlichtNETCP.Vector2D

Public Methods

Method Description
Equals ( object o ) : bool
From ( float xMin, float yMin, float xMax, float yMax ) : Line2D
FromUnmanaged ( float b ) : Line2D
GetAngleWith ( Line2D l ) : double
GetClosestPoint ( IrrlichtNETCP.Vector2D point ) : IrrlichtNETCP.Vector2D
GetHashCode ( ) : int
GetIntersectionWithCircle ( IrrlichtNETCP.Vector2D sorigin, float sradius, double &outdistance ) : bool
GetPointOrientation ( IrrlichtNETCP.Vector2D point ) : float
IsPointBetweenStartAndEnd ( IrrlichtNETCP.Vector2D point ) : bool
IsPointOnLine ( IrrlichtNETCP.Vector2D point ) : bool
Line2D ( IrrlichtNETCP.Vector2D start, IrrlichtNETCP.Vector2D end ) : System
Line2D ( float sX, float sY, float eX, float eY ) : System
Set ( IrrlichtNETCP.Vector2D start, IrrlichtNETCP.Vector2D end ) : void
Set ( float sX, float sY, float eX, float eY ) : void
ToUnmanaged ( ) : float[]
intersectWith ( Line2D l, IrrlichtNETCP.Vector2D o ) : bool
operator ( ) : Line2D
operator ( ) : bool

Method Details

Equals() public method

public Equals ( object o ) : bool
o object
return bool

From() public static method

public static From ( float xMin, float yMin, float xMax, float yMax ) : Line2D
xMin float
yMin float
xMax float
yMax float
return Line2D

FromUnmanaged() public static method

public static FromUnmanaged ( float b ) : Line2D
b float
return Line2D

GetAngleWith() public method

public GetAngleWith ( Line2D l ) : double
l Line2D
return double

GetClosestPoint() public method

public GetClosestPoint ( IrrlichtNETCP.Vector2D point ) : IrrlichtNETCP.Vector2D
point IrrlichtNETCP.Vector2D
return IrrlichtNETCP.Vector2D

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetIntersectionWithCircle() public method

public GetIntersectionWithCircle ( IrrlichtNETCP.Vector2D sorigin, float sradius, double &outdistance ) : bool
sorigin IrrlichtNETCP.Vector2D
sradius float
outdistance double
return bool

GetPointOrientation() public method

public GetPointOrientation ( IrrlichtNETCP.Vector2D point ) : float
point IrrlichtNETCP.Vector2D
return float

IsPointBetweenStartAndEnd() public method

public IsPointBetweenStartAndEnd ( IrrlichtNETCP.Vector2D point ) : bool
point IrrlichtNETCP.Vector2D
return bool

IsPointOnLine() public method

public IsPointOnLine ( IrrlichtNETCP.Vector2D point ) : bool
point IrrlichtNETCP.Vector2D
return bool

Line2D() public method

public Line2D ( IrrlichtNETCP.Vector2D start, IrrlichtNETCP.Vector2D end ) : System
start IrrlichtNETCP.Vector2D
end IrrlichtNETCP.Vector2D
return System

Line2D() public method

public Line2D ( float sX, float sY, float eX, float eY ) : System
sX float
sY float
eX float
eY float
return System

Set() public method

public Set ( IrrlichtNETCP.Vector2D start, IrrlichtNETCP.Vector2D end ) : void
start IrrlichtNETCP.Vector2D
end IrrlichtNETCP.Vector2D
return void

Set() public method

public Set ( float sX, float sY, float eX, float eY ) : void
sX float
sY float
eX float
eY float
return void

ToUnmanaged() public method

public ToUnmanaged ( ) : float[]
return float[]

intersectWith() public method

public intersectWith ( Line2D l, IrrlichtNETCP.Vector2D o ) : bool
l Line2D
o IrrlichtNETCP.Vector2D
return bool

operator() public static method

public static operator ( ) : Line2D
return Line2D

operator() public static method

public static operator ( ) : bool
return bool

Property Details

End public property

public Vector2D,IrrlichtNETCP End
return IrrlichtNETCP.Vector2D

Start public property

public Vector2D,IrrlichtNETCP Start
return IrrlichtNETCP.Vector2D