📄 paramforpoint.java
字号:
/*$************************************************************************************************ ** ** $Id: ParamForPoint.java,v 1.3 2004/03/09 20:02:55 desruisseaux Exp $ ** ** $Source: /cvsroot/geoapi/src/org/opengis/spatialschema/geometry/geometry/ParamForPoint.java,v $ ** ** Copyright (C) 2003 Open GIS Consortium, Inc. All Rights Reserved. http://www.opengis.org/Legal/ ** *************************************************************************************************/package org.opengis.spatialschema.geometry.geometry;// OpenGIS direct dependenciesimport org.opengis.spatialschema.geometry.DirectPosition;/** * The curve parameter for a point. This is the result of call to * {@link GenericCurve#getParamForPoint}. * * @author ISO/DIS 19107 * @author <A HREF="http://www.opengis.org">OpenGIS® consortium</A> * @version 2.0 */public interface ParamForPoint { /** * Returns the parameter distance computed by * <code>{@linkplain GenericCurve#getParamForPoint getParamForPoint}(p)</code>. * The output will contain only one distance, unless the curve is not simple. If there is more * than one {@linkplain DirectPosition direct position} on the {@linkplain GenericCurve generic * curve} at the same minimal distance from the passed "<code>p</code>", the return value may * be an arbitrary choice of one of the possible answers. * * @return The parameter distance. * @unitof Distance */ public double getDistance(); /** * Returns the actual value for the direct position used by * <code>{@linkplain GenericCurve#getParamForPoint getParamForPoint}(p)</code>. * That is, it shall be the point on the {@linkplain GenericCurve generic curve} * closest to the coordinate passed in as the "<code>p</code>" argument. * * @return The actual position used. */ public DirectPosition getPosition();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -