Index

C++ Code Documentation

template <class Number> math::Vector3Math

Derived from: math::Vector3

File: BASE/math/Vector3Math.H

public:
  • inline Vector3Math();
    void constructor
  • inline Vector3Math( Number, Number, Number );
    constructor
  • inline Vector3Math( Number * );
    constructor
  • inline Vector3Math( Vector3<Number> const &a );
    copy constructor
  • inline ~Vector3Math();
    destructor
  • inline Vector3Math<Number> &operator=( Vector3<Number> const &a );
    assignment operators
  • static inline Number det( Vector3Math<Number> const &a, Vector3Math<Number> const &b, Vector3Math<Number> const &c );
    R^3 OPERATIONS det(a, b, c)
  • static inline Number area( Vector3Math<Number> const &a, Vector3Math<Number> const &b );
    area of (unoriented) triangle with vertices a, 0, b returns value in [0,infty)
  • static inline Number area( Vector3Math<Number> const &a, Vector3Math<Number> const &b, Vector3Math<Number> const &c );
    area of (unoriented) triangle with vertices a, b, c returns value in [0,infty)
  • static inline Number angle( Vector3Math<Number> const &a, Vector3Math<Number> const &b );
    returns the (unoriented) angle from 0a to 0b (0=origin) returned value in [0,pi)
  • static inline Number angle( Vector3Math<Number> const &a, Vector3Math<Number> const &o, Vector3Math<Number> const &b );
    returns the (unoriented) angle from oa to ob returned value in [0,pi)
  • inline void cross( Vector3Math<Number> const &a, Vector3Math<Number> const &b );
    c = oa cross ob
  • inline int normal( Vector3Math<Number> const &, Vector3Math<Number> const &, Vector3Math<Number> const & );
    returns normal to plane containing points a, b, c
  • static inline Number cross_norm(Vector3Math<Number> const &, Vector3Math<Number> const & );
    norm(a)*norm(b) - (a.b)^2
  • static inline Number dihedral_angle( Vector3Math<Number> const &a, Vector3Math<Number> const &b, Vector3Math<Number> const &c, Vector3Math<Number> const &d );
    returns the (unoriented) dihedral angle between the planes spanned by a,b,c and a,b,d
protected:
private:


template <class Number> math::Vector3Math GANG