AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/v0.6.1/src/axom/klee/GeometryOperators.hpp>
Public Member Functions | |
Translation (const primal::Vector3D &offset, const TransformableGeometryProperties &startProperties) | |
const primal::Vector3D & | getOffset () const |
numerics::Matrix< double > | toMatrix () const override |
void | accept (GeometryOperatorVisitor &visitor) const override |
const TransformableGeometryProperties & | getStartProperties () const |
virtual TransformableGeometryProperties | getEndProperties () const |
A Translation is a GeometryOperator which translates points.
axom::klee::Translation::Translation | ( | const primal::Vector3D & | offset, |
const TransformableGeometryProperties & | startProperties | ||
) |
Create a Translation.
offset | the amount by which to offset points |
startProperties | the initial properties, as in the parent class. If the number of dimensions is 2, the 3rd entry in the offset should be zero, but this is not checked. |
|
inline |
Get the amount by which to offset points.
References axom::klee::GeometryOperator::accept().
|
overridevirtual |
Convert this operator to its matrix representation.
Implements axom::klee::MatrixOperator.
|
overridevirtual |
Accept the given visitor. The appropriate visit() method will be called on the visitor based on the run-time type of this operator.
visitor | the visitor to accept. |
Implements axom::klee::GeometryOperator.
|
inlineinherited |
Get the properties that the operator expects to start in
|
inlinevirtualinherited |
Get the properties after this operator is applied
Reimplemented in axom::klee::SliceOperator, axom::klee::UnitConverter, and axom::klee::CompositeOperator.
References axom::klee::GeometryOperator::accept().
Referenced by axom::klee::CompositeOperator::getOperators(), and axom::klee::SliceOperator::getUp().