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.noding
Class ScaledNoder

    java.lang.Object
      com.vividsolutions.jts.noding.ScaledNoder

All Implemented Interfaces:
  Noder

public class ScaledNoder
extends java.lang.Object
implements Noder

Wraps a `Noder` and transforms its input into the integer domain. This is intended for use with Snap-Rounding noders, which typically are only intended to work in the integer domain. Offsets can be provided to increase the number of digits of available precision.

Version:
  1.7

Constructor Summary
`ScaledNoder(Noder noder, double scaleFactor)`
`ScaledNoder(Noder noder, double scaleFactor, double offsetX, double offsetY)`

Method Summary
`void` | `computeNodes(java.util.Collection inputSegStrings)` Computes the noding for a collection of `SegmentString`s.
`java.util.Collection` | `getNodedSubstrings()` Returns a `Collection` of fully noded `SegmentStrings`.
`boolean` | `isIntegerPrecision()`

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

Constructor Detail

### ScaledNoder

    public ScaledNoder(Noder noder,
                       double scaleFactor)

### ScaledNoder

    public ScaledNoder(Noder noder,
                       double scaleFactor,
                       double offsetX,
                       double offsetY)

Method Detail

### isIntegerPrecision

    public boolean isIntegerPrecision()

### getNodedSubstrings

    public java.util.Collection getNodedSubstrings()

  Description copied from interface: `Noder`
  Returns a `Collection` of fully noded `SegmentStrings`. The SegmentStrings have the same context as their parent.

  Specified by:
    `getNodedSubstrings` in interface `Noder`
  Returns:
    a Collection of SegmentStrings

### computeNodes

    public void computeNodes(java.util.Collection inputSegStrings)

  Description copied from interface: `Noder`
  Computes the noding for a collection of `SegmentString`s. Some Noders may add all these nodes to the input SegmentStrings; others may only add some or none at all.

  Specified by:
    `computeNodes` in interface `Noder`
  Parameters:
    `inputSegStrings` - a collection of `SegmentString`s to node

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