Package org.osm2world.core.world.data

Examples of org.osm2world.core.world.data.WaySegmentWorldObject


  }
 
  @Override
  protected void applyToWaySegment(MapWaySegment segment) {
   
    WaySegmentWorldObject primaryRepresentation =
      segment.getPrimaryRepresentation();
   
    if (primaryRepresentation instanceof AbstractNetworkWaySegmentWorldObject
        && isBridge(segment)) {
     
View Full Code Here


  }
 
  @Override
  protected void applyToWaySegment(MapWaySegment segment) {
   
    WaySegmentWorldObject primaryRepresentation =
      segment.getPrimaryRepresentation();
   
    if (primaryRepresentation instanceof AbstractNetworkWaySegmentWorldObject
        && isTunnel(segment)) {
     
View Full Code Here

            // extend the subtract polygon for segments that end
            // at a common node with this building part's outline.
            // (otherwise, the subtract polygon will probably
            // not exactly line up with the polygon boundary)
           
            WaySegmentWorldObject waySegmentWO = (WaySegmentWorldObject)o;
            VectorXZ start = waySegmentWO.getStartPosition();
            VectorXZ end = waySegmentWO.getEndPosition();
           
            boolean startCommonNode = false;
            boolean endCommonNode = false;
           
            for (SimplePolygonXZ p : polygon.getPolygons()) {
View Full Code Here

TOP

Related Classes of org.osm2world.core.world.data.WaySegmentWorldObject

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.