path: root/CSXCAD/src/CSPrimitives.h
diff options
authorRuben Undheim <>2018-08-13 09:26:34 +0200
committerRuben Undheim <>2018-08-13 09:26:34 +0200
commit7097a4eaa0a32e0d02207521941157bda8968b05 (patch)
treed4b1258d2601508182f8ff8b992d7e9431a7d20a /CSXCAD/src/CSPrimitives.h
parentaa7abb5c97c20b34f159886dfc523dd8198fef98 (diff)
New upstream version 0.0.35+ds.1
Diffstat (limited to 'CSXCAD/src/CSPrimitives.h')
1 files changed, 2 insertions, 1 deletions
diff --git a/CSXCAD/src/CSPrimitives.h b/CSXCAD/src/CSPrimitives.h
index 4f68a96..545c152 100644
--- a/CSXCAD/src/CSPrimitives.h
+++ b/CSXCAD/src/CSPrimitives.h
@@ -177,7 +177,8 @@ public:
//! Read the coordinate system for this primitive (may be different to the input mesh type) \sa GetCoordInputType
CoordinateSystem GetCoordinateSystem() const {return m_PrimCoordSystem;}
- CSTransform* GetTransform() const {return m_Transform;}
+ //! Get the CSTransform if it exists already or create a new one
+ CSTransform* GetTransform();
//! Show status of this primitve
virtual void ShowPrimitiveStatus(std::ostream& stream);