|
| | MeshUtilities () |
| |
| | ~MeshUtilities () |
| |
| void | ExtractActiveMesh (Gedim::IMeshDAO &mesh, Gedim::MeshUtilities::ExtractActiveMeshData &extractionData) const |
| | Extract Active Cells from mesh.
|
| |
| Gedim::MeshUtilities::FilterMeshData | FilterActiveMesh (const Gedim::IMeshDAO &mesh) const |
| |
| Gedim::MeshUtilities::FilterMeshData | FilterMesh1D (const std::vector< unsigned int > &cell1DsFilter, const Gedim::IMeshDAO &mesh) const |
| | Extract mesh1D cells from a mesh.
|
| |
| Gedim::MeshUtilities::FilterMeshData | FilterMesh2D (const std::vector< unsigned int > &cell2DsFilter, const Gedim::IMeshDAO &mesh) const |
| | Extract mesh2D cells from a mesh.
|
| |
| Gedim::MeshUtilities::FilterMeshData | FilterMesh3D (const std::vector< unsigned int > &cell3DsFilter, const Gedim::IMeshDAO &mesh) const |
| | Extract mesh3D cells from a mesh.
|
| |
| Gedim::MeshUtilities::ExtractMeshData | ExtractMesh1D (const std::vector< unsigned int > &cell0DsFilter, const std::vector< unsigned int > &cell1DsFilter, const Gedim::IMeshDAO &originalMesh, Gedim::IMeshDAO &mesh) const |
| |
| Gedim::MeshUtilities::ExtractMeshData | ExtractMesh2D (const std::vector< unsigned int > &cell0DsFilter, const std::vector< unsigned int > &cell1DsFilter, const std::vector< unsigned int > &cell2DsFilter, const Gedim::IMeshDAO &originalMesh, Gedim::IMeshDAO &mesh) const |
| |
| Gedim::MeshUtilities::ExtractMeshData | ExtractMesh3D (const std::vector< unsigned int > &cell0DsFilter, const std::vector< unsigned int > &cell1DsFilter, const std::vector< unsigned int > &cell2DsFilter, const std::vector< unsigned int > &cell3DsFilter, const Gedim::IMeshDAO &originalMesh, Gedim::IMeshDAO &mesh) const |
| |
| void | FillMesh1D (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::Vector3d &segmentOrigin, const Eigen::Vector3d &segmentTangent, const std::vector< double > &coordinates, Gedim::IMeshDAO &mesh) const |
| | Fill Mesh 1D From segment Coordinates.
|
| |
| void | FillMesh2D (const Eigen::MatrixXd &cell0Ds, const Eigen::MatrixXi &cell1Ds, const std::vector< Eigen::MatrixXi > &cell2Ds, Gedim::IMeshDAO &mesh) const |
| | Fill a Mesh 2D with vertices, edges and polygons.
|
| |
| void | FillMesh3D (const Eigen::MatrixXd &cell0Ds, const Eigen::MatrixXi &cell1Ds, const std::vector< Eigen::MatrixXi > &cell2Ds, const std::vector< Mesh3DPolyhedron > &cell3Ds, Gedim::IMeshDAO &mesh) const |
| |
| void | FillMesh3D (const Eigen::MatrixXd &cell0Ds, const std::vector< std::pair< unsigned int, unsigned int > > &cell1Ds_vertices, const std::vector< std::vector< unsigned int > > &cell2Ds_vertices, const std::vector< std::vector< unsigned int > > &cell2Ds_edges, const std::vector< std::vector< unsigned int > > &cell3Ds_vertices, const std::vector< std::vector< unsigned int > > &cell3Ds_edges, const std::vector< std::vector< unsigned int > > &cell3Ds_faces, Gedim::IMeshDAO &mesh) const |
| |
| void | FillMesh3D (const Eigen::MatrixXd &cell0Ds, const std::vector< std::vector< std::vector< unsigned int > > > &cell3Ds_faces_vertices, Gedim::IMeshDAO &mesh) const |
| |
| void | FixCell2DsOrientation (const Gedim::GeometryUtilities &geometryUtilities, IMeshDAO &mesh) const |
| |
| void | SetMesh3DMarker (const unsigned int marker, Gedim::IMeshDAO &mesh) const |
| |
| Gedim::MeshUtilities::ComputeMesh2DCell1DsResult | ComputeMesh2DCell1Ds (const Eigen::MatrixXd &cell0Ds, const std::vector< Eigen::VectorXi > &cell2Ds) const |
| | Compute edges in a Mesh 2D with vertices and polygons.
|
| |
| void | CheckMesh2D (const Gedim::MeshUtilities::CheckMesh2DConfiguration &configuration, const Gedim::GeometryUtilities &geometryUtilities, const Gedim::IMeshDAO &convexMesh) const |
| | Check Mesh2D correctness.
|
| |
| void | CheckMesh3D (const Gedim::MeshUtilities::CheckMesh3DConfiguration &configuration, const Gedim::GeometryUtilities &geometryUtilities, const Gedim::IMeshDAO &mesh) const |
| | Check Mesh3D correctness.
|
| |
| Gedim::MeshUtilities::ComputeMesh3DAlignedCell1DsResult | ComputeMesh3DAlignedCell1Ds (const std::vector< std::vector< std::vector< unsigned int > > > &cell3DsAlignedEdgesVertices, const std::vector< std::vector< std::vector< unsigned int > > > &cell3DsAlignedEdgesEdges, const Gedim::IMeshDAO &mesh) const |
| | Compute edges in a Mesh 2D with vertices and polygons.
|
| |
| void | CheckMeshGeometricData3D (const Gedim::MeshUtilities::CheckMeshGeometricData3DConfiguration &configuration, const Gedim::GeometryUtilities &geometryUtilities, const Gedim::IMeshDAO &mesh, const Gedim::MeshUtilities::MeshGeometricData3D &geometricData) const |
| | Check MeshGeometricData3D correctness.
|
| |
| void | Mesh1DFromSegment (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::MatrixXd &segmentVertices, const std::vector< unsigned int > vertexMarkers, Gedim::IMeshDAO &mesh) const |
| | Create a Mesh 1D with a segment.
|
| |
| void | Mesh2DFromPolygon (const Eigen::MatrixXd &polygonVertices, const std::vector< unsigned int > vertexMarkers, const std::vector< unsigned int > edgeMarkers, Gedim::IMeshDAO &mesh) const |
| | Create a Mesh 2D with a polygon.
|
| |
| void | SetMeshMarkersOnLine (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::Vector3d &lineOrigin, const Eigen::Vector3d &lineTangent, const double &lineTangentSquaredLength, const unsigned int &marker, Gedim::IMeshDAO &mesh) const |
| | Set the marker on all the mesh 2D elements laying on the line.
|
| |
| void | SetMeshMarkersOnSegment (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::Vector3d &segment_origin, const Eigen::Vector3d &segment_tangent, const double &segment_tangent_squared_length, const unsigned int &marker, Gedim::IMeshDAO &mesh) const |
| |
| void | Mesh3DFromPolyhedron (const Eigen::MatrixXd &polyhedronVertices, const Eigen::MatrixXi &polyhedronEdges, const std::vector< Eigen::MatrixXi > &polyhedronFaces, const std::vector< unsigned int > vertexMarkers, const std::vector< unsigned int > edgeMarkers, const std::vector< unsigned int > faceMarkers, Gedim::IMeshDAO &mesh) const |
| | Create a Mesh 3D with a polyhedron.
|
| |
| void | SetMeshMarkersOnPlane (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::Vector3d &planeNormal, const Eigen::Vector3d &planeOrigin, const unsigned int &marker, Gedim::IMeshDAO &mesh) const |
| | Set the marker on all the mesh 3D elements laying on the plane.
|
| |
| void | SetMeshMarkersByFaceNormal (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::Vector3d &normal, const std::vector< Eigen::Vector3d > &cell2Ds_normal, const unsigned int &marker, Gedim::IMeshDAO &mesh) const |
| |
| void | SetMeshMarkersOnPolygon (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::Vector3d &polygon_plane_normal, const Eigen::Vector3d &polygon_plane_origin, const Eigen::MatrixXd &polygon_vertices_2D, const Eigen::Vector3d &polygon_translation, const Eigen::Matrix3d &polygon_rotation_matrix, const unsigned int &marker, Gedim::IMeshDAO &mesh) const |
| |
| void | SetMeshMarkersOnPolygon (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::Vector3d &polygon_plane_normal, const Eigen::Vector3d &polygon_plane_origin, const Eigen::MatrixXd &polygon_vertices_2D, const Eigen::Vector3d &polygon_translation, const Eigen::Matrix3d &polygon_rotation_matrix, const std::vector< Eigen::Vector3d > &cell1Ds_centroid, const std::vector< Eigen::Vector3d > &cell2Ds_centroid, const unsigned int &marker, Gedim::IMeshDAO &mesh) const |
| |
| std::vector< unsigned int > | MeshCell2DRoots (const Gedim::IMeshDAO &mesh) const |
| | Extract the mesh Cell2D Roots.
|
| |
| MeshGeometricData1D | FillMesh1DGeometricData (const Gedim::GeometryUtilities &geometryUtilities, const Gedim::IMeshDAO &convexMesh) const |
| | Fill Mesh1D Geometric Data given a mesh with convex mesh cells.
|
| |
| MeshGeometricData1D | ImportMeshGeometricData1DFromTxt (const std::string &file_path) |
| |
| void | ExportMeshGeometricData1DToTxt (const MeshGeometricData1D &mesh_geometric_data, const std::string &file_path) |
| |
| MeshGeometricData2D | FillMesh2DGeometricData (const Gedim::GeometryUtilities &geometryUtilities, const Gedim::IMeshDAO &convexMesh) const |
| | Fill Mesh2D Geometric Data given a mesh with convex mesh cells.
|
| |
| MeshUtilities::MeshGeometricData2D | FillMesh2DGeometricData (const Gedim::GeometryUtilities &geometryUtilities, const Gedim::IMeshDAO &mesh, const std::vector< Gedim::GeometryUtilities::PolygonTypes > &meshCell2DsPolygonType, const MeshGeometricData2DConfig &config=MeshGeometricData2DConfig()) const |
| | Fill Mesh2D Geometric Data given a mesh with mesh cells type.
|
| |
| MeshGeometricData2D | FillMesh2DGeometricData (const Gedim::GeometryUtilities &geometryUtilities, const Gedim::IMeshDAO &mesh, const Gedim::IMeshDAO &convexMesh, const std::vector< std::vector< unsigned int > > &meshCell2DToConvexCell2DIndices) const |
| | Fill Mesh2D Geometric Data starting given a mesh with non convex mesh cells and its convex sub-mesh cells.
|
| |
| MeshGeometricData2D | ImportMeshGeometricData2DFromTxt (const std::string &file_path) |
| |
| void | ExportMeshGeometricData2DToTxt (const MeshGeometricData2D &mesh_geometric_data, const std::string &file_path) |
| |
| MeshGeometricData3D | FillMesh3DGeometricData (const Gedim::GeometryUtilities &geometryUtilities, const Gedim::IMeshDAO &convexMesh) const |
| | Fill Mesh3D Geometric Data given a mesh with convex mesh cells.
|
| |
| MeshGeometricData3D | FillMesh3DGeometricData (const Gedim::GeometryUtilities &geometryUtilities, const Gedim::IMeshDAO &mesh, const Gedim::IMeshDAO &convexMesh, const std::vector< std::vector< unsigned int > > &meshCell3DToConvexCell3DIndices) const |
| | Fill Mesh3D Geometric Data starting given a mesh with non convex mesh cells and its convex sub-mesh cells.
|
| |
| MeshGeometricData3D | FillMesh3DGeometricData (const Gedim::GeometryUtilities &geometryUtilities, const Gedim::IMeshDAO &mesh, const std::vector< std::vector< Eigen::MatrixXd > > &cell3Ds_tetra_vertices, const std::vector< std::vector< Eigen::Matrix3d > > &cell2Ds_triangles_3D_vertices) const |
| |
| MeshGeometricData3D | ImportMeshGeometricData3DFromTxt (const std::string &file_path) |
| |
| void | ExportMeshGeometricData3DToTxt (const MeshGeometricData3D &mesh_geometric_data, const std::string &file_path) |
| |
| void | ComputeCell0DCell1DNeighbours (Gedim::IMeshDAO &mesh) const |
| |
| void | ComputeCell0DCell2DNeighbours (Gedim::IMeshDAO &mesh) const |
| |
| void | ComputeCell0DCell3DNeighbours (Gedim::IMeshDAO &mesh) const |
| |
| void | ComputeCell1DCell2DNeighbours (Gedim::IMeshDAO &mesh) const |
| | Compute Cell1D Cell2DNeighbours with given mesh data.
|
| |
| void | ComputeCell1DCell3DNeighbours (Gedim::IMeshDAO &mesh) const |
| | Compute Cell1D Cell3DNeighbours with given mesh data.
|
| |
| void | ComputeCell2DCell3DNeighbours (Gedim::IMeshDAO &mesh) const |
| | Compute Cell2D Cell3DNeighbours with given mesh data.
|
| |
| void | CreateRectangleMesh (const Eigen::Vector3d &rectangleOrigin, const Eigen::Vector3d &rectangleBaseTangent, const Eigen::Vector3d &rectangleHeightTangent, const std::vector< double > &baseMeshCurvilinearCoordinates, const std::vector< double > &heightMeshCurvilinearCoordinates, Gedim::IMeshDAO &mesh) const |
| | Crete rectange Mesh on rectangle base x height.
|
| |
| void | CreateStructuredTriangularMesh (const Eigen::Vector3d &rectangleOrigin, const Eigen::Vector3d &rectangleBaseTangent, const Eigen::Vector3d &rectangleHeightTangent, const std::vector< double > &baseMeshCurvilinearCoordinates, const std::vector< double > &heightMeshCurvilinearCoordinates, Gedim::IMeshDAO &mesh) const |
| |
| void | CreateParallelepipedMesh (const Eigen::Vector3d &rectangleOrigin, const Eigen::Vector3d &rectangleLengthTangent, const Eigen::Vector3d &rectangleHeightTangent, const Eigen::Vector3d &rectangleWidthTangent, const std::vector< double > &lengthMeshCurvilinearCoordinates, const std::vector< double > &heightMeshCurvilinearCoordinates, const std::vector< double > &widthMeshCurvilinearCoordinates, Gedim::IMeshDAO &mesh) const |
| |
| void | CreateTrianglePlusHangingNodesMesh (const Eigen::Vector3d &rectangleOrigin, const Eigen::Vector3d &rectangleBaseTangent, const Eigen::Vector3d &rectangleHeightTangent, const std::vector< double > &baseMeshCurvilinearCoordinates, const std::vector< double > &heightMeshCurvilinearCoordinates, const std::vector< unsigned int > &numberOfAddedVerticesForEachRectangle, const Gedim::GeometryUtilities &geometryUtilities, Gedim::IMeshDAO &mesh) const |
| |
| void | CreateRectanglePlusHangingNodesMesh (const Eigen::Vector3d &rectangleOrigin, const Eigen::Vector3d &rectangleBaseTangent, const Eigen::Vector3d &rectangleHeightTangent, const std::vector< double > &baseMeshCurvilinearCoordinates, const std::vector< double > &heightMeshCurvilinearCoordinates, const std::vector< unsigned int > &numberOfAddedVerticesForEachRectangle, const Gedim::GeometryUtilities &geometryUtilities, Gedim::IMeshDAO &mesh) const |
| |
| void | CreateQuadrilateralMeshFromTriangularMesh (const Gedim::GeometryUtilities &geometryUtilities, const Gedim::IMeshDAO &triangular_mesh, Gedim::IMeshDAO &mesh) const |
| | Create a quadrilateral mesh starting from a triangular mesh: the mesh is created by dividing triangles intro 3 quadrilaterals obtained by connecting the centroid to edge midpoints.
|
| |
| void | CreateQuadrilateralMeshFromTriangularMesh (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::MatrixXd &polygonVertices, const double &maxTriangleArea, Gedim::IMeshDAO &mesh) const |
| |
| void | CreateTriangularMesh (const Eigen::MatrixXd &polygonVertices, const double &maxTriangleArea, Gedim::IMeshDAO &mesh, const std::string &options="-QDzpqnea") const |
| | Create triangular mesh on 2D polygon.
|
| |
| void | CreatePolygonalMesh (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::MatrixXd &polygonVertices, const unsigned int numPoints, const unsigned int numIterations, Gedim::IMeshDAO &mesh, const unsigned int random_seed=0) const |
| |
| void | CreateTetrahedralMesh (const Eigen::MatrixXd &polyhedronVertices, const Eigen::MatrixXi &polyhedronEdges, const std::vector< Eigen::MatrixXi > &polyhedronFaces, const double &maxTetrahedronVolume, Gedim::IMeshDAO &mesh, const std::string &options="Qpqfezna") const |
| | Create tetrahedral mesh on 3D polyhedron.
|
| |
| void | CreateTetrahedralMesh (const Eigen::MatrixXd &points, const std::vector< std::vector< unsigned int > > &facets, const double &maxTetrahedronVolume, Gedim::IMeshDAO &mesh, const std::string &options="Qpqfezna") const |
| |
| void | CreateDelaunayMesh3D (const Eigen::MatrixXd &points, const std::vector< unsigned int > &points_marker, Gedim::IMeshDAO &mesh) const |
| |
| void | CreatePolyhedralMesh (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::MatrixXd &polyhedronVertices, const Eigen::MatrixXi &polyhedronEdges, const std::vector< Eigen::MatrixXi > &polyhedronFaces, const unsigned int numPoints, const unsigned int numIterations, Gedim::IMeshDAO &mesh, const unsigned int random_seed=0) const |
| |
| void | MakeMeshTriangularFaces (const std::vector< std::vector< unsigned int > > &faces_triangulation, Gedim::IMeshDAO &mesh) const |
| |
| void | ImportTriangularMesh (const Gedim::GeometryUtilities &geometry_utilities, const std::string &cell0Ds_file_path, const std::string &cell2Ds_file_path, const std::string &marker_file_path, const char separator, Gedim::IMeshDAO &mesh) const |
| | Import triangular 2D mesh (non standard simple format)
|
| |
| void | ImportRegnFaceMesh (const Gedim::GeometryUtilities &geometry_utilities, const std::string &node_file_path, const std::string &ele_file_path, IMeshDAO &mesh) const |
| | Import regn_face 3D mesh (non standard polyhedral format)
|
| |
| void | ImportOpenVolumeMesh (const std::string &ovmFilePath, Gedim::IMeshDAO &mesh, std::vector< std::vector< bool > > &meshCell3DsFacesOrientation) const |
| | Import 3D mesh from OVM file.
|
| |
| void | ExportMeshToOpenVolume (const Gedim::IMeshDAO &mesh, const std::vector< std::vector< bool > > &meshCell3DsFacesOrientation, const std::string &ovmFilePath) const |
| | Export 3D mesh to OVM file.
|
| |
| void | ImportVtkMesh3D (const std::string &vtkFilePath, Gedim::IMeshDAO &mesh) const |
| | Import 3D mesh from VTK file.
|
| |
| void | ImportObjectFileFormat (const std::string &offFilePath, Gedim::IMeshDAO &mesh) const |
| | Import 2D mesh from OFF file.
|
| |
| void | ExportMeshToObjectFileFormat (const Gedim::IMeshDAO &mesh, const std::string &offFilePath) const |
| | Export 2D mesh to OFF file.
|
| |
| void | ImportWavefrontOBJ (const std::string &offFilePath, Gedim::IMeshDAO &mesh) const |
| | Import 2D mesh from OBJ file.
|
| |
| void | ExportMeshToWavefrontOBJ (const Gedim::IMeshDAO &mesh, const std::string &offFilePath) const |
| | Export 2D mesh to OBJ file.
|
| |
| void | ChangePolygonMeshMarkers (const Eigen::MatrixXd &polygonVertices, const std::vector< unsigned int > &cell0DMarkers, const std::vector< unsigned int > &cell1DMarkers, Gedim::IMeshDAO &mesh) const |
| | Change Polygon Mesh Markers from { 1, 2, 3, 4, ..., numVertices } for cell0Ds and { 5, 6, 7, 8, ..., 2 * numVertices } for cell1Ds to cell0DMarkers and cell1DMarkers.
|
| |
| void | ChangePolyhedronMeshMarkers (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::MatrixXd &polyhedron_vertices, const Eigen::MatrixXi &polyhedron_edges, const std::vector< Eigen::MatrixXi > &polyhedron_faces, const Eigen::MatrixXd &polyhedron_edges_tangent, const Eigen::VectorXd &polyhedron_edges_length, const std::vector< Eigen::Vector3d > &polyhedron_faces_normal, const std::vector< Eigen::MatrixXd > &polyhedron_faces_vertices, const std::vector< Eigen::MatrixXd > &polyhedron_faces_vertices_2D, const std::vector< Eigen::Vector3d > &polyhedron_faces_translation, const std::vector< Eigen::Matrix3d > &polyhedron_faces_rotation_matrix, const std::vector< unsigned int > &polyhedron_vertices_marker, const std::vector< unsigned int > &polyhedron_edges_marker, const std::vector< unsigned int > &polyhedron_faces_marker, const std::vector< Eigen::Vector3d > &cell1Ds_centroid, const std::vector< Eigen::Vector3d > &cell2Ds_centroid, Gedim::IMeshDAO &mesh) const |
| |
| void | ExportMeshToVTU (const Gedim::IMeshDAO &mesh, const std::string &exportFolder, const std::string &fileName, const bool &separateFile=false) const |
| | Export Mesh To VTU.
|
| |
| void | ExportMeshToUCD (const Gedim::IMeshDAO &mesh, const std::string &exportFolder, const std::string &fileName, const bool &separateFile=false) const |
| | Export Mesh To UCD.
|
| |
| void | ExportMeshToMEDIT (const Gedim::IMeshDAO &mesh, const std::string &exportFolder, const std::string &fileName, const bool &separateFile=false, const unsigned int &order=1) const |
| | Export Mesh To MEDIT.
|
| |
| void | ExportCell2DToVTU (const Gedim::IMeshDAO &mesh, const unsigned int &cell2DIndex, const Eigen::MatrixXd &cell2DVertices, const std::vector< Eigen::Matrix3d > &cell2DTriangulations, const double &cell2DArea, const Eigen::Vector3d &cell2DCentroid, const std::string &exportFolder) const |
| | Export Cell2D To VTU.
|
| |
| void | ExportCell3DToVTU (const Gedim::GeometryUtilities &geometryUtilities, const Gedim::IMeshDAO &mesh, const unsigned int &cell3DIndex, const Eigen::MatrixXd &cell3DVertices, const std::vector< Eigen::MatrixXd > &cell3DTetrahedrons, const std::vector< std::vector< Eigen::Matrix3d > > &cell3DFaces3DTriangulations, const double &cell3DVolume, const Eigen::Vector3d &cell3DCentroid, const std::vector< Eigen::Vector3d > &cell3DFacesTranslation, const std::vector< Eigen::Matrix3d > &cell3DFacesRotationMatrix, const std::vector< double > &cell3DFacesArea, const std::vector< Eigen::MatrixXd > &cell3DFaces2DVertices, const std::vector< Eigen::MatrixXd > &cell3DFaces3DVertices, const std::vector< Eigen::VectorXd > &cell3DFacesEdgeLengths, const std::vector< std::vector< bool > > &cell3DFacesEdgeDirections, const std::vector< Eigen::MatrixXd > &cell3DFacesEdges2DTangent, const std::vector< Eigen::MatrixXd > &cell3DFacesEdges2DNormal, const std::vector< Eigen::Vector3d > &cell3DFacesNormals, const std::vector< bool > &cell3DFacesNormalDirections, const std::vector< Eigen::Vector3d > &cell3DFaces2DCentroids, const std::string &exportFolder) const |
| |
| Gedim::GeometryUtilities::Polyhedron | MeshCell3DToPolyhedron (const Gedim::IMeshDAO &mesh, const unsigned int &cell3DIndex) const |
| | Convert a mesh cell3D to a geometric polydheron.
|
| |
| MeshUtilities::VTPPolyhedron | MeshCell3DToVTPPolyhedron (const Gedim::IMeshDAO &mesh, const unsigned int &cell3DIndex) const |
| | Convert a mesh cell3D to a VTP polydheron.
|
| |
| std::vector< unsigned int > | SplitCell1D (const unsigned int &cell1DIndex, const Eigen::MatrixXi subCell1Ds, Gedim::IMeshDAO &mesh) const |
| | Split cell2D into subcells.
|
| |
| std::vector< unsigned int > | SplitCell2D (const unsigned int &cell2DIndex, const std::vector< Eigen::MatrixXi > &subCell2Ds, Gedim::IMeshDAO &mesh) const |
| | Split cell2D into subcells.
|
| |
| std::vector< unsigned int > | SplitCell3D (const unsigned int &cell3DIndex, const std::vector< std::vector< unsigned int > > &subCell3DsVertices, const std::vector< std::vector< unsigned int > > &subCell3DsEdges, const std::vector< std::vector< unsigned int > > &subCell3DsFaces, Gedim::IMeshDAO &mesh) const |
| | Split cell3D into subcells.
|
| |
| Gedim::MeshUtilities::AgglomerateCell1DInformation | AgglomerateCell1Ds (const std::unordered_set< unsigned int > &cell1DsIndex, const Gedim::IMeshDAO &mesh) const |
| |
| Gedim::MeshUtilities::AgglomerateCell2DInformation | AgglomerateCell2Ds (const Gedim::GeometryUtilities &geometryUtilities, const std::unordered_set< unsigned int > &cell2DsIndex, const Gedim::IMeshDAO &mesh) const |
| |
| Gedim::MeshUtilities::AgglomerateCell3DInformation | AgglomerateCell3Ds (const std::unordered_set< unsigned int > &cell3DsIndex, const Gedim::IMeshDAO &mesh) const |
| |
| unsigned int | AgglomerateCell1Ds (const std::unordered_set< unsigned int > &subCell1DsIndex, const std::vector< unsigned int > &agglomerateCell1DVertices, const std::vector< unsigned int > &subCell1DsRemovedCell0Ds, Gedim::IMeshDAO &mesh, std::vector< std::vector< unsigned int > > &meshCell1DsOriginalCell1Ds, const bool mantain_neigh2D_order=false) const |
| |
| unsigned int | AgglomerateCell2Ds (const std::unordered_set< unsigned int > &subCell2DsIndex, const std::vector< unsigned int > &agglomerateCell2DVertices, const std::vector< unsigned int > &agglomerateCell2DEdges, const std::vector< unsigned int > &subCell2DsRemovedCell0Ds, const std::vector< unsigned int > &subCell2DsRemovedCell1Ds, Gedim::IMeshDAO &mesh, std::vector< std::vector< unsigned int > > &meshCell2DsOriginalCell2Ds) const |
| |
| unsigned int | AgglomerateCell3Ds (const std::unordered_set< unsigned int > &subCell3DsIndex, const std::vector< unsigned int > &agglomerateCell3DVertices, const std::vector< unsigned int > &agglomerateCell3DEdges, const std::vector< unsigned int > &agglomerateCell3DFaces, const std::vector< unsigned int > &subCell3DsRemovedCell0Ds, const std::vector< unsigned int > &subCell3DsRemovedCell1Ds, const std::vector< unsigned int > &subCell3DsRemovedCell2Ds, Gedim::IMeshDAO &mesh, std::vector< std::vector< unsigned int > > &meshCell3DsOriginalCell3Ds) const |
| |
| void | CreateRandomlyDeformedQuadrilaterals (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::Vector3d &rectangleOrigin, const Eigen::Vector3d &rectangleBaseTangent, const Eigen::Vector3d &rectangleHeightTangent, const unsigned int &numQuadrilateralsBaseTangent, const unsigned int &numQuadrilateralsHeightTangent, const double &maxDeformingPercentageBase, const double &maxDeformingPercentageHeight, Gedim::IMeshDAO &mesh) const |
| |
| void | CreateDistortedQuadrilaterals (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::Vector3d &rectangleOrigin, const Eigen::Vector3d &rectangleBaseTangent, const Eigen::Vector3d &rectangleHeightTangent, const unsigned int &numQuadrilateralsBaseTangent, const unsigned int &numQuadrilateralsHeightTangent, Gedim::IMeshDAO &mesh) const |
| |
| std::vector< unsigned int > | FindCell2DsCommonVertices (const std::vector< unsigned int > &cell2DsIndex, const Gedim::IMeshDAO &mesh) const |
| | Given a set of Cell2Ds find the common Cell0Ds.
|
| |
| std::vector< unsigned int > | FindCell2DsCommonEdges (const std::vector< unsigned int > &cell2DsIndex, const Gedim::IMeshDAO &mesh) const |
| | Given a set of Cell2Ds find the common Cell1Ds.
|
| |
| Gedim::MeshUtilities::FindConcaveCell3DFacesConvexCell2DResult | FindConcaveCell3DFacesConvexCell2D (const Gedim::GeometryUtilities &geometryUtilities, const unsigned int &concaveCell3DIndex, const Gedim::IMeshDAO &mesh, const Gedim::IMeshDAO &convexMesh, const std::vector< unsigned int > &convexCell3DIndices, const std::vector< Eigen::MatrixXd > &concaveCell3DFaces3DVertices, const std::vector< Eigen::MatrixXd > &concaveCell3DFaces2DVertices, const std::vector< Eigen::Vector3d > &concaveCell3DFacesTranslation, const std::vector< Eigen::Matrix3d > &concaveCell3DFacesRotationMatrix, const std::vector< Eigen::Vector3d > &concaveCell3DFacesNormal, const std::vector< std::vector< Eigen::MatrixXd > > &convexCell3DsFaces3DVertices, const std::vector< std::vector< std::vector< unsigned int > > > &convexCell3DsFacesUnalignedVertices) const |
| |
| Gedim::MeshUtilities::FindConcaveCell3DFacesConvexCell2DResult | FindConcaveCell3DFacesConvexCell2D (const Gedim::GeometryUtilities &geometryUtilities, const unsigned int &concaveCell3DIndex, const Gedim::IMeshDAO &mesh, const std::vector< Eigen::MatrixXd > &concaveCell3DTetra, const std::vector< std::vector< Eigen::Matrix3d > > &concaveCell3D_faces_2D_triangles, const std::vector< Eigen::MatrixXd > &concaveCell3DFaces3DVertices, const std::vector< Eigen::Vector3d > &concaveCell3DFacesTranslation, const std::vector< Eigen::Matrix3d > &concaveCell3DFacesRotationMatrix, const std::vector< Eigen::Vector3d > &concaveCell3DFacesNormal, const std::vector< std::vector< Eigen::MatrixXd > > &convexCell3DsFaces3DVertices, const std::vector< std::vector< std::vector< unsigned int > > > &convexCell3DsFacesUnalignedVertices) const |
| |
| Gedim::MeshUtilities::FindPointMeshPositionResult | FindPointMeshPosition (const MeshUtilities::FindPointCell2DResult &find_cell2D_result, const Gedim::IMeshDAO &mesh) const |
| |
| Gedim::MeshUtilities::FindPointMeshPositionResult | FindPointMeshPosition (const MeshUtilities::FindPointCell3DResult &find_cell3D_result, const Gedim::IMeshDAO &mesh) const |
| |
| Gedim::MeshUtilities::FindPointCell2DResult | FindPointCell2D (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::Vector3d &point, const Gedim::IMeshDAO &mesh, const std::vector< Eigen::MatrixXd > &cell2DsVertices, const std::vector< Eigen::MatrixXd > &cell2DsBoundingBox, const bool find_only_first_cell2D=true, const unsigned int starting_cell2D_index=0) const |
| |
| Gedim::MeshUtilities::FindPointCell3DResult | FindPointCell3D (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::Vector3d &point, const Gedim::IMeshDAO &mesh, const std::vector< std::vector< Eigen::MatrixXi > > &cell3DsFaces, const std::vector< std::vector< Eigen::MatrixXd > > &cell3DsFaceVertices, const std::vector< std::vector< Eigen::MatrixXd > > &cell3DsFaceRotatedVertices, const std::vector< std::vector< Eigen::Vector3d > > &cell3DsFaceNormals, const std::vector< std::vector< bool > > &cell3DsFaceNormalDirections, const std::vector< std::vector< Eigen::Vector3d > > &cell3DsFaceTranslations, const std::vector< std::vector< Eigen::Matrix3d > > &cell3DsFaceRotationMatrices, const std::vector< Eigen::MatrixXd > &cell3DsBoundingBox, const bool find_only_first_cell3D=true, const unsigned int starting_cell3D_index=0) const |
| |
| Gedim::MeshUtilities::FindPointCell3DResult | FindPointCell3D (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::Vector3d &point, const Gedim::IMeshDAO &mesh, const std::vector< std::vector< Eigen::MatrixXi > > &cell3DsFaces, const std::vector< std::vector< Eigen::MatrixXd > > &cell3DsFaceVertices, const std::vector< std::vector< Eigen::MatrixXd > > &cell3DsFaceRotatedVertices, const std::vector< std::vector< Eigen::Vector3d > > &cell3DsFaceNormals, const std::vector< std::vector< bool > > &cell3DsFaceNormalDirections, const std::vector< std::vector< Eigen::Vector3d > > &cell3DsFaceTranslations, const std::vector< std::vector< Eigen::Matrix3d > > &cell3DsFaceRotationMatrices, const std::vector< Eigen::MatrixXd > &cell3DsBoundingBox, const std::vector< std::vector< Eigen::MatrixXd > > &cell3DsTetrahedra, const bool find_only_first_cell3D, const unsigned int starting_cell3D_index) const |
| |
| Gedim::MeshUtilities::AgglomerateTrianglesResult | AgglomerateTriangles (const std::vector< unsigned int > &trianglesIndexToAgglomerate, Gedim::IMeshDAO &triangularMesh) const |
| | Agglomerate Triangles with one vertex in common.
|
| |
| Gedim::MeshUtilities::AgglomerateMeshFromTriangularMeshResult | AgglomerateMeshFromTriangularMesh (const std::vector< std::vector< unsigned int > > &trianglesIndicesToAgglomerate, Gedim::IMeshDAO &triangularMesh) const |
| |
| Gedim::MeshUtilities::AgglomerationInformation | ImportAgglomerationInformationFromCsv (const Gedim::GeometryUtilities &geometryUtilities, const Gedim::IMeshDAO &originalMesh, const Gedim::IMeshDAO &agglomeratedMesh, const std::string &fileName, const char &separator) const |
| | Import Agglomeration mesh Information From file Csv.
|
| |
| Gedim::MeshUtilities::AgglomerationInformation | ImportAgglomerationInformationFromOFF (const Gedim::GeometryUtilities &geometryUtilities, const Gedim::IMeshDAO &originalMesh, const Gedim::IMeshDAO &agglomeratedMesh, const std::string &fileName, const char &separator) const |
| | Import Agglomeration mesh Information From file OFF.
|
| |
| void | ExportMeshToCsv (const Gedim::IMeshDAO &mesh, const char &separator, const std::string &exportFolderPath) const |
| | Export mesh to csv file.
|
| |
| void | ExportConcaveMesh2DToCsv (const Gedim::IMeshDAO &mesh, const std::vector< std::vector< unsigned int > > &convexCell2DsIndex, const char &separator, const std::string &exportFolderPath) const |
| | Export 2D concave mesh to csv file.
|
| |
| std::vector< unsigned int > | MarkCells (const std::function< Eigen::VectorXi(const Eigen::MatrixXd &)> &marking_function, const std::vector< Eigen::MatrixXd > &cells_points, const unsigned int default_mark) const |
| |
| Gedim::MeshUtilities::Intersect_mesh_polyhedron_result | Intersect_mesh_polyhedron (const Gedim::GeometryUtilities &geometry_utilities, const Eigen::MatrixXd &polyhedron_vertices, const Eigen::MatrixXi &polyhedron_edges, const std::vector< Eigen::MatrixXd > &polyhedron_edges_vertices, const Eigen::MatrixXd &polyhedron_edges_tangent, const std::vector< Eigen::MatrixXd > &polyhedron_edges_boudingBox, const std::vector< Eigen::MatrixXi > &polyhedron_faces, const std::vector< Eigen::MatrixXd > &polyhedron_faces_vertices, const std::vector< Eigen::MatrixXd > &polyhedron_faces_rotated_vertices, const std::vector< Eigen::Vector3d > &polyhedron_faces_normals, const std::vector< bool > &polyhedron_faces_normal_direction, const std::vector< Eigen::Vector3d > &polyhedron_faces_translation, const std::vector< Eigen::Matrix3d > &polyhedron_faces_rotation_matrix, const std::vector< Eigen::MatrixXd > &polyhedron_faces_boudingBox, const Eigen::MatrixXd &polyhedron_boudingBox, const Gedim::IMeshDAO &mesh, const std::vector< Eigen::MatrixXd > &mesh_cell1Ds_boudingBox, const std::vector< Eigen::MatrixXd > &mesh_cell1Ds_vertices, const std::vector< Eigen::Vector3d > &mesh_cell1Ds_tangent, const std::vector< Eigen::MatrixXd > &mesh_cell2Ds_vertices, const std::vector< Eigen::Vector3d > &mesh_cell2Ds_normal, const std::vector< Eigen::MatrixXd > &mesh_cell2Ds_2D_vertices, const std::vector< Eigen::Vector3d > &mesh_cell2Ds_translation, const std::vector< Eigen::Matrix3d > &mesh_cell2Ds_rotation_matrix, const std::vector< Eigen::MatrixXd > &mesh_cell2Ds_boudingBox, const std::vector< Eigen::MatrixXd > &mesh_cell3Ds_boudingBox, const std::vector< std::vector< Eigen::MatrixXi > > &mesh_cell3Ds_faces, const std::vector< std::vector< Eigen::MatrixXd > > &mesh_cell3Ds_faces_vertices, const std::vector< std::vector< Eigen::MatrixXd > > &mesh_cell3Ds_faces_2D_vertices, const std::vector< std::vector< Eigen::Vector3d > > &mesh_cell3Ds_faces_normal, const std::vector< std::vector< bool > > &mesh_cell3Ds_faces_normal_directions, const std::vector< std::vector< Eigen::Vector3d > > &mesh_cell3Ds_faces_translation, const std::vector< std::vector< Eigen::Matrix3d > > &mesh_cell3Ds_faces_rotation_matrix) const |
| |
| void | SetPolygonMeshMarkers (const Gedim::GeometryUtilities &geometryUtilities, const Eigen::MatrixXd &polygonVertices, const std::vector< unsigned int > &cell0DMarkers, const std::vector< unsigned int > &cell1DMarkers, Gedim::IMeshDAO &mesh) const |
| |
| void | CheckMeshGeometricData2D (const Gedim::MeshUtilities::CheckMeshGeometricData2DConfiguration &configuration, const Gedim::GeometryUtilities &geometryUtilities, const Gedim::IMeshDAO &mesh, const MeshGeometricData2D &geometricData) const |
| |
| void | CreatePolygonIntersectionMesh (const Gedim::GeometryUtilities &geometry_utilities, const Eigen::MatrixXd &interface_vertices, Gedim::IMeshDAO &mesh) const |
| |
| bool | CollapseCell1D (const unsigned int cell1D_index, Gedim::IMeshDAO &mesh) const |
| |
| void | Mesh3DFromPolyhedra (const Gedim::GeometryUtilities &geometry_utilities, const std::vector< Gedim::GeometryUtilities::Polyhedron > &polyhedra, Gedim::IMeshDAO &mesh) const |
| |