All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.geolatte.geom.LLAPositionVisitors Maven / Gradle / Ivy

Go to download

This geoLatte-geom library offers a geometry model that conforms to the OGC Simple Features for SQL specification.

The newest version!
package org.geolatte.geom;

public class LLAPositionVisitors {

    static public 

LLAPositionVisitor mkCombiningVisitor(PositionSequenceBuilder

builder){ return new CombiningVisitor<>(builder); } } class CombiningVisitor

implements LLAPositionVisitor { final PositionSequenceBuilder

builder; CombiningVisitor(PositionSequenceBuilder

builder) { this.builder = builder; } /** * The visit method that is executed for each coordinate. * * @param coordinate the visited coordinate in array representation */ @Override public void visit(double[] coordinate) { this.builder.add(coordinate); } PositionSequence

result() { return builder.toPositionSequence(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy