Complex Logarithmic View
 All Classes Namespaces Functions Variables Enumerations Properties
Public Member Functions | Static Public Member Functions | Public Attributes
Clv.Viewer.Math.Vertex2 Class Reference

Class to handle a 2-Dimensional vertex with an index and texture coordinates More...

List of all members.

Public Member Functions

 Vertex2 (short index, Vector2 pos, Vector2 coord)
VertexPositionTexture ToVertexPositionTexture ()
 create an xna VertexPositionTexture with a Vector2

Static Public Member Functions

static Vertex2 Interpolate (Vertex2 a, Vertex2 b, float t, short newIndex=-1)
 Interpolation of two given vectors

Public Attributes

short Index
Vector2 Position
Vector2 TexCoord

Detailed Description

Class to handle a 2-Dimensional vertex with an index and texture coordinates


Member Function Documentation

static Vertex2 Clv.Viewer.Math.Vertex2.Interpolate ( Vertex2  a,
Vertex2  b,
float  t,
short  newIndex = -1 
)
static

Interpolation of two given vectors

Parameters:
afirst interpolation vector
bsecond interpolation vector
tinterpolant
newIndexnew Index if changed
Returns:
interpolated vector
VertexPositionTexture Clv.Viewer.Math.Vertex2.ToVertexPositionTexture ( )

create an xna VertexPositionTexture with a Vector2

Returns:
the created VertexPositionTexture

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