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

Julkiset jäsenfunktiot

 LineSegment (Vector2D vertex1, Vector2D vertex2)
 
bool Equals (LineSegment other)
 
override bool Equals (object obj)
 
void GetDistance (ref Vector2D point, out Scalar result)
 
Scalar GetDistance (Vector2D point)
 
override int GetHashCode ()
 
Scalar Intersects (Ray ray)
 
void Intersects (ref Ray ray, out Scalar result)
 
override string ToString ()
 

Staattiset julkiset jäsenfunktiot

static bool Equals (LineSegment line1, LineSegment line2)
 
static bool Equals (ref LineSegment line1, ref LineSegment line2)
 
static void GetDistance (ref Vector2D vertex1, ref Vector2D vertex2, ref Vector2D point, out Scalar result)
 
static void GetDistanceSq (ref Vector2D vertex1, ref Vector2D vertex2, ref Vector2D point, out Scalar result)
 
static void Intersects (ref Vector2D v1, ref Vector2D v2, ref Vector2D v3, ref Vector2D v4, out bool result)
 
static bool Intersects (ref Vector2D v1, ref Vector2D v2, ref Vector2D v3, ref Vector2D v4, out Vector2D result)
 
static void Intersects (ref Vector2D vertex1, ref Vector2D vertex2, ref Ray ray, out Scalar result)
 
static bool operator!= (LineSegment line1, LineSegment line2)
 
static bool operator== (LineSegment line1, LineSegment line2)
 

Julkiset attribuutit

Vector2D Vertex1
 
Vector2D Vertex2
 

Staattiset julkiset attribuutit

const int Size = Vector2D.Size * 2
 

Yksityiskohtainen selite

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

Rakentajien & purkajien dokumentaatio

◆ LineSegment()

AdvanceMath.Geometry2D.LineSegment.LineSegment ( Vector2D  vertex1,
Vector2D  vertex2 
)

Määrittely tiedoston LineSegment.cs rivillä 167.

Jäsenfunktioiden dokumentaatio

◆ Equals() [1/4]

static bool AdvanceMath.Geometry2D.LineSegment.Equals ( LineSegment  line1,
LineSegment  line2 
)
static

Määrittely tiedoston LineSegment.cs rivillä 213.

Viittaukset AdvanceMath.Geometry2D.LineSegment.Equals().

◆ Equals() [2/4]

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

Määrittely tiedoston LineSegment.cs rivillä 209.

Viittaukset AdvanceMath.Geometry2D.LineSegment.Equals().

◆ Equals() [3/4]

override bool AdvanceMath.Geometry2D.LineSegment.Equals ( object  obj)

◆ Equals() [4/4]

static bool AdvanceMath.Geometry2D.LineSegment.Equals ( ref LineSegment  line1,
ref LineSegment  line2 
)
static

Määrittely tiedoston LineSegment.cs rivillä 217.

Viittaukset AdvanceMath.Vector2D.Equals().

◆ GetDistance() [1/3]

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

◆ GetDistance() [2/3]

static void AdvanceMath.Geometry2D.LineSegment.GetDistance ( ref Vector2D  vertex1,
ref Vector2D  vertex2,
ref Vector2D  point,
out Scalar  result 
)
static

◆ GetDistance() [3/3]

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

Määrittely tiedoston LineSegment.cs rivillä 173.

Viittaukset AdvanceMath.Geometry2D.LineSegment.GetDistance().

◆ GetDistanceSq()

static void AdvanceMath.Geometry2D.LineSegment.GetDistanceSq ( ref Vector2D  vertex1,
ref Vector2D  vertex2,
ref Vector2D  point,
out Scalar  result 
)
static

◆ GetHashCode()

override int AdvanceMath.Geometry2D.LineSegment.GetHashCode ( )

◆ Intersects() [1/5]

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

Määrittely tiedoston LineSegment.cs rivillä 184.

Viittaukset AdvanceMath.Geometry2D.LineSegment.Intersects().

◆ Intersects() [2/5]

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

◆ Intersects() [3/5]

static void AdvanceMath.Geometry2D.LineSegment.Intersects ( ref Vector2D  v1,
ref Vector2D  v2,
ref Vector2D  v3,
ref Vector2D  v4,
out bool  result 
)
static

◆ Intersects() [4/5]

static bool AdvanceMath.Geometry2D.LineSegment.Intersects ( ref Vector2D  v1,
ref Vector2D  v2,
ref Vector2D  v3,
ref Vector2D  v4,
out Vector2D  result 
)
static

Määrittely tiedoston LineSegment.cs rivillä 55.

Viittaukset AdvanceMath.Vector2D.Lerp() ja AdvanceMath.Vector2D.Zero.

◆ Intersects() [5/5]

static void AdvanceMath.Geometry2D.LineSegment.Intersects ( ref Vector2D  vertex1,
ref Vector2D  vertex2,
ref Ray  ray,
out Scalar  result 
)
static

◆ operator!=()

static bool AdvanceMath.Geometry2D.LineSegment.operator!= ( LineSegment  line1,
LineSegment  line2 
)
static

Määrittely tiedoston LineSegment.cs rivillä 226.

Viittaukset AdvanceMath.Geometry2D.LineSegment.Equals().

◆ operator==()

static bool AdvanceMath.Geometry2D.LineSegment.operator== ( LineSegment  line1,
LineSegment  line2 
)
static

Määrittely tiedoston LineSegment.cs rivillä 222.

Viittaukset AdvanceMath.Geometry2D.LineSegment.Equals().

◆ ToString()

override string AdvanceMath.Geometry2D.LineSegment.ToString ( )

Jäsendatan dokumentaatio

◆ Size

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

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

◆ Vertex1

◆ Vertex2


Dokumentaatio tälle tietueelle luotiin seuraavasta tiedostosta: