TriEngine  v0.0.16
General-purpose engine in C#/OpenGL
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
TriDevs.TriEngine.Point< T > Struct Template Reference

A struct representing an X/Y/Z coordinate. More...

Public Member Functions

 Point (T x, T y, T z=default(T))
 Creates a new Point&lt;T&gt; with the specified X and Y values. More...
 

Public Attributes

X
 The X value of the coordinate. More...
 
Y
 The Y value of the coordinate. More...
 
Z
 The Z value of the coordinate. More...
 

Detailed Description

A struct representing an X/Y/Z coordinate.

Template Parameters
TThe type used for the X, Y and Z members.
Type Constraints
T :struct 

Constructor & Destructor Documentation

TriDevs.TriEngine.Point< T >.Point ( x,
y,
z = default(T) 
)

Creates a new Point&lt;T&gt; with the specified X and Y values.

Parameters
xThe X value.
yThe Y value.
zThe Z value.
54  {
55  X = x;
56  Y = y;
57  Z = z;
58  }

Member Data Documentation

T TriDevs.TriEngine.Point< T >.X

The X value of the coordinate.

T TriDevs.TriEngine.Point< T >.Y

The Y value of the coordinate.

T TriDevs.TriEngine.Point< T >.Z

The Z value of the coordinate.


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