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.util
Class CoordinateArrayFilter

    java.lang.Object
      com.vividsolutions.jts.util.CoordinateArrayFilter

All Implemented Interfaces:
  CoordinateFilter

public class CoordinateArrayFilter
extends java.lang.Object
implements CoordinateFilter

A `CoordinateFilter` that creates an array containing every coordinate in a `Geometry`.

Version:
  1.7

Constructor Summary
`CoordinateArrayFilter(int size)` Constructs a `CoordinateArrayFilter`.

Method Summary
`void` | `filter(Coordinate coord)` Performs an operation with or on `coord`.
`Coordinate[]` | `getCoordinates()` Returns the gathered `Coordinate`s.

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

Constructor Detail

### CoordinateArrayFilter

    public CoordinateArrayFilter(int size)

  Constructs a `CoordinateArrayFilter`.

Parameters:
  `size` - the number of points that the `CoordinateArrayFilter` will collect

Method Detail

### getCoordinates

    public Coordinate[] getCoordinates()

  Returns the gathered `Coordinate`s.

  Returns:
    the `Coordinate`s collected by this `CoordinateArrayFilter`

### filter

    public void filter(Coordinate coord)

  Description copied from interface: `CoordinateFilter`
  Performs an operation with or on `coord`.

  Specified by:
    `filter` in interface `CoordinateFilter`
  Parameters:
    `coord` - a `Coordinate` to which the filter is applied.

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