Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Protected Member Functions | List of all members
SCR_Rect2D Interface Reference

Public Member Functions

bool HasInside (SCR_Rect2D other)
 
bool HasInside (vector point)
 
bool Overlaps (SCR_Rect2D other)
 
vector GetCenter ()
 
float GetWidth ()
 
float GetHeight ()
 
SCR_Rect2D ExpandAllDirections (float delta)
 This rect will be expanded in all directions by given value.
 

Static Public Member Functions

static SCR_Rect2D FromPoints (vector lowerPoint, vector higherPoint)
 
static SCR_Rect2D FromPosAndSize (vector pos, vector size)
 
static SCR_Rect2D FromRect (SCR_Rect2D other)
 

Public Attributes

vector p0
 
vector p1
 

Static Protected Member Functions

static bool CheckIntervalIntersection (float aMin, float aMax, float bMin, float bMax)
 

Member Function Documentation

◆ CheckIntervalIntersection()

static bool SCR_Rect2D.CheckIntervalIntersection ( float  aMin,
float  aMax,
float  bMin,
float  bMax 
)
staticprotected

◆ ExpandAllDirections()

SCR_Rect2D SCR_Rect2D.ExpandAllDirections ( float  delta)

This rect will be expanded in all directions by given value.

◆ FromPoints()

static SCR_Rect2D SCR_Rect2D.FromPoints ( vector  lowerPoint,
vector  higherPoint 
)
static

◆ FromPosAndSize()

static SCR_Rect2D SCR_Rect2D.FromPosAndSize ( vector  pos,
vector  size 
)
static

◆ FromRect()

static SCR_Rect2D SCR_Rect2D.FromRect ( SCR_Rect2D  other)
static

◆ GetCenter()

vector SCR_Rect2D.GetCenter ( )

◆ GetHeight()

float SCR_Rect2D.GetHeight ( )

◆ GetWidth()

float SCR_Rect2D.GetWidth ( )

◆ HasInside() [1/2]

bool SCR_Rect2D.HasInside ( SCR_Rect2D  other)

◆ HasInside() [2/2]

bool SCR_Rect2D.HasInside ( vector  point)

◆ Overlaps()

bool SCR_Rect2D.Overlaps ( SCR_Rect2D  other)

Member Data Documentation

◆ p0

vector SCR_Rect2D.p0

◆ p1

vector SCR_Rect2D.p1

The documentation for this interface was generated from the following file: