Ignore:
Timestamp:
11/13/15 15:18:03 (9 years ago)
Author:
Eric.Larour
Message:

CHG: finished routines related to setmask in javascript, and startted classes and routines related to parameterization,
in partcular, geometry and constants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/mesh2d.js

    r19702 r19719  
    55
    66function mesh2d () {
    7         //properties
    8         // {{{
    9                 this.x                           = NaN;
    10                 this.y                           = NaN;
    11                 this.elements                    = NaN;
    12                 this.numberofelements            = 0;
    13                 this.numberofvertices            = 0;
    14                 this.numberofedges               = 0;
    15 
    16                 this.lat                         = NaN;
    17                 this.long                        = NaN;
    18                 this.epsg                        = 0;
    19 
    20                 this.vertexonboundary            = NaN;
    21 
    22                 this.edges                       = NaN;
    23                 this.segments                    = NaN;
    24                 this.segmentmarkers              = NaN;
    25                 this.vertexconnectivity          = NaN;
    26                 this.elementconnectivity         = NaN;
    27                 this.average_vertex_connectivity = 0;
    28 
    29                 this.extractedvertices           = NaN;
    30                 this.extractedelements           = NaN;
    31                 //}}}
    327        //methods
    338                this.setdefaultparameters = function () //{{{
     
    6944                        fielddisplay(this,"epsg","EPSG code (ex: 3413 for UPS Greenland, 3031 for UPS Antarctica)");
    7045                } //}}}
     46        //properties
     47        // {{{
     48                this.x                           = NaN;
     49                this.y                           = NaN;
     50                this.elements                    = NaN;
     51                this.numberofelements            = 0;
     52                this.numberofvertices            = 0;
     53                this.numberofedges               = 0;
     54
     55                this.lat                         = NaN;
     56                this.long                        = NaN;
     57                this.epsg                        = 0;
     58
     59                this.vertexonboundary            = NaN;
     60
     61                this.edges                       = NaN;
     62                this.segments                    = NaN;
     63                this.segmentmarkers              = NaN;
     64                this.vertexconnectivity          = NaN;
     65                this.elementconnectivity         = NaN;
     66                this.average_vertex_connectivity = 0;
     67
     68                this.extractedvertices           = NaN;
     69                this.extractedelements           = NaN;
     70
     71                this.setdefaultparameters();
     72                //}}}
    7173
    7274}
Note: See TracChangeset for help on using the changeset viewer.