Public Member Functions
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 &)
 Construct from point. More...
 
 STLpoint (Istream &)
 Construct from istream. More...
 
 operator point () const
 
 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< Form, Cmpt, 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 Cmpt & component (const direction) const
 
Cmpt & component (const direction)
 
void component (Cmpt &, const direction) const
 
void replace (const direction, const Cmpt &)
 
const Cmpt & operator[] (const direction) const
 
Cmpt & operator[] (const direction)
 
void operator= (const VectorSpace< Form, Cmpt, nCmpt > &)
 
void operator+= (const VectorSpace< Form, Cmpt, nCmpt > &)
 
void operator-= (const VectorSpace< Form, Cmpt, 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 Cmpt cmptType
 Component type. More...
 
- Data Fields inherited from VectorSpace< Vector< float >, float, 3 >
Cmpt 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

Source files

Definition at line 48 of file STLpoint.H.

Constructor & Destructor Documentation

◆ STLpoint() [1/8]

STLpoint ( )
inline

Construct null.

Definition at line 33 of file STLpointI.H.

◆ STLpoint() [2/8]

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

Construct from components.

Definition at line 36 of file STLpointI.H.

◆ STLpoint() [3/8]

STLpoint ( const point pt)
inline

Construct from point.

Definition at line 41 of file STLpointI.H.

◆ STLpoint() [4/8]

STLpoint ( Istream is)
inline

Construct from istream.

Definition at line 46 of file STLpointI.H.

◆ STLpoint() [5/8]

STLpoint ( )
inline

Construct null.

Definition at line 58 of file STLpoint.H.

◆ STLpoint() [6/8]

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

Construct from components.

Definition at line 62 of file STLpoint.H.

◆ STLpoint() [7/8]

STLpoint ( const point pt)
inline

Construct from point.

Definition at line 68 of file STLpoint.H.

◆ STLpoint() [8/8]

STLpoint ( Istream is)
inline

Construct from istream.

Definition at line 74 of file STLpoint.H.

Member Function Documentation

◆ operator point() [1/2]

operator point ( ) const
inline

Definition at line 54 of file STLpointI.H.

References x, and y.

◆ operator point() [2/2]

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 files: