diff options
Diffstat (limited to 'libdimensionxx/dimensionxx')
-rw-r--r-- | libdimensionxx/dimensionxx/object.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libdimensionxx/dimensionxx/object.hpp b/libdimensionxx/dimensionxx/object.hpp index 6eaca83..af9bbcd 100644 --- a/libdimensionxx/dimensionxx/object.hpp +++ b/libdimensionxx/dimensionxx/object.hpp @@ -32,6 +32,11 @@ namespace Dimension // No-op, made pure virtual virtual ~Object() = 0; + // Get/set the transformation matrix + Matrix trans(); + void trans(const Matrix& trans); + + // Object callbacks virtual Array<double> intersections(const Line& l); virtual bool inside(const Vector& point); |