World Builder
0.1.0-pre
A geodyanmic initial conditions generator
|
#include <interface.h>
Public Member Functions | |
Interface () | |
virtual | ~Interface () |
virtual void | decare_entries (std::string &path)=0 |
virtual CoordinateSystem | natural_coordinate_system () const =0 |
virtual std::array< double, 3 > | cartesian_to_natural_coordinates (const std::array< double, 3 > &position) const =0 |
virtual std::array< double, 3 > | natural_to_cartesian_coordinates (const std::array< double, 3 > &position) const =0 |
Definition at line 36 of file interface.h.
WorldBuilder::CoordinateSystems::Interface::Interface | ( | ) |
constructor
Definition at line 31 of file interface.cc.
|
virtual |
Destructor
Definition at line 34 of file interface.cc.
|
pure virtual |
Takes the Cartesian points (x,z or x,y,z) and returns standardized coordinates which are most 'natural' to the geometry model. For a box this will be (x,z) in 2d or (x,y,z) in 3d, and for a spheroid geometry model it will be (radius, longitude) in 2d and (radius, longitude, latitude) in 3d.
Implemented in WorldBuilder::CoordinateSystems::Cartesian.
|
pure virtual |
read in the world builder file
Implemented in WorldBuilder::CoordinateSystems::Cartesian.
|
pure virtual |
Returns what the natural coordinate system for this geometry model is.
Implemented in WorldBuilder::CoordinateSystems::Cartesian.
|
pure virtual |
Undoes the action of cartesian_to_natural_coordinates, and turns the coordinate system which is most 'natural' to the geometry model into Cartesian coordinates.
Implemented in WorldBuilder::CoordinateSystems::Cartesian.