Commit 68d949da authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[common] move dimension traits to geometry

parent c8ffb0e1
install(FILES
extractdimension.hh
id.hh
idpair.hh
math.hh
......
......@@ -31,7 +31,6 @@
#include <BRepTools.hxx>
#include <TopoDS_Face.hxx>
#include <frackit/common/extractdimension.hh>
#include <frackit/precision/defaultepsilon.hh>
#include <frackit/geometry/point.hh>
......@@ -39,6 +38,7 @@
#include <frackit/geometry/quadrilateral.hh>
#include <frackit/geometry/polygon.hh>
#include <frackit/geometry/cylindersurface.hh>
#include <frackit/geometry/dimension.hh>
#include <frackit/geometryutilities/name.hh>
......
......@@ -27,9 +27,9 @@
#include <TopoDS_Shape.hxx>
#include <frackit/common/extractdimension.hh>
#include <frackit/precision/defaultepsilon.hh>
#include <frackit/geometry/point.hh>
#include <frackit/geometry/dimension.hh>
#include "distance.hh"
......
......@@ -31,7 +31,7 @@
#include <TopoDS_Face.hxx>
#include <TopoDS_Solid.hxx>
#include <frackit/common/extractdimension.hh>
#include <frackit/geometry/dimension.hh>
namespace Frackit {
namespace ConstraintImpl {
......
......@@ -28,7 +28,7 @@
#include <frackit/magnitude/magnitude.hh>
#include <frackit/intersection/emptyintersection.hh>
#include <frackit/common/extractdimension.hh>
#include <frackit/geometry/dimension.hh>
namespace Frackit {
namespace ConstraintImpl {
......
......@@ -35,7 +35,7 @@
#include <TopoDS_Shape.hxx>
#include <frackit/common/id.hh>
#include <frackit/common/extractdimension.hh>
#include <frackit/geometry/dimension.hh>
#include <frackit/precision/defaultepsilon.hh>
#include <frackit/precision/precision.hh>
......
......@@ -6,6 +6,7 @@ CMakeLists.txt
ctype.hh
cylinder.hh
cylindersurface.hh
dimension.hh
direction.hh
disk.hh
ellipsearc.hh
......
......@@ -38,7 +38,7 @@
namespace Frackit {
/*!
* \ingroup Common
* \ingroup Geometry
* \brief Traits class to extract the coordinate type from a geometry.
* \note This is the specialization used for internal geometry types
* which carry the information of the coordinate type themselves.
......
......@@ -18,11 +18,11 @@
*****************************************************************************/
/*!
* \file
* \ingroup Common
* \ingroup Geometry
* \brief Type traits to extract the dimensionality of geometric objects.
*/
#ifndef FRACKIT_COMMON_EXTRACT_DIMENSION_HH
#define FRACKIT_COMMON_EXTRACT_DIMENSION_HH
#ifndef FRACKIT_GEOMETRY_DIMENSION_HH
#define FRACKIT_GEOMETRY_DIMENSION_HH
#include <utility>
#include <memory>
......@@ -42,7 +42,7 @@
namespace Frackit {
/*!
* \ingroup Common
* \ingroup Geometry
* \brief Traits class to extract the dimensionalty of a geometry.
* \note This is the specialization used for internal geometry types
* which carry the information of the dimensions themselves.
......@@ -146,4 +146,4 @@ constexpr int getWorldDimension(const Geom& g)
} // end namespace Frackit
#endif // FRACKIT_COMMON_EXTRACT_DIMENSION_HH
#endif // FRACKIT_GEOMETRY_DIMENSION_HH
......@@ -39,7 +39,7 @@
#include <frackit/occ/gputilities.hh>
#include <frackit/geometry/cylindersurface.hh>
#include <frackit/common/extractdimension.hh>
#include <frackit/geometry/dimension.hh>
#include <frackit/intersection/intersectiontraits.hh>
#include <frackit/intersection/emptyintersection.hh>
......
......@@ -29,7 +29,8 @@
#include <stdexcept>
#include <frackit/geometry/line.hh>
#include <frackit/common/extractdimension.hh>
#include <frackit/geometry/dimension.hh>
#include <frackit/occ/breputilities.hh>
#include <frackit/precision/precision.hh>
......
......@@ -32,7 +32,7 @@
#include <frackit/geometry/line.hh>
#include <frackit/geometry/segment.hh>
#include <frackit/geometry/plane.hh>
#include <frackit/common/extractdimension.hh>
#include <frackit/geometry/dimension.hh>
#include <frackit/intersection/intersectiontraits.hh>
#include <frackit/intersection/emptyintersection.hh>
......
......@@ -55,7 +55,7 @@
#include <frackit/geometryutilities/name.hh>
#include <frackit/geometryutilities/isplanar.hh>
#include <frackit/common/extractdimension.hh>
#include <frackit/geometry/dimension.hh>
#include <frackit/occ/gputilities.hh>
#include <frackit/occ/geomutilities.hh>
......
......@@ -29,9 +29,9 @@
#include <type_traits>
#include <frackit/occ/breputilities.hh>
#include <frackit/common/extractdimension.hh>
#include <frackit/precision/defaultepsilon.hh>
#include <frackit/geometry/dimension.hh>
#include <frackit/geometry/ctype.hh>
#include <frackit/geometry/geometry.hh>
#include <frackit/geometryutilities/applyongeometry.hh>
......
......@@ -24,7 +24,7 @@
#include <TopoDS_Shape.hxx>
#include <TopoDS_Compound.hxx>
#include <frackit/common/extractdimension.hh>
#include <frackit/geometry/dimension.hh>
#include <frackit/python/geometry/brepwrapper.hh>
namespace Frackit::Python {
......
......@@ -26,7 +26,7 @@
#define FRACKIT_MAKE_UNIFORM_POINT_SAMPLER_HH
#include <frackit/geometry/ctype.hh>
#include <frackit/common/extractdimension.hh>
#include <frackit/geometry/dimension.hh>
#include "uniformpointsamplertraits.hh"
#include "makepointsampler.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