01: /*
02: * This file is part of the GeOxygene project source files.
03: *
04: * GeOxygene aims at providing an open framework which implements OGC/ISO specifications for
05: * the development and deployment of geographic (GIS) applications. It is a open source
06: * contribution of the COGIT laboratory at the Institut Géographique National (the French
07: * National Mapping Agency).
08: *
09: * See: http://oxygene-project.sourceforge.net
10: *
11: * Copyright (C) 2005 Institut Géographique National
12: *
13: * This library is free software; you can redistribute it and/or modify it under the terms
14: * of the GNU Lesser General Public License as published by the Free Software Foundation;
15: * either version 2.1 of the License, or any later version.
16: *
17: * This library is distributed in the hope that it will be useful, but WITHOUT ANY
18: * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
19: * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
20: *
21: * You should have received a copy of the GNU Lesser General Public License along with
22: * this library (see file LICENSE if present); if not, write to the Free Software
23: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24: *
25: */
26:
27: package fr.ign.cogit.geoxygene.spatial.geomprim;
28:
29: import fr.ign.cogit.geoxygene.spatial.coordgeom.DirectPositionList;
30: import fr.ign.cogit.geoxygene.spatial.coordgeom.GM_Envelope;
31:
32: /** NON UTILISE.
33: * Object géométrique de base en 3D.
34: *
35: * @author Thierry Badard & Arnaud Braun
36: * @version 1.0
37: *
38: */
39:
40: class GM_Solid extends GM_Primitive {
41:
42: /** NON IMPLEMENTE (renvoie 0.0).
43: * Aire. */
44: // Dans la norme, le résultat est de type Area.
45: public double area() {
46: return 0.0;
47: }
48:
49: /** NON IMPLEMETE (renvoie 0.0).
50: * Volume. */
51: // Dans la norme, le résultat est de type Volume.
52: public double volume() {
53: return 0.0;
54: }
55:
56: /** Constructeur par défaut. */
57: public GM_Solid() {
58: }
59:
60: /** NON IMPLEMETE.
61: * Constructeur à partir de la frontière. */
62: public GM_Solid(GM_SolidBoundary bdy) {
63: }
64:
65: /** NON IMPLEMENTE.
66: * Constructeur à partir d'une enveloppe .*/
67: public GM_Solid(GM_Envelope env) {
68: }
69:
70: /** NON IMPLEMENTE (Renvoie null).
71: * Redéfinition de l'opérateur "boundary" sur GM_Object. Renvoie une GM_SolidBoundary,
72: * c'est-à-dire un shell extérieur et éventuellement un (des) shell(s) intérieur(s). */
73: public GM_SolidBoundary boundary() {
74: return null;
75: }
76:
77: /** Marche pas. Renvoie null; */
78: public DirectPositionList coord() {
79: System.out
80: .println("coord() : marche pas pour un solide. Renvoie null");
81: return null;
82: }
83: }
|