All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opengis.geometry.primitive.CurveBoundary Maven / Gradle / Ivy

There is a newer version: 24.2-oss84-1
Show newest version
/*
 *    GeoTools - The Open Source Java GIS Toolkit
 *    http://geotools.org
 *
 *    (C) 2011, Open Source Geospatial Foundation (OSGeo)
 *    (C) 2003-2005, Open Geospatial Consortium Inc.
 *
 *    All Rights Reserved. http://www.opengis.org/legal/
 */
package org.opengis.geometry.primitive;

import static org.opengis.annotation.Obligation.*;
import static org.opengis.annotation.Specification.*;

import org.opengis.annotation.UML;

/**
 * The boundary of {@linkplain Curve curves}. A {@code CurveBoundary} contains two {@linkplain Point
 * point} references ({@linkplain #getStartPoint start point} and {@linkplain #getEndPoint end
 * point}).
 *
 * @version ISO 19107
 * @author Martin Desruisseaux (IRD)
 * @since GeoAPI 1.0
 */
@UML(identifier = "GM_CurveBoundary", specification = ISO_19107)
public interface CurveBoundary extends PrimitiveBoundary {
    /**
     * Returns the start point.
     *
     * @see #getEndPoint
     */
    @UML(identifier = "startPoint", obligation = MANDATORY, specification = ISO_19107)
    Point getStartPoint();

    /**
     * Returns the end point.
     *
     * @see #getStartPoint
     */
    @UML(identifier = "endPoint", obligation = MANDATORY, specification = ISO_19107)
    Point getEndPoint();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy