Derm.Render.Vertex3i Struct Reference

Tridimensional vertex value type (integer coordinates). More...

Inheritance diagram for Derm.Render.Vertex3i:
Derm.Render.IVertex3 Derm.Render.IVertex

List of all members.

Public Member Functions

 Vertex3i (int x, int y, int z)
 Vertex3i constructor.
 Vertex3i (int[] v)
 Vertex3i constructor.
System.Type GetBaseType ()
 Get the type of the components of this IVertex.
int GetComponentsCount ()
 Get the number of the components of this IVertex.

Public Attributes

int x
 X coordinate for tridimensional vertex.
int y
 Y coordinate for tridimensional vertex.
int z
 Z coordinate for tridimensional vertex.

Properties

float this [int idx] [get, set]
 Vertex components indexer (cast to sbyte to float).
float X [get, set]
 Vertex coordinate X.
float Y [get, set]
 Vertex coordinate Y.
float Z [get, set]
 Vertex coordinate Z.

Detailed Description

Tridimensional vertex value type (integer coordinates).


Constructor & Destructor Documentation

Derm.Render.Vertex3i.Vertex3i ( int[]  v  ) 

Vertex3i constructor.

Parameters:
v A System.Int32
Derm.Render.Vertex3i.Vertex3i ( int  x,
int  y,
int  z 
)

Vertex3i constructor.

Parameters:
x A System.Int32
y A System.Int32

Member Function Documentation

System.Type Derm.Render.Vertex3i.GetBaseType (  ) 

Get the type of the components of this IVertex.

Returns:
A System.Type

Implements Derm.Render.IVertex.

int Derm.Render.Vertex3i.GetComponentsCount (  ) 

Get the number of the components of this IVertex.

Returns:
It returns 3. A System.Int32

Implements Derm.Render.IVertex.


Member Data Documentation

X coordinate for tridimensional vertex.

Y coordinate for tridimensional vertex.

Z coordinate for tridimensional vertex.


Property Documentation

float Derm.Render.Vertex3i.this[int idx] [get, set]

Vertex components indexer (cast to sbyte to float).

Parameters:
idx A System.Int32

Implements Derm.Render.IVertex.

float Derm.Render.Vertex3i.X [get, set]

Vertex coordinate X.

Implements Derm.Render.IVertex3.

float Derm.Render.Vertex3i.Y [get, set]

Vertex coordinate Y.

Implements Derm.Render.IVertex3.

float Derm.Render.Vertex3i.Z [get, set]

Vertex coordinate Z.

Implements Derm.Render.IVertex3.



Services powered by Get Deus Ex Render Machina at SourceForge.net. Fast, secure and Free Open Source software downloads