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
68d949da
Commit
68d949da
authored
Nov 05, 2020
by
Dennis Gläser
Browse files
[common] move dimension traits to geometry
parent
c8ffb0e1
Changes
16
Hide whitespace changes
Inline
Side-by-side
frackit/common/CMakeLists.txt
View file @
68d949da
install
(
FILES
extractdimension.hh
id.hh
idpair.hh
math.hh
...
...
frackit/distance/pointonboundary.hh
View file @
68d949da
...
...
@@ -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>
...
...
frackit/distance/pointongeometry.hh
View file @
68d949da
...
...
@@ -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"
...
...
frackit/entitynetwork/constraints_impl/admissibledimension.hh
View file @
68d949da
...
...
@@ -31,7 +31,7 @@
#include
<TopoDS_Face.hxx>
#include
<TopoDS_Solid.hxx>
#include
<frackit/
common/extract
dimension.hh>
#include
<frackit/
geometry/
dimension.hh>
namespace
Frackit
{
namespace
ConstraintImpl
{
...
...
frackit/entitynetwork/constraints_impl/admissiblemagnitude.hh
View file @
68d949da
...
...
@@ -28,7 +28,7 @@
#include
<frackit/magnitude/magnitude.hh>
#include
<frackit/intersection/emptyintersection.hh>
#include
<frackit/
common/extract
dimension.hh>
#include
<frackit/
geometry/
dimension.hh>
namespace
Frackit
{
namespace
ConstraintImpl
{
...
...
frackit/entitynetwork/networkbuilder.hh
View file @
68d949da
...
...
@@ -35,7 +35,7 @@
#include
<TopoDS_Shape.hxx>
#include
<frackit/common/id.hh>
#include
<frackit/
common/extract
dimension.hh>
#include
<frackit/
geometry/
dimension.hh>
#include
<frackit/precision/defaultepsilon.hh>
#include
<frackit/precision/precision.hh>
...
...
frackit/geometry/CMakeLists.txt
View file @
68d949da
...
...
@@ -6,6 +6,7 @@ CMakeLists.txt
ctype.hh
cylinder.hh
cylindersurface.hh
dimension.hh
direction.hh
disk.hh
ellipsearc.hh
...
...
frackit/geometry/ctype.hh
View file @
68d949da
...
...
@@ -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.
...
...
frackit/
common/extract
dimension.hh
→
frackit/
geometry/
dimension.hh
View file @
68d949da
...
...
@@ -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
frackit/intersection/algorithms/algo_cylsurface_planargeom.hh
View file @
68d949da
...
...
@@ -39,7 +39,7 @@
#include
<frackit/occ/gputilities.hh>
#include
<frackit/geometry/cylindersurface.hh>
#include
<frackit/
common/extract
dimension.hh>
#include
<frackit/
geometry/
dimension.hh>
#include
<frackit/intersection/intersectiontraits.hh>
#include
<frackit/intersection/emptyintersection.hh>
...
...
frackit/intersection/algorithms/algo_planargeom_line.hh
View file @
68d949da
...
...
@@ -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>
...
...
frackit/intersection/algorithms/algo_planargeom_planargeom.hh
View file @
68d949da
...
...
@@ -32,7 +32,7 @@
#include
<frackit/geometry/line.hh>
#include
<frackit/geometry/segment.hh>
#include
<frackit/geometry/plane.hh>
#include
<frackit/
common/extract
dimension.hh>
#include
<frackit/
geometry/
dimension.hh>
#include
<frackit/intersection/intersectiontraits.hh>
#include
<frackit/intersection/emptyintersection.hh>
...
...
frackit/intersection/intersectionangle.hh
View file @
68d949da
...
...
@@ -55,7 +55,7 @@
#include
<frackit/geometryutilities/name.hh>
#include
<frackit/geometryutilities/isplanar.hh>
#include
<frackit/
common/extract
dimension.hh>
#include
<frackit/
geometry/
dimension.hh>
#include
<frackit/occ/gputilities.hh>
#include
<frackit/occ/geomutilities.hh>
...
...
frackit/magnitude/containedmagnitude.hh
View file @
68d949da
...
...
@@ -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>
...
...
frackit/python/geometryutilities/dimension.hh
View file @
68d949da
...
...
@@ -24,7 +24,7 @@
#include
<TopoDS_Shape.hxx>
#include
<TopoDS_Compound.hxx>
#include
<frackit/
common/extract
dimension.hh>
#include
<frackit/
geometry/
dimension.hh>
#include
<frackit/python/geometry/brepwrapper.hh>
namespace
Frackit
::
Python
{
...
...
frackit/sampling/makeuniformpointsampler.hh
View file @
68d949da
...
...
@@ -26,7 +26,7 @@
#define FRACKIT_MAKE_UNIFORM_POINT_SAMPLER_HH
#include
<frackit/geometry/ctype.hh>
#include
<frackit/
common/extract
dimension.hh>
#include
<frackit/
geometry/
dimension.hh>
#include
"uniformpointsamplertraits.hh"
#include
"makepointsampler.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