svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_geometries / src / org / gvsig / fmap / geom / aggregate / MultiPoint.java @ 34118
History | View | Annotate | Download (1.93 KB)
1 | 28996 | jpiera | /* gvSIG. Geographic Information System of the Valencian Government
|
---|---|---|---|
2 | 20761 | jmvivo | *
|
3 | 28996 | jpiera | * Copyright (C) 2007-2008 Infrastructures and Transports Department
|
4 | * of the Valencian Government (CIT)
|
||
5 | *
|
||
6 | 20761 | jmvivo | * This program is free software; you can redistribute it and/or
|
7 | * modify it under the terms of the GNU General Public License
|
||
8 | * as published by the Free Software Foundation; either version 2
|
||
9 | * of the License, or (at your option) any later version.
|
||
10 | 28996 | jpiera | *
|
11 | 20761 | jmvivo | * This program is distributed in the hope that it will be useful,
|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
14 | * GNU General Public License for more details.
|
||
15 | 28996 | jpiera | *
|
16 | 20761 | jmvivo | * You should have received a copy of the GNU General Public License
|
17 | * along with this program; if not, write to the Free Software
|
||
18 | 28996 | jpiera | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 | * MA 02110-1301, USA.
|
||
20 | *
|
||
21 | 20761 | jmvivo | */
|
22 | 28996 | jpiera | |
23 | /*
|
||
24 | * AUTHORS (In addition to CIT):
|
||
25 | * 2009 {Iver T.I.} {Task}
|
||
26 | 20761 | jmvivo | */
|
27 | 28996 | jpiera | |
28 | package org.gvsig.fmap.geom.aggregate; |
||
29 | |||
30 | import org.gvsig.fmap.geom.primitive.Point; |
||
31 | |||
32 | 20761 | jmvivo | /**
|
33 | 28996 | jpiera | * <p>
|
34 | * This interface is equivalent to the GM_MultiPoint specified in
|
||
35 | * <a href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=26012">ISO 19107</a>.
|
||
36 | * MultiPoint is an aggregate class containing only points.
|
||
37 | * The association role "element" shall be the set of {@link Point}'s contained in
|
||
38 | * this MultiPoint.
|
||
39 | * </p>
|
||
40 | * @see <a href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=26012">ISO 19107</a>
|
||
41 | * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a>
|
||
42 | 20761 | jmvivo | */
|
43 | 29753 | jpiera | public interface MultiPoint extends MultiPrimitive { |
44 | 26788 | jpiera | |
45 | 28996 | jpiera | /**
|
46 | * Adds a new point to the multipoint
|
||
47 | * @param point
|
||
48 | * The point to add
|
||
49 | */
|
||
50 | 26788 | jpiera | void addPoint(Point point); |
51 | |||
52 | 28996 | jpiera | /**
|
53 | * Gets the point that is on a concrete position
|
||
54 | * inside the multi point
|
||
55 | * @param index
|
||
56 | * The position
|
||
57 | * @return
|
||
58 | * The selected point
|
||
59 | */
|
||
60 | 27024 | jpiera | Point getPointAt(int index); |
61 | 20761 | jmvivo | } |