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
befb2e53
Commit
befb2e53
authored
Nov 06, 2020
by
Dennis Gläser
Browse files
Merge branch 'feature/direction-export-ctype' into 'master'
[geom][direction] export ctype See merge request tools/frackit!162
parents
3a3e0c89
957b2506
Changes
1
Hide whitespace changes
Inline
Side-by-side
frackit/geometry/direction.hh
View file @
befb2e53
...
...
@@ -55,6 +55,9 @@ public:
//! export underlying vector type
using
Vector
=
typename
Frackit
::
Vector
<
CT
,
1
>
;
//! export type used for coordinates
using
ctype
=
CT
;
//! export dimensionality
static
constexpr
int
myDimension
()
{
return
1
;
};
static
constexpr
int
worldDimension
()
{
return
1
;
};
...
...
@@ -111,6 +114,9 @@ public:
//! export underlying vector type
using
Vector
=
typename
Frackit
::
Vector
<
CT
,
2
>
;
//! export type used for coordinates
using
ctype
=
CT
;
//! export dimensionality
static
constexpr
int
myDimension
()
{
return
1
;
};
static
constexpr
int
worldDimension
()
{
return
2
;
};
...
...
@@ -171,6 +177,9 @@ public:
//! export underlying vector type
using
Vector
=
typename
Frackit
::
Vector
<
CT
,
3
>
;
//! export type used for coordinates
using
ctype
=
CT
;
//! export dimensionality
static
constexpr
int
myDimension
()
{
return
1
;
};
static
constexpr
int
worldDimension
()
{
return
3
;
};
...
...
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