org.gvsig.fmap.geom.operation.perpendicular
Class PerpendicularPoint

java.lang.Object
  extended by org.gvsig.fmap.geom.operation.GeometryOperation
      extended by org.gvsig.fmap.geom.operation.perpendicular.PerpendicularPoint

public class PerpendicularPoint
extends GeometryOperation

Gets a point that is located to a concrete distance (attribute distance) of a line and is located in a perpendicular line that intersects with other point (attribute perpendicularPoint).

Version:
$Id$
Author:
gvSIG Team

Field Summary
static int CODE
           
static String NAME
           
 
Fields inherited from class org.gvsig.fmap.geom.operation.GeometryOperation
OPERATION_CONTAINS_CODE, OPERATION_CONTAINS_NAME, OPERATION_INTERSECTS_CODE, OPERATION_INTERSECTS_NAME
 
Constructor Summary
PerpendicularPoint()
           
 
Method Summary
 int getOperationIndex()
          Returns the constant value that identifies this operation and that was obtained upon registering it.
 Object invoke(Geometry geom, GeometryOperationContext ctx)
          Invokes this operation given the geometry and context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

CODE

public static final int CODE
Constructor Detail

PerpendicularPoint

public PerpendicularPoint()
Method Detail

invoke

public Object invoke(Geometry geom,
                     GeometryOperationContext ctx)
              throws GeometryOperationException
Description copied from class: GeometryOperation
Invokes this operation given the geometry and context

Specified by:
invoke in class GeometryOperation
Parameters:
geom - Geometry to which apply this operation
ctx - Parameter container
Returns:
Place-holder object that may contain any specific return value.
Throws:
GeometryOperationException - The implementation is responsible to throw this exception when needed.

getOperationIndex

public int getOperationIndex()
Description copied from class: GeometryOperation
Returns the constant value that identifies this operation and that was obtained upon registering it.

Specified by:
getOperationIndex in class GeometryOperation
Returns:
operation unique index


Copyright © 2004-2012 gvSIG. All Rights Reserved.