Content Object From Existing GMO Definition

This Example shows how to create a simple Geospatial Managed Object using an existing GMO definition g.mo.feature.shape.GMO . The definition represents a cube shape and its instances can be generated using a factory class g.mo.feature.shape.Factory from the GRIFIN Core library. Two GMO instances are generated, and essential properties with respect to the GRIFIN's representation of the geographic space are reported (printed out). Finally, the distance between the two GMO cubes is also computed.

All