A vertex point representation for STL files. More...
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... | |
Public Member Functions inherited from Vector< float > | |
Vector () | |
Construct null. More... | |
Vector (const Foam::zero) | |
Construct initialised to zero. 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 (const Foam::zero) | |
Construct initialised to zero. More... | |
VectorSpace (Istream &) | |
Construct from Istream. More... | |
VectorSpace (const VectorSpace< Form2, Cmpt2, Ncmpts > &) | |
Construct as copy of a VectorSpace with the same size. More... | |
const float & | component (const direction) const |
float & | component (const direction) |
void | component (float &, const direction) const |
void | replace (const direction, const float &) |
const ConstBlock< SubVector, BStart > | block () const |
const VectorSpace< Vector< float >, float, Ncmpts >::template ConstBlock< SubVector, BStart > | block () const |
const float & | operator[] (const direction) const |
float & | operator[] (const direction) |
void | operator+= (const VectorSpace< Vector< float >, float, Ncmpts > &) |
void | operator-= (const VectorSpace< Vector< float >, float, Ncmpts > &) |
void | operator= (const Foam::zero) |
void | operator*= (const scalar) |
void | operator/= (const scalar) |
Additional Inherited Members | |
Public Types inherited from Vector< float > | |
enum | components |
Component labeling enumeration. More... | |
typedef Vector< label > | labelType |
Equivalent type of labels used for valid component indexing. More... | |
Public Types inherited from VectorSpace< Vector< float >, float, 3 > | |
typedef VectorSpace< Vector< float >, float, Ncmpts > | vsType |
VectorSpace type. More... | |
typedef float | cmptType |
Component type. More... | |
Static Public Member Functions inherited from VectorSpace< Vector< float >, float, 3 > | |
static direction | size () |
Return the number of elements in the VectorSpace = Ncmpts. More... | |
static Vector< float > | uniform (const float &s) |
Return a VectorSpace with all elements = s. More... | |
Public Attributes inherited from VectorSpace< Vector< float >, float, 3 > | |
float | v_ [Ncmpts] |
The components of this vector space. More... | |
Static Public Attributes inherited from Vector< float > | |
static const direction | rank |
Rank of Vector is 1. More... | |
Static Public Attributes inherited from VectorSpace< Vector< float >, float, 3 > | |
static const direction | dim |
Dimensionality of space. More... | |
static const direction | nComponents |
Number of components in this vector space. More... | |
static const direction | mRows |
static const direction | nCols |
static const char *const | typeName |
static const char *const | componentNames [] |
static const Vector< float > | zero |
static const Vector< float > | one |
static const Vector< float > | max |
static const Vector< float > | min |
static const Vector< float > | rootMax |
static const Vector< float > | rootMin |
|
inline |
Construct null.
Definition at line 58 of file STLpoint.H.
|
inline |
Construct from components.
Definition at line 62 of file STLpoint.H.
Construct from point.
Definition at line 68 of file STLpoint.H.
Construct from istream.
Definition at line 74 of file STLpoint.H.
References Vector< float >::x(), Vector< float >::y(), and Vector< float >::z().