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< Form, Cmpt, Ncmpts > | |
VectorSpace () | |
Construct null. More... | |
VectorSpace (const Foam::zero) | |
Construct initialised to zero. More... | |
VectorSpace (Istream &) | |
Construct from Istream. More... | |
template<class Form2 , class Cmpt2 > | |
VectorSpace (const VectorSpace< Form2, Cmpt2, Ncmpts > &) | |
Construct as copy of a VectorSpace with the same size. More... | |
const Cmpt & | component (const direction) const |
Cmpt & | component (const direction) |
void | component (Cmpt &, const direction) const |
void | replace (const direction, const Cmpt &) |
template<class SubVector , direction BStart> | |
const ConstBlock< SubVector, BStart > | block () const |
const Cmpt & | operator[] (const direction) const |
Cmpt & | operator[] (const direction) |
void | operator+= (const VectorSpace< Form, Cmpt, Ncmpts > &) |
void | operator-= (const VectorSpace< Form, Cmpt, Ncmpts > &) |
void | operator= (const Foam::zero) |
void | operator*= (const scalar) |
void | operator/= (const scalar) |
template<class SubVector , direction BStart> | |
const VectorSpace< Form, Cmpt, Ncmpts >::template ConstBlock< SubVector, BStart > | block () const |
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< Form, Cmpt, Ncmpts > | |
typedef VectorSpace< Form, Cmpt, Ncmpts > | vsType |
VectorSpace type. More... | |
typedef Cmpt | cmptType |
Component type. More... | |
Static Public Member Functions inherited from VectorSpace< Form, Cmpt, Ncmpts > | |
static direction | size () |
Return the number of elements in the VectorSpace = Ncmpts. More... | |
static Form | uniform (const Cmpt &s) |
Return a VectorSpace with all elements = s. More... | |
Public Attributes inherited from VectorSpace< Form, Cmpt, Ncmpts > | |
Cmpt | 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< Form, Cmpt, Ncmpts > | |
static const direction | dim = 3 |
Dimensionality of space. More... | |
static const direction | nComponents = Ncmpts |
Number of components in this vector space. More... | |
static const direction | mRows = Ncmpts |
static const direction | nCols = 1 |
static const char *const | typeName = "vectorVector" |
static const char *const | componentNames [] = {"x", "y", "z"} |
static const Form | zero |
static const Form | one |
static const Form | max |
static const Form | min |
static const Form | rootMax |
static const Form | 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.