Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.geometry / org.gvsig.fmap.geometry.api / src / main / java / org / gvsig / fmap / geom / primitive / Curve.java @ 45673

History | View | Annotate | Download (3.04 KB)

1 40559 jjdelcerro
/**
2
 * gvSIG. Desktop Geographic Information System.
3 40435 jjdelcerro
 *
4 40559 jjdelcerro
 * Copyright (C) 2007-2013 gvSIG Association.
5
 *
6 40435 jjdelcerro
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8 40559 jjdelcerro
 * as published by the Free Software Foundation; either version 3
9 40435 jjdelcerro
 * of the License, or (at your option) any later version.
10 40559 jjdelcerro
 *
11 40435 jjdelcerro
 * 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 40559 jjdelcerro
 *
16 40435 jjdelcerro
 * 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 40559 jjdelcerro
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 40435 jjdelcerro
 * MA  02110-1301, USA.
20 40559 jjdelcerro
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23 40435 jjdelcerro
 */
24
25
package org.gvsig.fmap.geom.primitive;
26
27
/**
28
 * <p>
29
 * This interface is equivalent to the GM_Curve and the GM_CurveSegment specified in
30
 * <a href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=26012">ISO 19107</a>.
31
 * Curve  is a descendent subtype of {@link Primitive} through {@link OrientablePrimitive}.
32
 * It is the basis for 1-dimensional geometry.
33
 * </p>
34
 * <p>
35
 * A curve is a continuous image of an open interval
36
 * and so could be written as a parameterized function such as c(t):(a, b) -> E^n where "t" is a real
37
 * parameter and E^n is Euclidean space of dimension n (usually 2 or 3, as determined by
38
 * the coordinate reference system). Any other parameterization that results in the same image curve,
39
 * traced in the same direction, such as any linear shifts and positive scales such as
40
 * e(t) = c(a + t(b-a)):(0,1) -> E^n, is an equivalent representation of the same curve.
41
 * </p>
42
 * <p>
43
 * Curves are continuous, connected, and have a measurable length in terms of
44
 * the coordinate system. The orientation of the curve is determined by this
45
 * parameterization, and is consistent with the tangent function, which
46
 * approximates the derivative function of the parameterization and shall
47
 * always point in the "forward" direction. The parameterization of the reversal of
48
 * the curve defined by c(t):(a, b) -> E^n would be defined by a function of the
49
 * form s(t) = c(a + b - t):(a, b) - >E^n.
50
 * </p>
51
 * <p>
52
 * In the ISO model a curve is composed of one or more curve segments.
53
 * In gvSIG a curve is not composed by curve segments: a curve is
54
 * one and only one curve segment.
55
 * </p>
56
 * @see <a href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=26012">ISO 19107</a>
57
 * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a>
58
 */
59 42392 jjdelcerro
public interface Curve extends OrientableCurve {
60 40435 jjdelcerro
61
        /**
62
         * Sets the initial point and the end point of the curve. On this case,
63
         * the curve is a single line
64
         * @param initialPoint
65
         * The initial point
66
         * @param endPoint
67
         * The end point
68
         */
69
        public void setPoints(Point initialPoint, Point endPoint);
70 41590 jjdelcerro
71
}