Jypeli 10
The simple game programming library
AdvanceMath.Geometry2D.BoundingRectangle tietuereferenssi
Luokan AdvanceMath.Geometry2D.BoundingRectangle luokkakaavio

Julkiset jäsenfunktiot

 BoundingRectangle (Scalar minX, Scalar minY, Scalar maxX, Scalar maxY)
 Creates a new BoundingRectangle Instance. Lisää...
 
 BoundingRectangle (Vector2D min, Vector2D max)
 Creates a new BoundingRectangle Instance from 2 Vector2Ds. Lisää...
 
ContainmentType Contains (BoundingCircle circle)
 
ContainmentType Contains (BoundingPolygon polygon)
 
ContainmentType Contains (BoundingRectangle rect)
 
void Contains (ref BoundingCircle circle, out ContainmentType result)
 
void Contains (ref BoundingPolygon polygon, out ContainmentType result)
 
void Contains (ref BoundingRectangle rect, out ContainmentType result)
 
void Contains (ref Vector2D point, out ContainmentType result)
 
ContainmentType Contains (Vector2D point)
 
Vector2D[] Corners ()
 
bool Equals (BoundingRectangle other)
 
override bool Equals (object obj)
 
void GetDistance (ref Vector2D point, out Scalar result)
 
Scalar GetDistance (Vector2D point)
 
override int GetHashCode ()
 
bool Intersects (BoundingCircle circle)
 
bool Intersects (BoundingPolygon polygon)
 
bool Intersects (BoundingRectangle rect)
 
bool Intersects (Line line)
 
Scalar Intersects (Ray ray)
 
void Intersects (ref BoundingCircle circle, out bool result)
 
void Intersects (ref BoundingPolygon polygon, out bool result)
 
void Intersects (ref BoundingRectangle rect, out bool result)
 
void Intersects (ref Line line, out bool result)
 
void Intersects (ref Ray ray, out Scalar result)
 
override string ToString ()
 

Staattiset julkiset jäsenfunktiot

static bool Equals (BoundingRectangle rect1, BoundingRectangle rect2)
 
static bool Equals (ref BoundingRectangle rect1, ref BoundingRectangle rect2)
 
static BoundingRectangle FromCircle (BoundingCircle circle)
 
static BoundingRectangle FromCircle (Matrix2x3 matrix, Scalar radius)
 
static void FromCircle (ref BoundingCircle circle, out BoundingRectangle result)
 
static void FromCircle (ref Matrix2x3 matrix, ref Scalar radius, out BoundingRectangle result)
 
static BoundingRectangle FromIntersection (BoundingRectangle first, BoundingRectangle second)
 Makes a BoundingRectangle that contains the area where the BoundingRectangles Intersect. Lisää...
 
static void FromIntersection (ref BoundingRectangle first, ref BoundingRectangle second, out BoundingRectangle result)
 
static BoundingRectangle FromUnion (BoundingRectangle first, BoundingRectangle second)
 Makes a BoundingRectangle that can contain the 2 BoundingRectangles passed. Lisää...
 
static void FromUnion (ref BoundingRectangle first, ref BoundingRectangle second, out BoundingRectangle result)
 
static void FromVectors (ref Matrix2x3 matrix, Vector2D[] vectors, out BoundingRectangle result)
 
static void FromVectors (ref Matrix3x3 matrix, Vector2D[] vectors, out BoundingRectangle result)
 
static void FromVectors (ref Vector2D first, ref Vector2D second, out BoundingRectangle result)
 
static BoundingRectangle FromVectors (Vector2D first, Vector2D second)
 Creates a new BoundingRectangle Instance from 2 Vector2Ds. Lisää...
 
static BoundingRectangle FromVectors (Vector2D[] vectors)
 Creates a new BoundingRectangle Instance from multiple Vector2Ds. Lisää...
 
static void FromVectors (Vector2D[] vectors, out BoundingRectangle result)
 
static bool operator!= (BoundingRectangle rect1, BoundingRectangle rect2)
 
static bool operator== (BoundingRectangle rect1, BoundingRectangle rect2)
 
static void Transform (ref Matrix2x3 matrix, ref BoundingRectangle rect, out BoundingRectangle result)
 

Julkiset attribuutit

Vector2D Max
 
Vector2D Min
 

Staattiset julkiset attribuutit

const int Size = Vector2D.Size * 2
 

Ominaisuudet

Scalar Area [get]
 
Scalar Perimeter [get]
 

Yksityiskohtainen selite

Määrittely tiedoston BoundingRectangle.cs rivillä 43.

Rakentajien & purkajien dokumentaatio

◆ BoundingRectangle() [1/2]

AdvanceMath.Geometry2D.BoundingRectangle.BoundingRectangle ( Scalar  minX,
Scalar  minY,
Scalar  maxX,
Scalar  maxY 
)

Creates a new BoundingRectangle Instance.

Parametrit
minXThe Lower Bound on the XAxis.
minYThe Lower Bound on the YAxis.
maxXThe Upper Bound on the XAxis.
maxYThe Upper Bound on the YAxis.

Määrittely tiedoston BoundingRectangle.cs rivillä 293.

Viittaukset AdvanceMath.Vector2D.X ja AdvanceMath.Vector2D.Y.

◆ BoundingRectangle() [2/2]

AdvanceMath.Geometry2D.BoundingRectangle.BoundingRectangle ( Vector2D  min,
Vector2D  max 
)

Creates a new BoundingRectangle Instance from 2 Vector2Ds.

Parametrit
minThe Lower Vector2D.
maxThe Upper Vector2D.

Määrittely tiedoston BoundingRectangle.cs rivillä 306.

Jäsenfunktioiden dokumentaatio

◆ Contains() [1/8]

◆ Contains() [2/8]

ContainmentType AdvanceMath.Geometry2D.BoundingRectangle.Contains ( BoundingPolygon  polygon)

Määrittely tiedoston BoundingRectangle.cs rivillä 480.

Viittaukset AdvanceMath.Geometry2D.BoundingRectangle.Contains().

◆ Contains() [3/8]

◆ Contains() [4/8]

void AdvanceMath.Geometry2D.BoundingRectangle.Contains ( ref BoundingCircle  circle,
out ContainmentType  result 
)

◆ Contains() [5/8]

void AdvanceMath.Geometry2D.BoundingRectangle.Contains ( ref BoundingPolygon  polygon,
out ContainmentType  result 
)

Määrittely tiedoston BoundingRectangle.cs rivillä 486.

Viittaukset AdvanceMath.Geometry2D.BoundingRectangle.Contains().

◆ Contains() [6/8]

void AdvanceMath.Geometry2D.BoundingRectangle.Contains ( ref BoundingRectangle  rect,
out ContainmentType  result 
)

Määrittely tiedoston BoundingRectangle.cs rivillä 410.

Viittaukset AdvanceMath.Vector2D.X.

◆ Contains() [7/8]

void AdvanceMath.Geometry2D.BoundingRectangle.Contains ( ref Vector2D  point,
out ContainmentType  result 
)

◆ Contains() [8/8]

◆ Corners()

Vector2D[] AdvanceMath.Geometry2D.BoundingRectangle.Corners ( )

◆ Equals() [1/4]

bool AdvanceMath.Geometry2D.BoundingRectangle.Equals ( BoundingRectangle  other)

Määrittely tiedoston BoundingRectangle.cs rivillä 637.

Viittaukset AdvanceMath.Geometry2D.BoundingRectangle.Equals().

◆ Equals() [2/4]

static bool AdvanceMath.Geometry2D.BoundingRectangle.Equals ( BoundingRectangle  rect1,
BoundingRectangle  rect2 
)
static

Määrittely tiedoston BoundingRectangle.cs rivillä 641.

Viittaukset AdvanceMath.Geometry2D.BoundingRectangle.Equals().

◆ Equals() [3/4]

◆ Equals() [4/4]

static bool AdvanceMath.Geometry2D.BoundingRectangle.Equals ( ref BoundingRectangle  rect1,
ref BoundingRectangle  rect2 
)
static

Määrittely tiedoston BoundingRectangle.cs rivillä 646.

Viittaukset AdvanceMath.Vector2D.Equals().

◆ FromCircle() [1/4]

static BoundingRectangle AdvanceMath.Geometry2D.BoundingRectangle.FromCircle ( BoundingCircle  circle)
static

◆ FromCircle() [2/4]

static BoundingRectangle AdvanceMath.Geometry2D.BoundingRectangle.FromCircle ( Matrix2x3  matrix,
Scalar  radius 
)
static

◆ FromCircle() [3/4]

static void AdvanceMath.Geometry2D.BoundingRectangle.FromCircle ( ref BoundingCircle  circle,
out BoundingRectangle  result 
)
static

Määrittely tiedoston BoundingRectangle.cs rivillä 253.

◆ FromCircle() [4/4]

static void AdvanceMath.Geometry2D.BoundingRectangle.FromCircle ( ref Matrix2x3  matrix,
ref Scalar  radius,
out BoundingRectangle  result 
)
static

Määrittely tiedoston BoundingRectangle.cs rivillä 267.

Viittaukset AdvanceMath.MathHelper.Sqrt().

◆ FromIntersection() [1/2]

static BoundingRectangle AdvanceMath.Geometry2D.BoundingRectangle.FromIntersection ( BoundingRectangle  first,
BoundingRectangle  second 
)
static

Makes a BoundingRectangle that contains the area where the BoundingRectangles Intersect.

Parametrit
firstThe First BoundingRectangle.
secondThe Second BoundingRectangle.
Palauttaa
The BoundingRectangle that can contain the 2 BoundingRectangles passed.

Määrittely tiedoston BoundingRectangle.cs rivillä 234.

Viittaukset AdvanceMath.Geometry2D.BoundingRectangle.Max, AdvanceMath.Vector2D.Max(), AdvanceMath.Geometry2D.BoundingRectangle.Min ja AdvanceMath.Vector2D.Min().

◆ FromIntersection() [2/2]

static void AdvanceMath.Geometry2D.BoundingRectangle.FromIntersection ( ref BoundingRectangle  first,
ref BoundingRectangle  second,
out BoundingRectangle  result 
)
static

Määrittely tiedoston BoundingRectangle.cs rivillä 241.

Viittaukset AdvanceMath.Vector2D.Max() ja AdvanceMath.Vector2D.Min().

◆ FromUnion() [1/2]

static BoundingRectangle AdvanceMath.Geometry2D.BoundingRectangle.FromUnion ( BoundingRectangle  first,
BoundingRectangle  second 
)
static

Makes a BoundingRectangle that can contain the 2 BoundingRectangles passed.

Parametrit
firstThe First BoundingRectangle.
secondThe Second BoundingRectangle.
Palauttaa
The BoundingRectangle that can contain the 2 BoundingRectangles passed.

Määrittely tiedoston BoundingRectangle.cs rivillä 216.

Viittaukset AdvanceMath.Geometry2D.BoundingRectangle.Max, AdvanceMath.Vector2D.Max(), AdvanceMath.Geometry2D.BoundingRectangle.Min ja AdvanceMath.Vector2D.Min().

◆ FromUnion() [2/2]

static void AdvanceMath.Geometry2D.BoundingRectangle.FromUnion ( ref BoundingRectangle  first,
ref BoundingRectangle  second,
out BoundingRectangle  result 
)
static

Määrittely tiedoston BoundingRectangle.cs rivillä 223.

Viittaukset AdvanceMath.Vector2D.Max() ja AdvanceMath.Vector2D.Min().

◆ FromVectors() [1/6]

static void AdvanceMath.Geometry2D.BoundingRectangle.FromVectors ( ref Matrix2x3  matrix,
Vector2D[]  vectors,
out BoundingRectangle  result 
)
static

◆ FromVectors() [2/6]

static void AdvanceMath.Geometry2D.BoundingRectangle.FromVectors ( ref Matrix3x3  matrix,
Vector2D[]  vectors,
out BoundingRectangle  result 
)
static

◆ FromVectors() [3/6]

static void AdvanceMath.Geometry2D.BoundingRectangle.FromVectors ( ref Vector2D  first,
ref Vector2D  second,
out BoundingRectangle  result 
)
static

Määrittely tiedoston BoundingRectangle.cs rivillä 84.

◆ FromVectors() [4/6]

static BoundingRectangle AdvanceMath.Geometry2D.BoundingRectangle.FromVectors ( Vector2D  first,
Vector2D  second 
)
static

Creates a new BoundingRectangle Instance from 2 Vector2Ds.

Parametrit
firstthe first Vector2D.
secondthe second Vector2D.
Palauttaa
a new BoundingRectangle

The Max and Min values are automatically determined.

Määrittely tiedoston BoundingRectangle.cs rivillä 59.

Viittaukset AdvanceMath.Geometry2D.BoundingRectangle.Max, AdvanceMath.Geometry2D.BoundingRectangle.Min, AdvanceMath.Vector2D.X ja AdvanceMath.Vector2D.Y.

Viitattu AdvanceMath.Geometry2D.BoundingRectangle.FromVectors() ja AdvanceMath.Geometry2D.BoundingRectangle.Transform().

◆ FromVectors() [5/6]

static BoundingRectangle AdvanceMath.Geometry2D.BoundingRectangle.FromVectors ( Vector2D[]  vectors)
static

Creates a new BoundingRectangle Instance from multiple Vector2Ds.

Parametrit
vectorsthe list of vectors
Palauttaa
a new BoundingRectangle

The Max and Min values are automatically determined.

Määrittely tiedoston BoundingRectangle.cs rivillä 113.

Viittaukset AdvanceMath.Geometry2D.BoundingRectangle.FromVectors().

◆ FromVectors() [6/6]

static void AdvanceMath.Geometry2D.BoundingRectangle.FromVectors ( Vector2D[]  vectors,
out BoundingRectangle  result 
)
static

◆ GetDistance() [1/2]

void AdvanceMath.Geometry2D.BoundingRectangle.GetDistance ( ref Vector2D  point,
out Scalar  result 
)

◆ GetDistance() [2/2]

Scalar AdvanceMath.Geometry2D.BoundingRectangle.GetDistance ( Vector2D  point)

◆ GetHashCode()

override int AdvanceMath.Geometry2D.BoundingRectangle.GetHashCode ( )

◆ Intersects() [1/10]

bool AdvanceMath.Geometry2D.BoundingRectangle.Intersects ( BoundingCircle  circle)

Määrittely tiedoston BoundingRectangle.cs rivillä 522.

Viittaukset AdvanceMath.Geometry2D.BoundingCircle.Intersects().

◆ Intersects() [2/10]

bool AdvanceMath.Geometry2D.BoundingRectangle.Intersects ( BoundingPolygon  polygon)

Määrittely tiedoston BoundingRectangle.cs rivillä 534.

Viittaukset AdvanceMath.Geometry2D.BoundingPolygon.Intersects().

◆ Intersects() [3/10]

bool AdvanceMath.Geometry2D.BoundingRectangle.Intersects ( BoundingRectangle  rect)

◆ Intersects() [4/10]

bool AdvanceMath.Geometry2D.BoundingRectangle.Intersects ( Line  line)

Määrittely tiedoston BoundingRectangle.cs rivillä 528.

Viittaukset AdvanceMath.Geometry2D.Line.Intersects().

◆ Intersects() [5/10]

Scalar AdvanceMath.Geometry2D.BoundingRectangle.Intersects ( Ray  ray)

◆ Intersects() [6/10]

void AdvanceMath.Geometry2D.BoundingRectangle.Intersects ( ref BoundingCircle  circle,
out bool  result 
)

Määrittely tiedoston BoundingRectangle.cs rivillä 614.

◆ Intersects() [7/10]

void AdvanceMath.Geometry2D.BoundingRectangle.Intersects ( ref BoundingPolygon  polygon,
out bool  result 
)

Määrittely tiedoston BoundingRectangle.cs rivillä 618.

◆ Intersects() [8/10]

void AdvanceMath.Geometry2D.BoundingRectangle.Intersects ( ref BoundingRectangle  rect,
out bool  result 
)

Määrittely tiedoston BoundingRectangle.cs rivillä 606.

Viittaukset AdvanceMath.Vector2D.X ja AdvanceMath.Vector2D.Y.

◆ Intersects() [9/10]

void AdvanceMath.Geometry2D.BoundingRectangle.Intersects ( ref Line  line,
out bool  result 
)

Määrittely tiedoston BoundingRectangle.cs rivillä 623.

◆ Intersects() [10/10]

void AdvanceMath.Geometry2D.BoundingRectangle.Intersects ( ref Ray  ray,
out Scalar  result 
)

◆ operator!=()

static bool AdvanceMath.Geometry2D.BoundingRectangle.operator!= ( BoundingRectangle  rect1,
BoundingRectangle  rect2 
)
static

Määrittely tiedoston BoundingRectangle.cs rivillä 658.

Viittaukset AdvanceMath.Geometry2D.BoundingRectangle.Equals().

◆ operator==()

static bool AdvanceMath.Geometry2D.BoundingRectangle.operator== ( BoundingRectangle  rect1,
BoundingRectangle  rect2 
)
static

Määrittely tiedoston BoundingRectangle.cs rivillä 654.

Viittaukset AdvanceMath.Geometry2D.BoundingRectangle.Equals().

◆ ToString()

override string AdvanceMath.Geometry2D.BoundingRectangle.ToString ( )

◆ Transform()

static void AdvanceMath.Geometry2D.BoundingRectangle.Transform ( ref Matrix2x3  matrix,
ref BoundingRectangle  rect,
out BoundingRectangle  result 
)
static

Jäsendatan dokumentaatio

◆ Max

◆ Min

◆ Size

const int AdvanceMath.Geometry2D.BoundingRectangle.Size = Vector2D.Size * 2
static

Määrittely tiedoston BoundingRectangle.cs rivillä 45.

Ominaisuuksien dokumentaatio

◆ Area

Scalar AdvanceMath.Geometry2D.BoundingRectangle.Area
get

Määrittely tiedoston BoundingRectangle.cs rivillä 312.

◆ Perimeter

Scalar AdvanceMath.Geometry2D.BoundingRectangle.Perimeter
get

Määrittely tiedoston BoundingRectangle.cs rivillä 319.


Dokumentaatio tälle tietueelle luotiin seuraavasta tiedostosta: