Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tools
frackit
Commits
442bd383
Commit
442bd383
authored
Nov 06, 2020
by
Dennis Gläser
Browse files
[geom][ctype] add traits specialization for compounds
parent
c8dcb1bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
frackit/geometry/ctype.hh
View file @
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment