ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Geometry.h File Reference
#include <math.h>
#include <vector>
#include <stdlib.h>
#include <stdio.h>
#include "Hash.h"
#include "Geometry.inl"
Include dependency graph for Geometry.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Point3D< Real >
 
struct  XForm3x3< Real >
 
struct  XForm4x4< Real >
 
struct  Edge
 
class  Triangle
 
class  CoredPointIndex
 
class  EdgeIndex
 
class  CoredEdgeIndex
 
class  TriangleIndex
 
class  TriangulationEdge
 
class  TriangulationTriangle
 
class  Triangulation< Real >
 
struct  CoredVertexIndex
 
class  CoredMeshData< Vertex >
 
class  CoredVectorMeshData< Vertex >
 
class  BufferedReadWriteFile
 
class  CoredFileMeshData< Vertex >
 

Functions

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)
 

Function Documentation

◆ CrossProduct()

template<class Real >
void CrossProduct ( const Point3D< Real > &  p1,
const Point3D< Real > &  p2,
Point3D< Real > &  p 
)

◆ 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()

template<class Real >
Real Random ( void  )

◆ 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 
)