Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.vividsolutions.jts.geom
Class Location

    java.lang.Object
      com.vividsolutions.jts.geom.Location

public class Location
extends java.lang.Object

Constants representing the location of a point relative to a geometry. They can also be thought of as the row or column index of a DE-9IM matrix. For a description of the DE-9IM, see the OpenGIS Simple Features Specification for SQL .

Version:
  1.7

Field Summary
`static int` | `BOUNDARY` DE-9IM row index of the boundary of the first geometry and column index of the boundary of the second geometry.
`static int` | `EXTERIOR` DE-9IM row index of the exterior of the first geometry and column index of the exterior of the second geometry.
`static int` | `INTERIOR` DE-9IM row index of the interior of the first geometry and column index of the interior of the second geometry.
`static int` | `NONE` Used for uninitialized location values.

Constructor Summary
`Location()`

Method Summary
`static char` | `toLocationSymbol(int locationValue)` Converts the location value to a location symbol, for example, `EXTERIOR => 'e'` .

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### INTERIOR

    public static final int INTERIOR

  DE-9IM row index of the interior of the first geometry and column index of the interior of the second geometry. Location value for the interior of a geometry.

  See Also:
    Constant Field Values

### BOUNDARY

    public static final int BOUNDARY

  DE-9IM row index of the boundary of the first geometry and column index of the boundary of the second geometry. Location value for the boundary of a geometry.

  See Also:
    Constant Field Values

### EXTERIOR

    public static final int EXTERIOR

  DE-9IM row index of the exterior of the first geometry and column index of the exterior of the second geometry. Location value for the exterior of a geometry.

  See Also:
    Constant Field Values

### NONE

    public static final int NONE

  Used for uninitialized location values.

  See Also:
    Constant Field Values

Constructor Detail

### Location

    public Location()

Method Detail

### toLocationSymbol

    public static char toLocationSymbol(int locationValue)

  Converts the location value to a location symbol, for example, `EXTERIOR => 'e'` .

  Parameters:
    `locationValue` - either EXTERIOR, BOUNDARY, INTERIOR or NONE
  Returns:
    either 'e', 'b', 'i' or '-'

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD