coordinateSystem Class ReferenceInheritance diagram for coordinateSystem:
[legend]Collaboration diagram for coordinateSystem:
[legend]List of all members.
Detailed Description
Definition at line 65 of file coordinateSystem.H.
|
Public Member Functions |
| | TypeName ("coordinateSystem") |
| | Runtime type information.
|
| | coordinateSystem () |
| | Construct null.
|
| | coordinateSystem (const word &name, const point &origin, const vector &axis, const vector &dir) |
| | Construct from origin and 2 axes.
|
| | coordinateSystem (const word &name, const point &origin, const coordinateRotation &) |
| | Construct from origin and rotation angles.
|
| | coordinateSystem (const dictionary &) |
| | Construct from dictionary with default name.
|
| | coordinateSystem (const word &name, const dictionary &) |
| | Construct from dictionary.
|
| | coordinateSystem (Istream &) |
| | Construct from Istream.
|
| autoPtr< coordinateSystem > | clone () const |
| | Return clone.
|
| | declareRunTimeSelectionTable (autoPtr, coordinateSystem, origAxisDir,(const word &name, const point &origin, const vector &axis, const vector &dir),(name, origin, axis, dir)) |
| | declareRunTimeSelectionTable (autoPtr, coordinateSystem, origRotation,(const word &name, const point &origin, const coordinateRotation &cr),(name, origin, cr)) |
| | declareRunTimeSelectionTable (autoPtr, coordinateSystem, dictionary,(const word &name, const dictionary &dict),(name, dict)) |
| virtual | ~coordinateSystem () |
| const word & | name () const |
| | Return name.
|
| const point & | origin () const |
| | Return origin.
|
| const coordinateRotation & | rotation () const |
| | Return coordinate rotation.
|
| const tensor & | R () const |
| | Return local-to-global transformation tensor.
|
| const vector & | e1 () const |
| | Return local Cartesian x-axis.
|
| const vector & | e2 () const |
| | Return local Cartesian y-axis.
|
| const vector & | e3 () const |
| | Return local Cartesian z-axis.
|
| const vector & | axis () const |
| | Return axis (e3: local Cartesian z-axis).
|
| const vector & | direction () const |
| | Return direction (e1: local Cartesian x-axis).
|
| virtual dictionary | dict (bool ignoreType=false) const |
| | Return as dictionary of entries.
|
| virtual void | rename (const word &newName) |
| | Rename.
|
| point & | origin () |
| | Edit access to origin.
|
| virtual void | write (Ostream &) const |
| | Write.
|
| virtual void | writeDict (Ostream &, bool subDict=true) const |
| | Write dictionary.
|
| point | globalPosition (const point &local) const |
| | Convert from position in local coordinate system to global Cartesian position.
|
| tmp< pointField > | globalPosition (const pointField &local) const |
| | Convert from position in local coordinate system to global Cartesian position.
|
| vector | globalVector (const vector &local) const |
| | Convert from vector components in local coordinate system to global Cartesian vector.
|
| tmp< vectorField > | globalVector (const vectorField &local) const |
| | Convert from vector components in local coordinate system to global Cartesian vector.
|
| point | localPosition (const point &global) const |
| | Convert from global Cartesian position to position in local coordinate system.
|
| tmp< pointField > | localPosition (const pointField &global) const |
| | Convert from global Cartesian position to position in local coordinate system.
|
| vector | localVector (const vector &global) const |
| | Convert from global Cartesian vector to components in local coordinate system.
|
| tmp< vectorField > | localVector (const vectorField &global) const |
| | Convert from global Cartesian vector to components in local coordinate system.
|
| void | operator= (const dictionary &) |
| | assign from dictionary
|
Static Public Member Functions |
| static autoPtr< coordinateSystem > | New (const word &coordType, const word &name, const point &origin, const vector &axis, const vector &dir) |
| | Select constructed from origin and 2 axes.
|
| static autoPtr< coordinateSystem > | New (const word &coordType, const word &name, const point &origin, const coordinateRotation &cr) |
| | Select constructed from origin and rotation.
|
| static autoPtr< coordinateSystem > | New (const word &name, const dictionary &dict) |
| | Select constructed from dictionary.
|
| static autoPtr< coordinateSystem > | New (Istream &is) |
| | Select constructed from Istream.
|
Protected Member Functions |
| virtual vector | localToGlobal (const vector &, bool translate) const |
| | Convert from local coordinate system to the global Cartesian system.
|
| virtual tmp< vectorField > | localToGlobal (const vectorField &, bool translate) const |
| | Convert from local coordinate system to the global Cartesian system.
|
| virtual vector | globalToLocal (const vector &, bool translate) const |
| | Convert from global Cartesian system to the local coordinate system.
|
| virtual tmp< vectorField > | globalToLocal (const vectorField &, bool translate) const |
| | Convert from global Cartesian system to the local coordinate system.
|
Friends |
| bool | operator!= (const coordinateSystem &, const coordinateSystem &) |
| Ostream & | operator<< (Ostream &, const coordinateSystem &) |
Constructor & Destructor Documentation
Construct from origin and 2 axes.
Construct from origin and rotation angles.
Construct from dictionary with default name.
Construct from dictionary.
Member Function Documentation
| virtual vector localToGlobal |
( |
const vector & |
, |
|
|
bool |
translate | |
|
) |
| | const [protected, virtual] |
| virtual vector globalToLocal |
( |
const vector & |
, |
|
|
bool |
translate | |
|
) |
| | const [protected, virtual] |
| TypeName |
( |
"coordinateSystem" |
|
) |
|
Runtime type information.
| declareRunTimeSelectionTable |
( |
autoPtr |
, |
|
|
coordinateSystem |
, |
|
|
origAxisDir |
, |
|
|
(const word &name, const point &origin, const vector &axis, const vector &dir) |
, |
|
|
(name, origin, axis, dir) |
| |
|
) |
| | |
Select constructed from origin and 2 axes.
Select constructed from origin and rotation.
Select constructed from dictionary.
| const word& name |
( |
|
) |
const [inline] |
| const point& origin |
( |
|
) |
const [inline] |
| const tensor& R |
( |
|
) |
const [inline] |
| const vector& e1 |
( |
|
) |
const [inline] |
| const vector& e2 |
( |
|
) |
const [inline] |
| const vector& e3 |
( |
|
) |
const [inline] |
| const vector& axis |
( |
|
) |
const [inline] |
| const vector& direction |
( |
|
) |
const [inline] |
| virtual dictionary dict |
( |
bool |
ignoreType = false |
) |
const [virtual] |
Return as dictionary of entries.
| virtual void rename |
( |
const word & |
newName |
) |
[inline, virtual] |
| point& origin |
( |
|
) |
[inline] |
| virtual void write |
( |
Ostream & |
|
) |
const [virtual] |
| virtual void writeDict |
( |
Ostream & |
, |
|
|
bool |
subDict = true | |
|
) |
| | const [virtual] |
| point globalPosition |
( |
const point & |
local |
) |
const [inline] |
Convert from position in local coordinate system to global Cartesian position.
Definition at line 333 of file coordinateSystem.H.
Convert from position in local coordinate system to global Cartesian position.
Definition at line 339 of file coordinateSystem.H.
Convert from vector components in local coordinate system to global Cartesian vector.
Definition at line 345 of file coordinateSystem.H.
Convert from vector components in local coordinate system to global Cartesian vector.
Definition at line 351 of file coordinateSystem.H.
| point localPosition |
( |
const point & |
global |
) |
const [inline] |
Convert from global Cartesian position to position in local coordinate system.
Definition at line 357 of file coordinateSystem.H.
Convert from global Cartesian position to position in local coordinate system.
Definition at line 363 of file coordinateSystem.H.
Convert from global Cartesian vector to components in local coordinate system.
Definition at line 369 of file coordinateSystem.H.
Convert from global Cartesian vector to components in local coordinate system.
Definition at line 375 of file coordinateSystem.H.
Friends And Related Function Documentation
The documentation for this class was generated from the following file:
Copyright © 2000-2007 OpenCFD Ltd
|