#include <vcg/space/box3.h>
#include <vcg/space/point2.h>
#include <vcg/space/point3.h>
#include <vcg/space/plane3.h>
#include <vcg/space/segment3.h>
Go to the source code of this file.
Classes | |
class | vcg::Triangle3< ScalarTriangleType > |
Namespaces | |
namespace | vcg |
* | |
Functions | |
template<class TriangleType > | |
Point3< typename TriangleType::ScalarType > | vcg::Barycenter (const TriangleType &t) |
template<class TriangleType > | |
Point3< typename TriangleType::ScalarType > | vcg::Circumcenter (const TriangleType &t) |
template<class TriangleType > | |
TriangleType::ScalarType | vcg::CosWedge (const TriangleType &t, int k) |
template<class TriangleType > | |
TriangleType::ScalarType | vcg::DoubleArea (const TriangleType &t) |
Return the Double of area of the triangle. | |
template<class TriangleType , class ScalarType > | |
bool | vcg::InterpolationParameters (const TriangleType t, const Point3< ScalarType > &N, const Point3< ScalarType > &bq, ScalarType &a, ScalarType &b, ScalarType &c) |
template<class TriangleType , class ScalarType > | |
bool | vcg::InterpolationParameters (const TriangleType t, const Point3< ScalarType > &N, const Point3< ScalarType > &P, Point3< ScalarType > &L) |
Handy Wrapper of the above one that uses the passed normal N to choose the right orientation. | |
template<class TriangleType , class ScalarType > | |
bool | vcg::InterpolationParameters (const TriangleType t, const int Axis, const Point3< ScalarType > &P, Point3< ScalarType > &L) |
template<class ScalarType > | |
bool | vcg::InterpolationParameters2 (const Point2< ScalarType > &V1, const Point2< ScalarType > &V2, const Point2< ScalarType > &V3, const Point2< ScalarType > &P, Point3< ScalarType > &L) |
template<class Point3Type > | |
Point3Type | vcg::Normal (Point3Type const &p0, Point3Type const &p1, Point3Type const &p2) |
template<class TriangleType > | |
Point3< typename TriangleType::ScalarType > | vcg::Normal (const TriangleType &t) |
Returns the normal to the plane passing through p0,p1,p2. | |
template<class Point3Type > | |
Point3Type | vcg::NormalizedNormal (Point3Type const &p0, Point3Type const &p1, Point3Type const &p2) |
template<class TriangleType > | |
Point3< typename TriangleType::ScalarType > | vcg::NormalizedNormal (const TriangleType &t) |
Like the above, it returns the normal to the plane passing through p0,p1,p2, but normalized. | |
template<class TriangleType > | |
TriangleType::ScalarType | vcg::Perimeter (const TriangleType &t) |
template<class P3ScalarType > | |
P3ScalarType | vcg::Quality (Point3< P3ScalarType > const &p0, Point3< P3ScalarType > const &p1, Point3< P3ScalarType > const &p2) |
template<class TriangleType > | |
TriangleType::ScalarType | vcg::QualityFace (const TriangleType &t) |
Returns the normal to the plane passing through p0,p1,p2. | |
template<class P3ScalarType > | |
P3ScalarType | vcg::QualityMeanRatio (Point3< P3ScalarType > const &p0, Point3< P3ScalarType > const &p1, Point3< P3ScalarType > const &p2) |
template<class P3ScalarType > | |
P3ScalarType | vcg::QualityRadii (Point3< P3ScalarType > const &p0, Point3< P3ScalarType > const &p1, Point3< P3ScalarType > const &p2) |
template<class TriangleType > | |
void | vcg::TrianglePointDistance (const TriangleType &t, const typename TriangleType::CoordType &q, typename TriangleType::ScalarType &dist, typename TriangleType::CoordType &closest) |
Computes the distance between a triangle and a point. |