geom Namespace Reference


Namespaces

namespace  Axis

Data Structures

class  AlignedCuboid
 axis-aligned cuboid More...
class  Line2
 Line2. More...
class  Rectangle2
class  Polygon2
class  Ellipse2
class  Hyperbola2
class  Circle2
class  Line3
 Line3. More...
class  Plane
class  Sphere
class  CuboidAxis
 cuboid axis defined by a normalized direction vector and a half extent More...
class  Cuboid
 arbitrary oriented bounding cuboid More...
class  Rotation3
class  GeomException
class  DivideByZeroException
class  OutOfRangeException
class  Mat2
class  Mat3
class  Mat4
class  PointCloud
class  PointCloudManager
class  Quat
 unit quaternion More...
class  Vec2
class  Vec3
 Three dimensional vector class, using Real precision. More...
class  Vec4

Typedefs

typedef std::vector< Rotation3Rotation3List
typedef boost::shared_ptr
< PointCloud
PointCloudPtr

Functions

AlignedCuboid DLLIMPORT Union (const AlignedCuboid &lhs, const AlignedCuboid &rhs)
Real DLLEXPORT_OST_GEOM Angle (const Line2 &l1, const Line2 &l2)
Vec2 DLLEXPORT_OST_GEOM IntersectionPoint (const Line2 &l1, const Line2 &l2)
Real DLLEXPORT_OST_GEOM Distance (const Line2 &l, const Vec2 &v)
bool DLLEXPORT_OST_GEOM IsOnLine (const Line2 &l, const Vec2 &v, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM operator== (const Line2 &l1, const Line2 &l2)
bool DLLEXPORT_OST_GEOM Equal (const Line2 &l1, const Line2 &l2, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM EqualPosition (const Line2 &l1, const Line2 &l2, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM AreParallel (const Line2 &l1, const Line2 &l2, Real ephilon=EPSILON)
DLLEXPORT_OST_GEOM bool IsInPolygon (const Polygon2 &p, const Vec2 &v)
DLLEXPORT_OST_GEOM Polygon2 SimplifyPolygon (const Polygon2 &p)
DLLEXPORT_OST_GEOM bool IsInRectangle (const Rectangle2 &r, const Vec2 &v)
DLLEXPORT_OST_GEOM bool IsInCircle (const Circle2 &c, const Vec2 &v)
std::ostream & operator<< (std::ostream &s, const Line3 &l)
DLLEXPORT Rotation3List ImportEulerAngles (const boost::filesystem::path &loc)
DLLEXPORT void ExportEulerAngles (const Rotation3List &rot_list, const boost::filesystem::path &loc)
Real DLLEXPORT_OST_GEOM Angle (const Line3 &l1, const Line3 &l2)
Real DLLEXPORT_OST_GEOM Angle (const Plane &p1, const Plane &p2)
Real DLLEXPORT_OST_GEOM Angle (const Plane &p, const Line3 &l)
Vec3 DLLEXPORT_OST_GEOM IntersectionPoint (const Line3 &l1, const Line3 &l2)
Vec3 DLLEXPORT_OST_GEOM IntersectionPoint (const Line3 &l, const Plane &p)
Vec3 DLLEXPORT_OST_GEOM IntersectionPoint (const Plane &p, const Line3 &l)
Line3 DLLEXPORT_OST_GEOM IntersectionLine (const Plane &p1, const Plane &p2)
Real DLLEXPORT_OST_GEOM Distance (const Line3 &l1, const Line3 &l2)
Real DLLEXPORT_OST_GEOM Distance (const Line3 &l, const Vec3 &v)
Real DLLEXPORT_OST_GEOM Distance (const Plane &p, const Vec3 &v)
bool DLLEXPORT_OST_GEOM IsOnLine (const Line3 &l, const Vec3 &v, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM IsInPlane (const Plane &p, const Vec3 &v, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM IsInPlane (const Plane &p, const Line3 &l, Real ephilon=EPSILON)
int DLLEXPORT_OST_GEOM RelativePosition (const Plane &p, const Vec3 &v, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM operator== (const Line3 &l1, const Line3 &l2)
bool DLLEXPORT_OST_GEOM Equal (const Line3 &l1, const Line3 &l2, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM EqualPosition (const Line3 &l1, const Line3 &l2, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM operator== (const Plane &p1, const Plane &p2)
bool DLLEXPORT_OST_GEOM Equal (const Plane &p1, const Plane &p2, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM EqualPosition (const Plane &p1, const Plane &p2, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM AreParallel (const Plane &p, const Line3 &l, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM AreParallel (const Plane &p1, const Plane &p2, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM AreParallel (const Line3 &l1, const Line3 &l2, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM AreIntersecting (const Line3 &l1, const Line3 &l2, Real ephilon=EPSILON)
DLLEXPORT bool IsInSphere (const Sphere &p, const Vec3 &v)
DLLEXPORT_OST_GEOM std::ostream & operator<< (std::ostream &os, const Mat2 &m)
DLLEXPORT_OST_GEOM std::ostream & operator<< (std::ostream &o, const Mat3 &m)
DLLEXPORT_OST_GEOM std::ostream & operator<< (std::ostream &os, const Mat4 &m)
Quat DLLEXPORT_OST_GEOM Conjugate (const Quat &q)
Real DLLEXPORT_OST_GEOM Dot (const Quat &q0, const Quat &q1)
Quat DLLEXPORT_OST_GEOM Slerp (const Quat &q0, const Quat &q1, Real t)
Quat DLLEXPORT_OST_GEOM Grassmann (const Quat &lhs, const Quat &rhs)
Quat DLLEXPORT_OST_GEOM Normalize (const Quat &q)
DLLEXPORT_OST_GEOM std::ostream & operator<< (std::ostream &str, const Quat &q)
DLLEXPORT_OST_GEOM Vec2 operator/ (Real d, const Vec2 &v)
DLLEXPORT_OST_GEOM std::ostream & operator<< (std::ostream &, const Vec2 &)
DLLEXPORT_OST_GEOM Vec3 operator/ (Real, const Vec3 &v)
DLLEXPORT_OST_GEOM std::ostream & operator<< (std::ostream &, const Vec3 &)
DLLEXPORT_OST_GEOM Vec4 operator/ (Real, const Vec4 &v)
DLLEXPORT_OST_GEOM std::ostream & operator<< (std::ostream &, const Vec4 &)
Real DLLEXPORT_OST_GEOM Length (const Vec2 &v)
Real DLLEXPORT_OST_GEOM Length2 (const Vec2 &v)
bool DLLEXPORT_OST_GEOM Equal (const Vec2 &v1, const Vec2 &v2, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM Equal (const Mat2 &m1, const Mat2 &m2, Real ephilon=EPSILON)
Real DLLEXPORT_OST_GEOM Dot (const Vec2 &v1, const Vec2 &v2)
Vec2 DLLEXPORT_OST_GEOM Normalize (const Vec2 &v)
Vec2 DLLEXPORT_OST_GEOM CompMultiply (const Vec2 &v1, const Vec2 &v2)
Vec2 DLLEXPORT_OST_GEOM CompDivide (const Vec2 &v1, const Vec2 &v2)
Vec2 DLLEXPORT_OST_GEOM operator* (const Vec2 &v, const Mat2 &m)
Vec2 DLLEXPORT_OST_GEOM operator* (const Mat2 &m, const Vec2 &v)
Real DLLEXPORT_OST_GEOM Det (const Mat2 &m)
Mat2 DLLEXPORT_OST_GEOM Transpose (const Mat2 &m)
Mat2 DLLEXPORT_OST_GEOM Invert (const Mat2 &m)
Real DLLEXPORT_OST_GEOM Angle (const Vec2 &v1, const Vec2 &v2)
Real DLLEXPORT_OST_GEOM SignedAngle (const Vec2 &v1, const Vec2 &v2)
Mat2 DLLEXPORT_OST_GEOM operator* (const Mat2 &m1, const Mat2 &m2)
Vec2 DLLEXPORT_OST_GEOM Min (const Vec2 &v1, const Vec2 &v2)
Vec2 DLLEXPORT_OST_GEOM Max (const Vec2 &v1, const Vec2 &v2)
DLLEXPORT Vec2 Rotate (const Vec2 &v, Real ang)
Real DLLEXPORT_OST_GEOM Length (const Vec3 &v)
Real DLLEXPORT_OST_GEOM Length2 (const Vec3 &v)
bool DLLEXPORT_OST_GEOM Equal (const Vec3 &v1, const Vec3 &v2, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM Equal (const Mat3 &m1, const Mat3 &m2, Real ephilon=EPSILON)
Real DLLEXPORT_OST_GEOM Dot (const Vec3 &v1, const Vec3 &v2)
Vec3 DLLEXPORT_OST_GEOM Normalize (const Vec3 &v)
Vec3 DLLEXPORT_OST_GEOM Cross (const Vec3 &v1, const Vec3 &v2)
Vec3 DLLEXPORT_OST_GEOM CompMultiply (const Vec3 &v1, const Vec3 &v2)
Vec3 DLLEXPORT_OST_GEOM CompDivide (const Vec3 &v1, const Vec3 &v2)
Vec3 DLLEXPORT_OST_GEOM operator* (const Vec3 &v, const Mat3 &m)
Vec3 DLLEXPORT_OST_GEOM operator* (const Mat3 &m, const Vec3 &v)
Mat3 DLLEXPORT_OST_GEOM operator* (const Mat3 &m1, const Mat3 &m2)
Mat3 DLLEXPORT_OST_GEOM Invert (const Mat3 &m)
Mat3 DLLEXPORT_OST_GEOM Transpose (const Mat3 &m)
Real DLLEXPORT_OST_GEOM Comp (const Mat3 &m, unsigned int i, unsigned int j)
Real DLLEXPORT_OST_GEOM Minor (const Mat3 &m, unsigned int i, unsigned int j)
Real DLLEXPORT_OST_GEOM Det (const Mat3 &m)
Real DLLEXPORT_OST_GEOM Angle (const Vec3 &v1, const Vec3 &v2)
Mat3 DLLEXPORT_OST_GEOM EulerTransformation (Real theta, Real phi, Real xi)
Mat3 DLLEXPORT_OST_GEOM AxisRotation (const Vec3 &axis, Real angle)
Vec3 DLLEXPORT_OST_GEOM OrthogonalVector (const Vec3 &axis)
Vec3 DLLEXPORT_OST_GEOM Min (const Vec3 &v1, const Vec3 &v2)
Vec3 DLLEXPORT_OST_GEOM Max (const Vec3 &v1, const Vec3 &v2)
Real DLLEXPORT_OST_GEOM Distance (const Vec3 &p1, const Vec3 &p2)
Real DLLEXPORT_OST_GEOM Length (const Vec4 &v)
Real DLLEXPORT_OST_GEOM Length2 (const Vec4 &v)
bool DLLEXPORT_OST_GEOM Equal (const Vec4 &v1, const Vec4 &v2, Real ephilon=EPSILON)
bool DLLEXPORT_OST_GEOM Equal (const Mat4 &m1, const Mat4 &v2, Real ephilon=EPSILON)
Real DLLEXPORT_OST_GEOM Dot (const Vec4 &v1, const Vec4 &v2)
Vec4 DLLEXPORT_OST_GEOM Normalize (const Vec4 &v)
Vec4 DLLEXPORT_OST_GEOM CompMultiply (const Vec4 &v1, const Vec4 &v2)
Vec4 DLLEXPORT_OST_GEOM CompDivide (const Vec4 &v1, const Vec4 &v2)
Vec4 DLLEXPORT_OST_GEOM operator* (const Vec4 &v, const Mat4 &m)
Vec4 DLLEXPORT_OST_GEOM operator* (const Mat4 &m, const Vec4 &v)
Real DLLEXPORT_OST_GEOM Comp (const Mat4 &m, unsigned int i, unsigned int j)
Real DLLEXPORT_OST_GEOM Minor (const Mat4 &m, unsigned int i, unsigned int j)
Real DLLEXPORT_OST_GEOM Det (const Mat4 &m)
Mat4 DLLEXPORT_OST_GEOM Transpose (const Mat4 &m)
Mat4 DLLEXPORT_OST_GEOM Invert (const Mat4 &m)
Mat4 DLLEXPORT_OST_GEOM operator* (const Mat4 &m1, const Mat4 &m2)
Real DLLEXPORT_OST_GEOM Angle (const Vec4 &v1, const Vec4 &v2)
Vec4 DLLEXPORT_OST_GEOM Min (const Vec4 &v1, const Vec4 &v2)
Vec4 DLLEXPORT_OST_GEOM Max (const Vec4 &v1, const Vec4 &v2)

Variables

static const Real EPSILON = 1e-10

Typedef Documentation

typedef boost::shared_ptr<PointCloud> PointCloudPtr

Definition at line 60 of file point_cloud.hh.

typedef std::vector<Rotation3> Rotation3List

Definition at line 188 of file composite3.hh.


Function Documentation

Real DLLEXPORT_OST_GEOM geom::Angle ( const Vec4 &  v1,
const Vec4 &  v2 
)

Real DLLEXPORT_OST_GEOM geom::Angle ( const Vec3 &  v1,
const Vec3 &  v2 
)

Real DLLEXPORT_OST_GEOM geom::Angle ( const Vec2 &  v1,
const Vec2 &  v2 
)

angle beetwen two vectors

Real DLLEXPORT_OST_GEOM geom::Angle ( const Plane &  p,
const Line3 &  l 
)

Real DLLEXPORT_OST_GEOM geom::Angle ( const Plane &  p1,
const Plane &  p2 
)

Real DLLEXPORT_OST_GEOM geom::Angle ( const Line3 &  l1,
const Line3 &  l2 
)

Real DLLEXPORT_OST_GEOM geom::Angle ( const Line2 &  l1,
const Line2 &  l2 
)

bool DLLEXPORT_OST_GEOM geom::AreIntersecting ( const Line3 &  l1,
const Line3 &  l2,
Real  ephilon = EPSILON 
)

bool DLLEXPORT_OST_GEOM geom::AreParallel ( const Line3 &  l1,
const Line3 &  l2,
Real  ephilon = EPSILON 
)

bool DLLEXPORT_OST_GEOM geom::AreParallel ( const Plane &  p1,
const Plane &  p2,
Real  ephilon = EPSILON 
)

bool DLLEXPORT_OST_GEOM geom::AreParallel ( const Plane &  p,
const Line3 &  l,
Real  ephilon = EPSILON 
)

bool DLLEXPORT_OST_GEOM geom::AreParallel ( const Line2 &  l1,
const Line2 &  l2,
Real  ephilon = EPSILON 
)

Mat3 DLLEXPORT_OST_GEOM geom::AxisRotation ( const Vec3 &  axis,
Real  angle 
)

Real DLLEXPORT_OST_GEOM geom::Comp ( const Mat4 &  m,
unsigned int  i,
unsigned int  j 
)

Real DLLEXPORT_OST_GEOM geom::Comp ( const Mat3 &  m,
unsigned int  i,
unsigned int  j 
)

Vec4 DLLEXPORT_OST_GEOM geom::CompDivide ( const Vec4 &  v1,
const Vec4 &  v2 
)

divide each component of v1 by that of v2

Vec3 DLLEXPORT_OST_GEOM geom::CompDivide ( const Vec3 &  v1,
const Vec3 &  v2 
)

divide each component of v1 by that of v2

Vec2 DLLEXPORT_OST_GEOM geom::CompDivide ( const Vec2 &  v1,
const Vec2 &  v2 
)

divide each component of v1 by that of v2

Vec4 DLLEXPORT_OST_GEOM geom::CompMultiply ( const Vec4 &  v1,
const Vec4 &  v2 
)

multiply each component of v1 with that of v2

Vec3 DLLEXPORT_OST_GEOM geom::CompMultiply ( const Vec3 &  v1,
const Vec3 &  v2 
)

multiply each component of v1 with that of v2

Vec2 DLLEXPORT_OST_GEOM geom::CompMultiply ( const Vec2 &  v1,
const Vec2 &  v2 
)

multiply each component of v1 with that of v2

Quat DLLEXPORT_OST_GEOM geom::Conjugate ( const Quat &  q  ) 

Vec3 DLLEXPORT_OST_GEOM geom::Cross ( const Vec3 &  v1,
const Vec3 &  v2 
)

vector cross product

Real DLLEXPORT_OST_GEOM geom::Det ( const Mat4 &  m  ) 

Real DLLEXPORT_OST_GEOM geom::Det ( const Mat3 &  m  ) 

Real DLLEXPORT_OST_GEOM geom::Det ( const Mat2 &  m  ) 

determinant

Real DLLEXPORT_OST_GEOM geom::Distance ( const Vec3 &  p1,
const Vec3 &  p2 
)

returns the distance between two points

Real DLLEXPORT_OST_GEOM geom::Distance ( const Plane &  p,
const Vec3 &  v 
)

Real DLLEXPORT_OST_GEOM geom::Distance ( const Line3 &  l,
const Vec3 &  v 
)

Real DLLEXPORT_OST_GEOM geom::Distance ( const Line3 &  l1,
const Line3 &  l2 
)

Real DLLEXPORT_OST_GEOM geom::Distance ( const Line2 &  l,
const Vec2 &  v 
)

Real DLLEXPORT_OST_GEOM geom::Dot ( const Vec4 &  v1,
const Vec4 &  v2 
)

vector dot product

Real DLLEXPORT_OST_GEOM geom::Dot ( const Vec3 &  v1,
const Vec3 &  v2 
)

vector dot product

Real DLLEXPORT_OST_GEOM geom::Dot ( const Vec2 &  v1,
const Vec2 &  v2 
)

vector dot product

Real DLLEXPORT_OST_GEOM geom::Dot ( const Quat &  q0,
const Quat &  q1 
)

bool DLLEXPORT_OST_GEOM geom::Equal ( const Mat4 &  m1,
const Mat4 &  v2,
Real  ephilon = EPSILON 
)

return true if components differ not more than ephilon

bool DLLEXPORT_OST_GEOM geom::Equal ( const Vec4 &  v1,
const Vec4 &  v2,
Real  ephilon = EPSILON 
)

return true if components differ not more than ephilon

bool DLLEXPORT_OST_GEOM geom::Equal ( const Mat3 &  m1,
const Mat3 &  m2,
Real  ephilon = EPSILON 
)

return true if components differ not more than ephilon

bool DLLEXPORT_OST_GEOM geom::Equal ( const Vec3 &  v1,
const Vec3 &  v2,
Real  ephilon = EPSILON 
)

return true if components differ not more than ephilon

bool DLLEXPORT_OST_GEOM geom::Equal ( const Mat2 &  m1,
const Mat2 &  m2,
Real  ephilon = EPSILON 
)

return true if components differ not more than ephilon

bool DLLEXPORT_OST_GEOM geom::Equal ( const Vec2 &  v1,
const Vec2 &  v2,
Real  ephilon = EPSILON 
)

return true if components differ not more than ephilon

bool DLLEXPORT_OST_GEOM geom::Equal ( const Plane &  p1,
const Plane &  p2,
Real  ephilon = EPSILON 
)

bool DLLEXPORT_OST_GEOM geom::Equal ( const Line3 &  l1,
const Line3 &  l2,
Real  ephilon = EPSILON 
)

bool DLLEXPORT_OST_GEOM geom::Equal ( const Line2 &  l1,
const Line2 &  l2,
Real  ephilon = EPSILON 
)

bool DLLEXPORT_OST_GEOM geom::EqualPosition ( const Plane &  p1,
const Plane &  p2,
Real  ephilon = EPSILON 
)

bool DLLEXPORT_OST_GEOM geom::EqualPosition ( const Line3 &  l1,
const Line3 &  l2,
Real  ephilon = EPSILON 
)

bool DLLEXPORT_OST_GEOM geom::EqualPosition ( const Line2 &  l1,
const Line2 &  l2,
Real  ephilon = EPSILON 
)

Mat3 DLLEXPORT_OST_GEOM geom::EulerTransformation ( Real  theta,
Real  phi,
Real  xi 
)

DLLEXPORT void geom::ExportEulerAngles ( const Rotation3List &  rot_list,
const boost::filesystem::path &  loc 
)

Quat DLLEXPORT_OST_GEOM geom::Grassmann ( const Quat &  lhs,
const Quat &  rhs 
)

DLLEXPORT Rotation3List geom::ImportEulerAngles ( const boost::filesystem::path &  loc  ) 

Line3 DLLEXPORT_OST_GEOM geom::IntersectionLine ( const Plane &  p1,
const Plane &  p2 
)

Vec3 DLLEXPORT_OST_GEOM geom::IntersectionPoint ( const Plane &  p,
const Line3 &  l 
)

Vec3 DLLEXPORT_OST_GEOM geom::IntersectionPoint ( const Line3 &  l,
const Plane &  p 
)

Vec3 DLLEXPORT_OST_GEOM geom::IntersectionPoint ( const Line3 &  l1,
const Line3 &  l2 
)

Vec2 DLLEXPORT_OST_GEOM geom::IntersectionPoint ( const Line2 &  l1,
const Line2 &  l2 
)

Mat4 DLLEXPORT_OST_GEOM geom::Invert ( const Mat4 &  m  ) 

Mat3 DLLEXPORT_OST_GEOM geom::Invert ( const Mat3 &  m  ) 

Mat2 DLLEXPORT_OST_GEOM geom::Invert ( const Mat2 &  m  ) 

Matrix inversion.

DLLEXPORT_OST_GEOM bool geom::IsInCircle ( const Circle2 &  c,
const Vec2 &  v 
)

bool DLLEXPORT_OST_GEOM geom::IsInPlane ( const Plane &  p,
const Line3 &  l,
Real  ephilon = EPSILON 
)

bool DLLEXPORT_OST_GEOM geom::IsInPlane ( const Plane &  p,
const Vec3 &  v,
Real  ephilon = EPSILON 
)

DLLEXPORT_OST_GEOM bool geom::IsInPolygon ( const Polygon2 &  p,
const Vec2 &  v 
)

DLLEXPORT_OST_GEOM bool geom::IsInRectangle ( const Rectangle2 &  r,
const Vec2 &  v 
)

DLLEXPORT bool geom::IsInSphere ( const Sphere &  p,
const Vec3 &  v 
)

bool DLLEXPORT_OST_GEOM geom::IsOnLine ( const Line3 &  l,
const Vec3 &  v,
Real  ephilon = EPSILON 
)

bool DLLEXPORT_OST_GEOM geom::IsOnLine ( const Line2 &  l,
const Vec2 &  v,
Real  ephilon = EPSILON 
)

Real DLLEXPORT_OST_GEOM geom::Length ( const Vec4 &  v  ) 

returns length of vector

Real DLLEXPORT_OST_GEOM geom::Length ( const Vec3 &  v  ) 

returns length of vector

Real DLLEXPORT_OST_GEOM geom::Length ( const Vec2 &  v  ) 

returns length of vector

Real DLLEXPORT_OST_GEOM geom::Length2 ( const Vec4 &  v  ) 

returns squared length of vector

Real DLLEXPORT_OST_GEOM geom::Length2 ( const Vec3 &  v  ) 

returns squared length of vector

Real DLLEXPORT_OST_GEOM geom::Length2 ( const Vec2 &  v  ) 

returns squared length of vector

Vec4 DLLEXPORT_OST_GEOM geom::Max ( const Vec4 &  v1,
const Vec4 &  v2 
)

returns std::max of each component

Vec3 DLLEXPORT_OST_GEOM geom::Max ( const Vec3 &  v1,
const Vec3 &  v2 
)

returns std::max of each component

Vec2 DLLEXPORT_OST_GEOM geom::Max ( const Vec2 &  v1,
const Vec2 &  v2 
)

returns std::max of each component

Vec4 DLLEXPORT_OST_GEOM geom::Min ( const Vec4 &  v1,
const Vec4 &  v2 
)

returns std::min of each component

Vec3 DLLEXPORT_OST_GEOM geom::Min ( const Vec3 &  v1,
const Vec3 &  v2 
)

returns std::min of each component

Vec2 DLLEXPORT_OST_GEOM geom::Min ( const Vec2 &  v1,
const Vec2 &  v2 
)

returns std::min of each component

Real DLLEXPORT_OST_GEOM geom::Minor ( const Mat4 &  m,
unsigned int  i,
unsigned int  j 
)

Real DLLEXPORT_OST_GEOM geom::Minor ( const Mat3 &  m,
unsigned int  i,
unsigned int  j 
)

Vec4 DLLEXPORT_OST_GEOM geom::Normalize ( const Vec4 &  v  ) 

Vec3 DLLEXPORT_OST_GEOM geom::Normalize ( const Vec3 &  v  ) 

Normalize.

Vec2 DLLEXPORT_OST_GEOM geom::Normalize ( const Vec2 &  v  ) 

Normalize vector.

Quat DLLEXPORT_OST_GEOM geom::Normalize ( const Quat &  q  ) 

Mat4 DLLEXPORT_OST_GEOM geom::operator* ( const Mat4 &  m1,
const Mat4 &  m2 
)

Vec4 DLLEXPORT_OST_GEOM geom::operator* ( const Mat4 &  m,
const Vec4 &  v 
)

vector matrix multiplication

Vec4 DLLEXPORT_OST_GEOM geom::operator* ( const Vec4 &  v,
const Mat4 &  m 
)

vector matrix multiplication

Mat3 DLLEXPORT_OST_GEOM geom::operator* ( const Mat3 &  m1,
const Mat3 &  m2 
)

matrix matrix multiplication

Vec3 DLLEXPORT_OST_GEOM geom::operator* ( const Mat3 &  m,
const Vec3 &  v 
)

vector matrix multiplication

Vec3 DLLEXPORT_OST_GEOM geom::operator* ( const Vec3 &  v,
const Mat3 &  m 
)

vector matrix multiplication

Mat2 DLLEXPORT_OST_GEOM geom::operator* ( const Mat2 &  m1,
const Mat2 &  m2 
)

matrix matrix multiplication

Vec2 DLLEXPORT_OST_GEOM geom::operator* ( const Mat2 &  m,
const Vec2 &  v 
)

vector matrix multiplication

This corresponds to

|a b| (x) (ax+by) |c d| * (y) =(cx+dy)

Vec2 DLLEXPORT_OST_GEOM geom::operator* ( const Vec2 &  v,
const Mat2 &  m 
)

vector matrix multiplication

This corresponds to

|a b| (x,y) * |c d| = (ax+cy, bx+dy)

DLLEXPORT_OST_GEOM Vec4 geom::operator/ ( Real  ,
const Vec4 &  v 
)

DLLEXPORT_OST_GEOM Vec3 geom::operator/ ( Real  ,
const Vec3 &  v 
)

DLLEXPORT_OST_GEOM Vec2 geom::operator/ ( Real  d,
const Vec2 &  v 
)

DLLEXPORT_OST_GEOM std::ostream& geom::operator<< ( std::ostream &  ,
const Vec4 &   
)

DLLEXPORT_OST_GEOM std::ostream& geom::operator<< ( std::ostream &  ,
const Vec3 &   
)

DLLEXPORT_OST_GEOM std::ostream& geom::operator<< ( std::ostream &  ,
const Vec2 &   
)

DLLEXPORT_OST_GEOM std::ostream& geom::operator<< ( std::ostream &  str,
const Quat &  q 
)

DLLEXPORT_OST_GEOM std::ostream& geom::operator<< ( std::ostream &  os,
const Mat4 &  m 
)

DLLEXPORT_OST_GEOM std::ostream& geom::operator<< ( std::ostream &  o,
const Mat3 &  m 
)

DLLEXPORT_OST_GEOM std::ostream& geom::operator<< ( std::ostream &  os,
const Mat2 &  m 
)

std::ostream& geom::operator<< ( std::ostream &  s,
const Line3 &  l 
)

bool DLLEXPORT_OST_GEOM geom::operator== ( const Plane &  p1,
const Plane &  p2 
)

bool DLLEXPORT_OST_GEOM geom::operator== ( const Line3 &  l1,
const Line3 &  l2 
)

bool DLLEXPORT_OST_GEOM geom::operator== ( const Line2 &  l1,
const Line2 &  l2 
)

Vec3 DLLEXPORT_OST_GEOM geom::OrthogonalVector ( const Vec3 &  axis  ) 

get arbitrary vector orthogonal to axis

The returned vector is of length 1

int DLLEXPORT_OST_GEOM geom::RelativePosition ( const Plane &  p,
const Vec3 &  v,
Real  ephilon = EPSILON 
)

DLLEXPORT Vec2 geom::Rotate ( const Vec2 &  v,
Real  ang 
)

Rotation.

Real DLLEXPORT_OST_GEOM geom::SignedAngle ( const Vec2 &  v1,
const Vec2 &  v2 
)

angle beetwen two vectors (honors sign)

DLLEXPORT_OST_GEOM Polygon2 geom::SimplifyPolygon ( const Polygon2 &  p  ) 

Quat DLLEXPORT_OST_GEOM geom::Slerp ( const Quat &  q0,
const Quat &  q1,
Real  t 
)

Mat4 DLLEXPORT_OST_GEOM geom::Transpose ( const Mat4 &  m  ) 

Mat3 DLLEXPORT_OST_GEOM geom::Transpose ( const Mat3 &  m  ) 

Mat2 DLLEXPORT_OST_GEOM geom::Transpose ( const Mat2 &  m  ) 

Transpose.

AlignedCuboid DLLIMPORT geom::Union ( const AlignedCuboid &  lhs,
const AlignedCuboid &  rhs 
)


Variable Documentation

const Real EPSILON = 1e-10 [static]

Definition at line 25 of file constants.hh.


Generated on Fri Jul 2 14:23:06 2010 for OpenStructure by  doxygen 1.5.8