ENH: change point to vector.

This commit is contained in:
graham
2011-01-14 19:37:05 +00:00
parent 1dffb47b28
commit 2398804708
4 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@ Application
Description Description
Calculates the inertia tensor and principal axes and moments of a Calculates the inertia tensor and principal axes and moments of a
test face, tetrahedron and mesh. test face, tetrahedron and cell.
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -247,7 +247,7 @@ fi
# boost and CGAL # boost and CGAL
# ~~~~~~~~~~~~~~ # ~~~~~~~~~~~~~~
boost_version=boost_1_42_0 boost_version=boost_1_45_0
cgal_version=CGAL-3.7 cgal_version=CGAL-3.7
export BOOST_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$boost_version export BOOST_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$boost_version

View File

@ -709,7 +709,7 @@ public:
typedef K::Vector_3 CGALVector; typedef K::Vector_3 CGALVector;
inline CGALVector toCGALVector(const Foam::point& pt) const; inline CGALVector toCGALVector(const Foam::vector& v) const;
// Access // Access

View File

@ -422,9 +422,9 @@ Foam::conformalVoronoiMesh::toPoint
inline Foam::conformalVoronoiMesh::CGALVector 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());
} }