Package org.opentripplanner.graph_builder.annotation

Examples of org.opentripplanner.graph_builder.annotation.ElevationFlattened


                    coords[1] = new Coordinate(edge.getDistance(), toElevation);

                    PackedCoordinateSequence profile = new PackedCoordinateSequence.Double(coords);

                    if (edge.setElevationProfile(profile, true)) {
                        log.trace(graph.addBuilderAnnotation(new ElevationFlattened(edge)));
                    }
                }
            }
        }
    }
View Full Code Here


        Coordinate coordArr[] = new Coordinate[coordList.size()];
        PackedCoordinateSequence elevPCS = new PackedCoordinateSequence.Double(
                coordList.toArray(coordArr));

        if(ee.setElevationProfile(elevPCS, false)) {
            log.trace(graph.addBuilderAnnotation(new ElevationFlattened(ee)));
        }
    }
View Full Code Here

TOP

Related Classes of org.opentripplanner.graph_builder.annotation.ElevationFlattened

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.