Main Page   Class Hierarchy   Compound List   File List   Compound Members  

PLib::HPoint_nD< float, 2 > Struct Template Reference

#include <hpoint_nd.h>

List of all members.

Public Types

typedef float T

Public Methods

 HPoint_nD ()
 HPoint_nD (T *d, int c)
 HPoint_nD (T a)
 HPoint_nD (T X, T Y, T W)
 HPoint_nD (T X, T Y, T Z, T W)
 HPoint_nD (const HPoint_nD &a)
 HPoint_nD (const Point_nD< T, 2 > &a)
 ~HPoint_nD ()
T & x ()
x () const
T & y ()
y () const
T & z ()
z () const
T & w ()
w () const
HPoint_nD< T, 2 > & operator= (const HPoint_nD< T, 2 > &v)
HPoint_nD< T, 2 > & operator= (const Point_nD< T, 2 > &v)
HPoint_nD< T, 2 > & operator= (const T v)
HPoint_nD< T, 2 > & operator *= (T v)
HPoint_nD< T, 2 > & operator/= (T v)
HPoint_nD< T, 2 > & operator-= (const HPoint_nD< T, 2 > &v)
HPoint_nD< T, 2 > & operator+= (const HPoint_nD< T, 2 > &v)
void move (const Point_nD< T, 2 > &m)
Point_nD< T, 2 > projectW ()

Public Attributes

T * data
int created

Static Protected Attributes

dumbVar


Detailed Description

template<>
struct PLib::HPoint_nD< float, 2 >

** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** class HPoint_2D --- A class for point in the homogeneous 3D space When using B-splines, homogeneous points are used. They are defined with 3D points as $(x,y,w)$. In 2D space, a 3D point is equivalent to $(\frac{x}{w},\frac{y}{w})$.

This class also defines basic mathematical operators for 3D homogeneous points. author Philippe Lavoie (14 October, 1998) Modified by: ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** *

Definition at line 162 of file hpoint_nd.h.


The documentation for this struct was generated from the following files:
Generated on Tue Jun 24 13:26:59 2003 for NURBS++ by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002