Public Member Functions | List of all members
STLpoint Class Reference

A vertex point representation for STL files. More...

Inheritance diagram for STLpoint:
Inheritance graph
[legend]
Collaboration diagram for STLpoint:
Collaboration graph
[legend]

Public Member Functions

 STLpoint ()
 Construct null. More...
 
 STLpoint (float x, float y, float z)
 Construct from components. More...
 
 STLpoint (const point &pt)
 Construct from point. More...
 
 STLpoint (Istream &is)
 Construct from istream. More...
 
 operator point () const
 Conversion to point. More...
 
- Public Member Functions inherited from Vector< float >
 Vector ()
 Construct null. More...
 
 Vector (const VectorSpace< Vector< Cmpt2 >, Cmpt2, 3 > &)
 Construct given VectorSpace of the same rank. More...
 
 Vector (const float &vx, const float &vy, const float &vz)
 Construct given three components. More...
 
 Vector (Istream &)
 Construct from Istream. More...
 
const float & x () const
 
float & x ()
 
const float & y () const
 
float & y ()
 
const float & z () const
 
float & z ()
 
const Vector< float > & centre (const Foam::List< Vector< float > > &) const
 Return *this (used for point which is a typedef to Vector<scalar>. More...
 
- Public Member Functions inherited from VectorSpace< Vector< float >, float, 3 >
 VectorSpace ()
 Construct null. More...
 
 VectorSpace (Istream &)
 Construct from Istream. More...
 
 VectorSpace (const VectorSpace< Vector< float >, float, nCmpt > &)
 Construct as copy. More...
 
 VectorSpace (const VectorSpace< Form2, Cmpt2, nCmpt > &)
 Construct as copy of another VectorSpace type of the same rank. More...
 
label size () const
 Return the number of elements in the VectorSpace = nCmpt. More...
 
const float & component (const direction) const
 
float & component (const direction)
 
void component (float &, const direction) const
 
void replace (const direction, const float &)
 
const float & operator[] (const direction) const
 
float & operator[] (const direction)
 
void operator= (const VectorSpace< Vector< float >, float, nCmpt > &)
 
void operator+= (const VectorSpace< Vector< float >, float, nCmpt > &)
 
void operator-= (const VectorSpace< Vector< float >, float, nCmpt > &)
 
void operator*= (const scalar)
 
void operator/= (const scalar)
 

Additional Inherited Members

- Public Types inherited from Vector< float >
enum  
 
enum  components
 Component labeling enumeration. More...
 
typedef Vector< labellabelType
 Equivalent type of labels used for valid component indexing. More...
 
- Public Types inherited from VectorSpace< Vector< float >, float, 3 >
enum  
 
typedef float cmptType
 Component type. More...
 
- Public Attributes inherited from VectorSpace< Vector< float >, float, 3 >
float v_ [nCmpt]
 The components of this vector space. More...
 
- Static Public Attributes inherited from Vector< float >
static const char *const typeName
 
static const char * componentNames []
 
static const Vector zero
 
static const Vector one
 
static const Vector max
 
static const Vector min
 
static const Vector rootMax
 
static const Vector rootMin
 

Detailed Description

A vertex point representation for STL files.

Source files

Definition at line 48 of file STLpoint.H.

Constructor & Destructor Documentation

STLpoint ( )
inline

Construct null.

Definition at line 58 of file STLpoint.H.

STLpoint ( float  x,
float  y,
float  z 
)
inline

Construct from components.

Definition at line 62 of file STLpoint.H.

STLpoint ( const point pt)
inline

Construct from point.

Definition at line 68 of file STLpoint.H.

STLpoint ( Istream is)
inline

Construct from istream.

Definition at line 74 of file STLpoint.H.

Member Function Documentation

operator point ( ) const
inline

Conversion to point.

Definition at line 83 of file STLpoint.H.

References Vector< float >::x(), Vector< float >::y(), and Vector< float >::z().

Here is the call graph for this function:


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