Main Page | Packages | Class Hierarchy | Alphabetical List | Compound List | Compound Members | Related Pages

SRM.CoordSurf Class Reference

The CoordSurf abstract class is used for representing surface coordinates. More...

Inheritance diagram for SRM.CoordSurf:

Inheritance graph
[legend]
List of all members.

Public Member Functions

double[] getValues ()
 Returns the coordinate component values as an array.

void setValues (double[] values) throws SrmException
 Sets the coordinate component values as an array.

boolean isEqual (Coord coord)
 Returns TRUE if the coordinate component values are "equal".

void copyTo (CoordSurf coord) throws SrmException
 Copies the component values from this coordinate to the parameter coordinate.


Protected Member Functions

 CoordSurf (BaseSRF assocSRF, Coord_ClassType type)
 Constructor setting the associated SRF and the concrete class type.


Protected Attributes

double[] _values = new double [2]
 An array to store the coordinate component values.


Detailed Description

The CoordSurf abstract class is used for representing surface coordinates.

See also:
Coord


Member Function Documentation

void SRM.CoordSurf.copyTo CoordSurf  coord  )  throws SrmException
 

Copies the component values from this coordinate to the parameter coordinate.

Parameters:
coord in : must be associated with the same SRF as this coordinate

boolean SRM.CoordSurf.isEqual Coord  coord  )  [virtual]
 

Returns TRUE if the coordinate component values are "equal".

Note:
Two components of type "double" are equal if their difference is within Const.EPSILON

Implements SRM.Coord.


The documentation for this class was generated from the following file:
Spatial Reference Model Java API Version 4.1.4 - July 1, 2011
Copyright © 2011 SEDRIS Docs by Doxygen 1.3.2