1#ifndef CHI_MESH_SURFACEMESH_H
2#define CHI_MESH_SURFACEMESH_H
26 const std::vector<chi_mesh::Vertex>&
29 const std::vector<chi_mesh::Face>&
32 const std::vector<chi_mesh::PolyFace*>&
48 std::vector<double>& vertices_1d_y);
57 void SplitByPatch(std::vector<chi_mesh::SurfaceMesh*>& patches);
66 std::vector<double>& y_cuts);
void SplitByPatch(std::vector< chi_mesh::SurfaceMesh * > &patches)
const std::vector< chi_mesh::Face > & GetTriangles() const
static SurfaceMesh * CreateFromDivisions(std::vector< double > &vertices_1d_x, std::vector< double > &vertices_1d_y)
int ImportFromTriangleFiles(const char *fileName, bool as_poly)
void ComputeLoadBalancing(std::vector< double > &x_cuts, std::vector< double > &y_cuts)
void ExportToOBJFile(const char *fileName)
const std::vector< chi_mesh::Vertex > & GetVertices() const
void ExportToPolyFile(const char *fileName)
std::vector< int > physical_region_map_
void CheckCyclicDependencies(int num_angles)
std::vector< chi_mesh::Edge > lines_
int ImportFromMshFiles(const char *fileName, bool as_poly)
friend std::ostream & operator<<(std::ostream &os, SurfaceMesh &dt)
std::vector< chi_mesh::PolyFace * > poly_faces_
Polygonal faces.
void UpdateInternalConnectivity()
std::vector< chi_mesh::Vertex > tex_vertices_
Texture vertices.
bool CheckNegativeSense(double x, double y, double z)
std::vector< chi_mesh::Vertex > vertices_
int ImportFromOBJFile(const std::string &fileName, bool as_poly=false, const chi_mesh::Vector3 &transform=Vector3(0, 0, 0))
std::vector< chi_mesh::Face > faces_
void ExtractOpenEdgesToObj(const char *fileName)
std::vector< chi_mesh::Normal > normals_
const std::vector< chi_mesh::PolyFace * > & GetPolygons() const