linestring.java

来自「GEo 地理操作源代码」· Java 代码 · 共 52 行

JAVA
52
字号
/*$************************************************************************************************ ** ** $Id: LineString.java,v 1.6 2004/03/19 04:11:44 desruisseaux Exp $ ** ** $Source: /cvsroot/geoapi/src/org/opengis/spatialschema/geometry/geometry/LineString.java,v $ ** ** Copyright (C) 2003 Open GIS Consortium, Inc. All Rights Reserved. http://www.opengis.org/Legal/ ** *************************************************************************************************/package org.opengis.spatialschema.geometry.geometry;// J2SE direct dependenciesimport java.util.List;// OpenGIS direct dependenciesimport org.opengis.spatialschema.geometry.primitive.CurveSegment;/** * A sequence of line segments, each having a parameterization like the one * {@link LineSegment}. The class essentially combines a * {@link List List&lt;LineSegment&gt;} into a single object, * with the obvious savings of storage space. *   * @UML datatype GM_LineString * @author ISO/DIS 19107 * @author <A HREF="http://www.opengis.org">OpenGIS&reg; consortium</A> * @version 2.0 * * @see GeometryFactory#createLineString */public interface LineString extends CurveSegment {    /**     * Returns a sequence of positions between which the curve is linearly interpolated.     * The first position in the sequence is the {@linkplain #getStartPoint start Point}     * of this <code>LineString</code>, and the last point in the sequence is the     * {@linkplain #getEndPoint end point} of this <code>LineString</code>.     *     * @return The control points between which the curve is linearly interpolated.     * @UML operation controlPoint     */    public PointArray getControlPoints();    /**     * Decomposes a line string into an equivalent sequence of line segments.     *     * @return The sequence of line segments.     * @UML operation asGM_LineSegment     */    public List asLineSegments();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?