Common/Geom/PointAlg.h File Reference

#include <Geom/Points.h>

Go to the source code of this file.

Namespaces

namespace  geom

Functions

Vec3d geom::crossProduct (const Vec3d &v0, const Vec3d &v1)
 The cross-product of two 3-dimensional vectors.
Point3d geom::crossProduct (const Point3d &v0, const Point3d &v1)
 The cross-product of two 3-dimensional points.
template<class V>
double geom::tripleProduct (const V &v0, const V &v1, const V &v2)
double geom::crossProduct (const Vec2d &v0, const Vec2d &v1)
 The cross-product of two 2-dimensional vectors.
double geom::crossProduct (const Point2d &v0, const Point2d &v1)
 The cross-product of two 2-dimensional points.
template<int n>
VecNd< n > geom::normalize (const VecNd< n > &v)
 Take a vector and return a unit vector in the same direction.
template<int n>
double geom::length (const VecNd< n > &v)
 The magnitude of a vector.
double geom::angle (const Vec2d &v0, const Vec2d &v1)
 The angle between two planar vectors, in radians.
template<int n>
double geom::distance (const PointNd< n > &p0, const PointNd< n > &p1)
 The Euclidean distance between two points.
template<class Vec>
Vec geom::projectParallel (const Vec &v1, const Vec &v2)
 Get the component of v1 that is in the direction of v2.
template<class Vec>
Vec geom::projectPerp (const Vec &v1, const Vec &v2)
 Get the component of v1 that is not in the direction of v2.


Detailed Description

Functions for algebra on points and vectors.
Generated on Tue Jan 29 21:37:57 2008 for VoluMill Universal Client by  doxygen 1.4.6