Data Structures |
|
OverviewTAL classes use data structures to simplify the management of related data. All data structures have public members, and are declared in namespace tal. RANGEDeclared in "soiltex.h" Range of values
typedef struct { double mMin; // minimum value; default is 0.0 double mMax; // maximum value; default is 100.0 } RANGE; TEXTUREDeclared in "soiltex.h" Soil texture class definition
typedef struct { std::string mName; // name of texture; default is "" int mCode; // code of texture; default is -1 polygon mPolygon; // polygon coordinates } TEXTURE; MODBODDeclared in "soiltex.h" Modified border definition
typedef struct { std::vector<int> mFrom; // default borders std::vector<int> mTo; // desired border result } MODBOD; POINTDeclared in "polygon.h" A point in a two-dimensional Cartesian coordinate system
typedef struct { double x; // x coordinate; default is 0.0 double y; // y coordinate; default is 0.0 } POINT; POSITIONDeclared in "polygon.h" Position of a point within a polygon, where INTERIOR is within the polygon; EXTERIOR is completely outside the polygon; VERTEX is at the polygon vertex; EDGE is at the polygon boundary (border); and NONE denotes error.
typedef struct { int mPos; // position of a point; default is NONE } POSITION;
|
|
|
|
|
|
updated: 02-Mar-2001 |