Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
23988047
Commit
23988047
authored
Jan 14, 2011
by
graham
Browse files
ENH: change point to vector.
parent
1dffb47b
Changes
4
Hide whitespace changes
Inline
Side-by-side
applications/test/momentOfInertia/Test-momentOfInertia.C
View file @
23988047
...
...
@@ -26,7 +26,7 @@ Application
Description
Calculates the inertia tensor and principal axes and moments of a
test face, tetrahedron and
mesh
.
test face, tetrahedron and
cell
.
\*---------------------------------------------------------------------------*/
...
...
etc/settings.sh
View file @
23988047
...
...
@@ -247,7 +247,7 @@ fi
# boost and CGAL
# ~~~~~~~~~~~~~~
boost_version
=
boost_1_4
2
_0
boost_version
=
boost_1_4
5
_0
cgal_version
=
CGAL-3.7
export
BOOST_ARCH_PATH
=
$WM_THIRD_PARTY_DIR
/platforms/
$WM_ARCH$WM_COMPILER
/
$boost_version
...
...
src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.H
View file @
23988047
...
...
@@ -709,7 +709,7 @@ public:
typedef
K
::
Vector_3
CGALVector
;
inline
CGALVector
toCGALVector
(
const
Foam
::
point
&
pt
)
const
;
inline
CGALVector
toCGALVector
(
const
Foam
::
vector
&
v
)
const
;
// Access
...
...
src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshI.H
View file @
23988047
...
...
@@ -422,9 +422,9 @@ Foam::conformalVoronoiMesh::toPoint
inline
Foam
::
conformalVoronoiMesh
::
CGALVector
Foam
::
conformalVoronoiMesh
::
toCGALVector
(
const
Foam
::
point
&
pt
)
const
Foam
::
conformalVoronoiMesh
::
toCGALVector
(
const
Foam
::
vector
&
v
)
const
{
return
CGALVector
(
pt
.
x
(),
pt
.
y
(),
pt
.
z
());
return
CGALVector
(
v
.
x
(),
v
.
y
(),
v
.
z
());
}
...
...
Write
Preview
Markdown
is supported
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