Examples of WaySegmentWorldObject


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

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

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

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

            // 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
Copyright © 2018 www.massapi.com. 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.