#include "TCMathCoord3D.h"
#include "TCMathCoord2D.h"


Go to the source code of this file.
Namespaces | |
| namespace | TC |
| namespace | TC::Math |
| TC::Math is intended to provide methods to perform common math operations. | |
Functions | |
| template<class COORD_TYPE > | |
| double | TC::Math::Distance (const COORD_TYPE &a, const COORD_TYPE &b) |
| Computes the distance of two 3-coordinates. | |
| template<class COORD_TYPE > | |
| double | TC::Math::Distance2 (const COORD_TYPE &a, const COORD_TYPE &b) |
| Computes the square distance of two 3-coordinates. | |
| template<class COORD_TYPE > | |
| COORD_TYPE::DataType | TC::Math::DotProduct (const COORD_TYPE &a, const COORD_TYPE &b) |
| Computes the dot product of two 3-coordinates (float-precision version). | |
| template<class COORD_TYPE > | |
| COORD_TYPE::DataType | TC::Math::DotProduct2 (const COORD_TYPE &a, const COORD_TYPE &b) |
| Computes the square dot product of two 3-coordinates. | |
| template<class COORD_TYPE > | |
| COORD_TYPE | TC::Math::Normalize (const COORD_TYPE &coord) |
| Computes the the normalized vector of the coord and returns it. | |
| template<class COORD_TYPE > | |
| COORD_TYPE | TC::Math::CrossProduct (const COORD_TYPE &a, const COORD_TYPE &b) |
| Computes the cross product of two 3-coordinates. | |
| template<class T > | |
| Coord3D< T > | TC::Math::Max (const Coord3D< T > &a, const Coord3D< T > &b) |
| template<class T > | |
| Coord2D< T > | TC::Math::Max (const Coord2D< T > &a, const Coord2D< T > &b) |
| template<class T > | |
| Coord3D< T > | TC::Math::Min (const Coord3D< T > &a, const Coord3D< T > &b) |
| template<class T > | |
| Coord2D< T > | TC::Math::Min (const Coord2D< T > &a, const Coord2D< T > &b) |
| template<class T > | |
| Coord3D< T > | TC::Math::Normalvector (sint32 numPoints, const Coord3D< T > *coords) |
| Calculates the normal vector of the plane defined by the points. | |
| template<class COORD_TYPE > | |
| double | TC::Math::Angle (const COORD_TYPE &a, const COORD_TYPE &b) |
| Computes the angle between two 3d vectors. | |
| template<class T > | |
| bool | TC::Math::IsPointInCircle (const Coord2D< T > &Point, const Coord2D< T > ¢er, double radius) |
| template<class T > | |
| bool | TC::Math::CheckInsidePolygon (const Coord2D< T > &point, sint32 num_points, const Coord2D< T > *polygon) |
Definition in file TCMathCoordUtil.h.