C# Class DZAIO_Reborn.Helpers.Positioning.DZAIOGeometry

Class that contains the geometry related methods.
Show file Open project: DZ191/LeagueSharp

Public Methods

Method Description
ClipPolygons ( List polygons ) : System.Collections.Generic.List>
GetEnemyPoints ( bool dynamic = true ) : List
GetFirstWallPoint ( System.Vector3 start, System.Vector3 end ) : System.Vector3
GetWallLength ( System.Vector3 start, System.Vector3 end ) : float
IsOverWall ( System.Vector3 start, System.Vector3 end ) : bool
PositionAfter ( this self, int t, int speed, int delay ) : System.Vector2

Returns the position on the path after t milliseconds at speed speed.

SwitchYZ ( this v ) : System.Vector3
ToPolygon ( this v ) : Polygon
ToPolygons ( this v ) : List

Method Details

ClipPolygons() public static method

public static ClipPolygons ( List polygons ) : System.Collections.Generic.List>
polygons List
return System.Collections.Generic.List>

GetEnemyPoints() public static method

public static GetEnemyPoints ( bool dynamic = true ) : List
dynamic bool
return List

GetFirstWallPoint() public static method

public static GetFirstWallPoint ( System.Vector3 start, System.Vector3 end ) : System.Vector3
start System.Vector3
end System.Vector3
return System.Vector3

GetWallLength() public static method

public static GetWallLength ( System.Vector3 start, System.Vector3 end ) : float
start System.Vector3
end System.Vector3
return float

IsOverWall() public static method

public static IsOverWall ( System.Vector3 start, System.Vector3 end ) : bool
start System.Vector3
end System.Vector3
return bool

PositionAfter() public static method

Returns the position on the path after t milliseconds at speed speed.
public static PositionAfter ( this self, int t, int speed, int delay ) : System.Vector2
self this
t int
speed int
delay int
return System.Vector2

SwitchYZ() public static method

public static SwitchYZ ( this v ) : System.Vector3
v this
return System.Vector3

ToPolygon() public static method

public static ToPolygon ( this v ) : Polygon
v this
return Polygon

ToPolygons() public static method

public static ToPolygons ( this v ) : List
v this
return List