mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: change point to vector.
This commit is contained in:
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user