Commit 23988047 authored by graham's avatar graham
Browse files

ENH: change point to vector.

parent 1dffb47b
......@@ -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.
\*---------------------------------------------------------------------------*/
......
......@@ -247,7 +247,7 @@ fi
# boost and CGAL
# ~~~~~~~~~~~~~~
boost_version=boost_1_42_0
boost_version=boost_1_45_0
cgal_version=CGAL-3.7
export BOOST_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$boost_version
......
......@@ -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
......
......@@ -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());
}
......
Markdown is supported
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