PLaSK library
|
Public Types | |
typedef std::map< const GeometryObject *, const char * > | GeomToName |
typedef std::vector< const GeometryObject * > | Set |
Public Member Functions | |
PositionValidator (GeomToName &geom_to_name) | |
Set & | get (const Geometry *geometry) |
void | fill (const GeometryObject *obj, Set &s) |
template<typename VectorType > | |
bool | compare_vec (std::vector< VectorType > v1, std::vector< VectorType > v2) |
Compare two vectors of positions. | |
template<typename GeomType > | |
Set | compare_d (const GeomType *geom1, const GeomType *geom2) |
Compare positions of important objects in two geometries of the same type. | |
Set | compare (const Geometry *g1, const Geometry *g2) |
Public Attributes | |
GeomToName & | geom_to_name |
std::map< const Geometry *, Set > | cache |
Definition at line 447 of file manager.cpp.
typedef std::map<const GeometryObject*, const char*> plask::PositionValidator::GeomToName |
Definition at line 449 of file manager.cpp.
typedef std::vector<const GeometryObject*> plask::PositionValidator::Set |
Definition at line 452 of file manager.cpp.
|
inline |
Definition at line 458 of file manager.cpp.
Definition at line 534 of file manager.cpp.
Compare positions of important objects in two geometries of the same type.
geom1,geom2 | geometries |
geom1
and geom2
Definition at line 514 of file manager.cpp.
|
inline |
Compare two vectors of positions.
v1,v2 | vectors to compare |
true
if there are (probably) no mistakes and false
in other cases Definition at line 488 of file manager.cpp.
|
inline |
Definition at line 470 of file manager.cpp.
Definition at line 460 of file manager.cpp.
Definition at line 456 of file manager.cpp.
GeomToName& plask::PositionValidator::geom_to_name |
Definition at line 454 of file manager.cpp.