Class PoSFTriangleMesh2D

    • Method Detail

      • 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. It defines a 2D geometry. See also PbTriangleMesh2D.setGeometry().
      • 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. It defines a 3D geometry. See also PbTriangleMesh2D.setGeometry().
      • setValue

        public void setValue​(PbTriangleMesh2D newValue)
        Sets this field to newValue.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class SoField
      • 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.