Class PoTriangleMesh2D

    • Constructor Detail

      • PoTriangleMesh2D

        public PoTriangleMesh2D()
        Constructor.
    • Method Detail

      • setGeometry

        public void setGeometry​(int num_nodes,
                                float[] xn,
                                float[] yn,
                                float[] zn,
                                int num_cells,
                                int[] cell_index)
        Convenience method to change the geometry of the mesh. Defines a 3D geometry. See also PbTriangleMesh2D.setGeometry().
      • setGeometry

        public void setGeometry​(int numPoints,
                                float[] xPointsField,
                                float[] yPointsField)
        Convenience method to set a new 2D geometry from a points field. The triangulation is realized by the DELAUNAY method. See also PbTriangleMesh2D.setGeometry().
      • setGeometry

        public void setGeometry​(int num_nodes,
                                float[] xn,
                                float[] yn,
                                int num_cells,
                                int[] cell_index)
        Convenience method to change the geometry of the mesh. Defines a 2D geometry. See also PbTriangleMesh2D.setGeometry().