Go to the documentation of this file.
19 out <<
"[ " << tri.
i1_ <<
" " << tri.
i2_ <<
" " << tri.
i3_ <<
" ]";
40 unsigned int addPoint(
double x,
double y,
double z);
55 void addTriangle(
unsigned int i1,
unsigned int i2,
unsigned int i3);
double max_radius_squared_cache_
Cached squared maximum radius.
friend std::ostream & operator<<(std::ostream &out, const TriangleI &tri)
unsigned int i3_
Points in the Mesh::points_ vector.
const geo::Vector3 getTriangleNormal(unsigned int index) const
Calculates the nornaml of a triangle in the mesh.
const std::vector< TriangleI > & getTriangleIs() const
std::vector< Triangle > triangles_cache_
Cached output result.
void add(const Mesh &mesh)
double getMaxRadius() const
double getSquaredMaxRadius() const
const std::vector< geo::Vector3 > & getPoints() const
Mesh getTransformed(const geo::Transform t) const
unsigned int addPoint(double x, double y, double z)
const std::vector< Triangle > & getTriangles() const
TriangleI(unsigned int i1, unsigned int i2, unsigned int i3)
std::vector< TriangleI > triangles_i_
Triangles of the mesh.
double max_radius_cache_
Cached maximum radius.
void filterOverlappingVertices()
void addTriangle(unsigned int i1, unsigned int i2, unsigned int i3)
std::vector< geo::Vector3 > points_
Points of the mesh.