#include <math.h>
#include <vector>
#include <stdlib.h>
#include <stdio.h>
#include "Hash.h"
#include "Geometry.inl"
Go to the source code of this file.
|
| template<class Real > |
| Real | Random (void) |
| |
| template<class Real > |
| Point3D< Real > | RandomBallPoint (void) |
| |
| template<class Real > |
| Point3D< Real > | RandomSpherePoint (void) |
| |
| template<class Real > |
| double | Length (const Point3D< Real > &p) |
| |
| template<class Real > |
| double | SquareLength (const Point3D< Real > &p) |
| |
| template<class Real > |
| double | Distance (const Point3D< Real > &p1, const Point3D< Real > &p2) |
| |
| template<class Real > |
| double | SquareDistance (const Point3D< Real > &p1, const Point3D< Real > &p2) |
| |
| template<class Real > |
| void | CrossProduct (const Point3D< Real > &p1, const Point3D< Real > &p2, Point3D< Real > &p) |
| |
| template<class Real > |
| void | EdgeCollapse (const Real &edgeRatio, std::vector< TriangleIndex > &triangles, std::vector< Point3D< Real > > &positions, std::vector< Point3D< Real > > *normals) |
| |
| template<class Real > |
| void | TriangleCollapse (const Real &edgeRatio, std::vector< TriangleIndex > &triangles, std::vector< Point3D< Real > > &positions, std::vector< Point3D< Real > > *normals) |
| |
◆ CrossProduct()
◆ Distance()
template<class Real >
| double Distance |
( |
const Point3D< Real > & |
p1, |
|
|
const Point3D< Real > & |
p2 |
|
) |
| |
◆ EdgeCollapse()
template<class Real >
| void EdgeCollapse |
( |
const Real & |
edgeRatio, |
|
|
std::vector< TriangleIndex > & |
triangles, |
|
|
std::vector< Point3D< Real > > & |
positions, |
|
|
std::vector< Point3D< Real > > * |
normals |
|
) |
| |
◆ Length()
template<class Real >
| double Length |
( |
const Point3D< Real > & |
p | ) |
|
◆ Random()
◆ RandomBallPoint()
template<class Real >
| Point3D<Real> RandomBallPoint |
( |
void |
| ) |
|
◆ RandomSpherePoint()
template<class Real >
| Point3D<Real> RandomSpherePoint |
( |
void |
| ) |
|
◆ SquareDistance()
template<class Real >
| double SquareDistance |
( |
const Point3D< Real > & |
p1, |
|
|
const Point3D< Real > & |
p2 |
|
) |
| |
◆ SquareLength()
template<class Real >
| double SquareLength |
( |
const Point3D< Real > & |
p | ) |
|
◆ TriangleCollapse()
template<class Real >
| void TriangleCollapse |
( |
const Real & |
edgeRatio, |
|
|
std::vector< TriangleIndex > & |
triangles, |
|
|
std::vector< Point3D< Real > > & |
positions, |
|
|
std::vector< Point3D< Real > > * |
normals |
|
) |
| |