61 #ifndef coordinateSystem_H 62 #define coordinateSystem_H 75 class coordinateSystem;
77 bool operator!=(
const coordinateSystem&,
const coordinateSystem&);
78 Ostream&
operator<<(Ostream&,
const coordinateSystem&);
236 R_->updatePoints(points);
Base class for other coordinate system specifications.
TypeName("coordinateSystem")
Runtime type information.
Abstract base class for coordinate rotation.
point globalPosition(const point &local) const
Convert from position in local coordinate system to global.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const word & keyword() const
Return keyword.
const word & name() const
Return name.
const point & origin() const
Return origin.
virtual ~coordinateSystem()
Destructor.
virtual vector localToGlobal(const vector &, bool translate) const
Convert from local coordinate system to the global Cartesian system.
point localPosition(const point &global) const
Convert from global Cartesian position to position in local.
virtual autoPtr< coordinateSystem > clone() const
Construct and return a clone.
A class for handling words, derived from string.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
vector localVector(const vector &global) const
Convert from global Cartesian vector to components in local.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual vector globalToLocal(const vector &, bool translate) const
Convert from global Cartesian system to the local coordinate system.
declareRunTimeSelectionTable(autoPtr, coordinateSystem, dictionary,(const word &name, const dictionary &dict),(name, dict))
static autoPtr< coordinateSystem > New(const objectRegistry &obr, const dictionary &dict)
Select constructed from dictionary and objectRegistry.
Ostream & operator<<(Ostream &, const ensightPart &)
vector globalVector(const vector &local) const
Convert from vector components in local coordinate system to.
coordinateSystem(const word &name, const point &origin)
Construct from origin.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
Registry of regIOobjects.
friend Ostream & operator<<(Ostream &, const coordinateSystem &)
bool operator!=(const particle &, const particle &)
void writeDict(Ostream &, bool subDict=true) const
Write dictionary.
virtual void write(Ostream &) const
Write.
const coordinateRotation & R() const
Return const reference to co-ordinate rotation.