#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/v0.6.1/src/axom/klee/ShapeSet.hpp>
A ShapeSet represents a document in the common shape format.
◆ setShapes()
void axom::klee::ShapeSet::setShapes |
( |
std::vector< Shape > |
shapes | ) |
|
Set the shapes in this set.
- Parameters
-
shapes | all the shapes in this set |
◆ getShapes()
std::vector<Shape> const& axom::klee::ShapeSet::getShapes |
( |
| ) |
const |
|
inline |
Get the shapes in this set.
- Returns
- the shapes in this set
References setPath().
◆ setPath()
void axom::klee::ShapeSet::setPath |
( |
const std::string & |
path | ) |
|
◆ getPath()
const std::string& axom::klee::ShapeSet::getPath |
( |
| ) |
const |
|
inline |
◆ resolvePath()
std::string axom::klee::ShapeSet::resolvePath |
( |
const std::string & |
filePath | ) |
const |
Resolves a path relative to the path of this ShapeSet.
- Parameters
-
filePath | the path to resolve |
- Returns
- if the given path is absolute, then the given path. Otherwise, the path is interpreted as being relative to the directory containing this ShapeSet, and that is is returned.
Referenced by getPath().
◆ setDimensions()
void axom::klee::ShapeSet::setDimensions |
( |
Dimensions |
dimensions | ) |
|
Sets the dimensions for all shapes in the ShapeSet.
- Parameters
-
dimensions | the dimension for all the shapes |
- Note
- This function must be called before calling getDimensions()
Referenced by getPath().
◆ getDimensions()
Dimensions axom::klee::ShapeSet::getDimensions |
( |
| ) |
const |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/v0.6.1/src/axom/klee/ShapeSet.hpp