Commit 3a3e0c89 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

Merge branch 'feature/ctype-for-compounds' into 'master'

[geom][ctype] add traits specialization for compounds

See merge request tools/frackit!161
parents c8dcb1bb 442bd383
......@@ -33,6 +33,7 @@
#include <TopoDS_Face.hxx>
#include <TopoDS_Shell.hxx>
#include <TopoDS_Solid.hxx>
#include <TopoDS_Compound.hxx>
#include <Standard.hxx>
namespace Frackit {
......@@ -104,6 +105,14 @@ struct CoordinateTypeTraits<TopoDS_Solid>
: public CoordinateTypeTraits<TopoDS_Shape>
{};
/*!
* \brief Specialization for Brep compounds.
*/
template<>
struct CoordinateTypeTraits<TopoDS_Compound>
: public CoordinateTypeTraits<TopoDS_Shape>
{};
} // end namespace Frackit
#endif // FRACKIT_GEOMETRY_COORDINATE_TYPE_HH
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment