Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

SFPoint3f Class Reference

Class providing an implementation of a 3D float point. More...

List of all members.

Public Member Functions

Public Attributes

Friends


Detailed Description

Class providing an implementation of a 3D float point.

SFPoint3f is a point in an affin space, which different from a vector represented by the SFVec3f class.

Definition at line 21 of file SFPoint3f.h.


Constructor & Destructor Documentation

SFPoint3f  ) 
 

Default constructor.

SFPoint3f float  x,
float  y,
float  z
 

Constructor with x, y and z coordinates in parameters.

SFPoint3f const SFPoint3f &  p  ) 
 

Copy constructor.

SFPoint3f const SFString s  )  [explicit]
 

Explicit constructor from a string of which format is "x y z".

SFPoint3f const SFVec3f V  )  [explicit]
 


Member Function Documentation

SFPoint3f& operator= SFPoint3f  v  ) 
 

Overloaded assignment operator.


Friends And Related Function Documentation

float distance const SFPoint3f &  A,
const SFPoint3f &  B
[friend]
 

Returns the distance between the points A and B.

SFPoint3f operator * const float  a,
const SFPoint3f &  v
[friend]
 

Overloaded operator*.

SFPoint3f operator+ const SFPoint3f &  v1,
const SFVec3f v2
[friend]
 

Overloaded operator+.

SFVec3f operator- const SFPoint3f &  v1,
const SFPoint3f &  v2
[friend]
 

Overloaded operator-.

SFPoint3f operator- const SFPoint3f &  v1,
const SFVec3f v2
[friend]
 

Overloaded operator-.


Member Data Documentation

float x
 

x coordinates.

Definition at line 25 of file SFPoint3f.h.

float y
 

y coordinates.

Definition at line 27 of file SFPoint3f.h.

float z
 

z coordinates.

Definition at line 29 of file SFPoint3f.h.


The documentation for this class was generated from the following file:
Generated on Wed May 14 10:38:15 2003 for X3DToolKit by doxygen1.3