当前位置: 首页>>代码示例>>Java>>正文


Java BoundingBoxOptions.isUseExistingEnvelopes方法代码示例

本文整理汇总了Java中org.citygml4j.util.bbox.BoundingBoxOptions.isUseExistingEnvelopes方法的典型用法代码示例。如果您正苦于以下问题:Java BoundingBoxOptions.isUseExistingEnvelopes方法的具体用法?Java BoundingBoxOptions.isUseExistingEnvelopes怎么用?Java BoundingBoxOptions.isUseExistingEnvelopes使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.citygml4j.util.bbox.BoundingBoxOptions的用法示例。


在下文中一共展示了BoundingBoxOptions.isUseExistingEnvelopes方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: calcBoundedBy

import org.citygml4j.util.bbox.BoundingBoxOptions; //导入方法依赖的package包/类
@Override
public BoundingShape calcBoundedBy(BoundingBoxOptions options) {
	BoundingShape boundedBy = super.calcBoundedBy(options);
	if (options.isUseExistingEnvelopes() && !boundedBy.isEmpty())
		return boundedBy;
	
	if (isSetGenericApplicationPropertyOfOuterFloorSurface()) {
		for (ADEComponent ade : getGenericApplicationPropertyOfOuterFloorSurface()) {
			if (ade.getADEClass() == ADEClass.MODEL_OBJECT)
				boundedBy.updateEnvelope(ADEBoundingBoxHelper.calcBoundedBy((ADEModelObject)ade, this, options).getEnvelope());
		}
	}
	
	if (options.isAssignResultToFeatures())
		setBoundedBy(boundedBy);
	
	return boundedBy;
}
 
开发者ID:citygml4j,项目名称:citygml4j,代码行数:19,代码来源:OuterFloorSurface.java

示例2: calcBoundedBy

import org.citygml4j.util.bbox.BoundingBoxOptions; //导入方法依赖的package包/类
@Override
public BoundingShape calcBoundedBy(BoundingBoxOptions options) {
	BoundingShape boundedBy = super.calcBoundedBy(options);
	if (options.isUseExistingEnvelopes() && !boundedBy.isEmpty())
		return boundedBy;
	
	if (multiPoint != null && multiPoint.isSetMultiPoint())
		boundedBy.updateEnvelope(getMultiPoint().getGeometry().calcBoundingBox());
	
	if (isSetGenericApplicationPropertyOfAddress()) {
		for (ADEComponent ade : getGenericApplicationPropertyOfAddress()) {
			if (ade.getADEClass() == ADEClass.MODEL_OBJECT)
				boundedBy.updateEnvelope(ADEBoundingBoxHelper.calcBoundedBy((ADEModelObject)ade, this, options).getEnvelope());
		}
	}
	
	if (options.isAssignResultToFeatures())
		setBoundedBy(boundedBy);
	
	return boundedBy;
}
 
开发者ID:citygml4j,项目名称:citygml4j,代码行数:22,代码来源:Address.java

示例3: calcBoundedBy

import org.citygml4j.util.bbox.BoundingBoxOptions; //导入方法依赖的package包/类
@Override
public BoundingShape calcBoundedBy(BoundingBoxOptions options) {
	BoundingShape boundedBy = super.calcBoundedBy(options);
	if (options.isUseExistingEnvelopes() && !boundedBy.isEmpty())
		return boundedBy;
	
	if (isSetGenericApplicationPropertyOfCeilingSurface()) {
		for (ADEComponent ade : getGenericApplicationPropertyOfCeilingSurface()) {
			if (ade.getADEClass() == ADEClass.MODEL_OBJECT)
				boundedBy.updateEnvelope(ADEBoundingBoxHelper.calcBoundedBy((ADEModelObject)ade, this, options).getEnvelope());
		}
	}
	
	if (options.isAssignResultToFeatures())
		setBoundedBy(boundedBy);
	
	return boundedBy;
}
 
开发者ID:citygml4j,项目名称:citygml4j,代码行数:19,代码来源:CeilingSurface.java

示例4: calcBoundedBy

import org.citygml4j.util.bbox.BoundingBoxOptions; //导入方法依赖的package包/类
@Override
public BoundingShape calcBoundedBy(BoundingBoxOptions options) {
	BoundingShape boundedBy = super.calcBoundedBy(options);
	if (options.isUseExistingEnvelopes() && !boundedBy.isEmpty())
		return boundedBy;
	
	if (isSetGenericApplicationPropertyOfFloorSurface()) {
		for (ADEComponent ade : getGenericApplicationPropertyOfFloorSurface()) {
			if (ade.getADEClass() == ADEClass.MODEL_OBJECT)
				boundedBy.updateEnvelope(ADEBoundingBoxHelper.calcBoundedBy((ADEModelObject)ade, this, options).getEnvelope());
		}
	}
	
	if (options.isAssignResultToFeatures())
		setBoundedBy(boundedBy);
	
	return boundedBy;
}
 
开发者ID:citygml4j,项目名称:citygml4j,代码行数:19,代码来源:FloorSurface.java

示例5: calcBoundedBy

import org.citygml4j.util.bbox.BoundingBoxOptions; //导入方法依赖的package包/类
@Override
public BoundingShape calcBoundedBy(BoundingBoxOptions options) {
	BoundingShape boundedBy = super.calcBoundedBy(options);
	if (options.isUseExistingEnvelopes() && !boundedBy.isEmpty())
		return boundedBy;
	
	if (isSetGenericApplicationPropertyOfWallSurface()) {
		for (ADEComponent ade : getGenericApplicationPropertyOfWallSurface()) {
			if (ade.getADEClass() == ADEClass.MODEL_OBJECT)
				boundedBy.updateEnvelope(ADEBoundingBoxHelper.calcBoundedBy((ADEModelObject)ade, this, options).getEnvelope());
		}
	}
	
	if (options.isAssignResultToFeatures())
		setBoundedBy(boundedBy);
	
	return boundedBy;
}
 
开发者ID:citygml4j,项目名称:citygml4j,代码行数:19,代码来源:WallSurface.java

示例6: calcBoundedBy

import org.citygml4j.util.bbox.BoundingBoxOptions; //导入方法依赖的package包/类
@Override
public BoundingShape calcBoundedBy(BoundingBoxOptions options) {
	BoundingShape boundedBy = super.calcBoundedBy(options);
	if (options.isUseExistingEnvelopes() && !boundedBy.isEmpty())
		return boundedBy;
	
	if (isSetGenericApplicationPropertyOfInteriorWallSurface()) {
		for (ADEComponent ade : getGenericApplicationPropertyOfInteriorWallSurface()) {
			if (ade.getADEClass() == ADEClass.MODEL_OBJECT)
				boundedBy.updateEnvelope(ADEBoundingBoxHelper.calcBoundedBy((ADEModelObject)ade, this, options).getEnvelope());
		}
	}
	
	if (options.isAssignResultToFeatures())
		setBoundedBy(boundedBy);
	
	return boundedBy;
}
 
开发者ID:citygml4j,项目名称:citygml4j,代码行数:19,代码来源:InteriorWallSurface.java

示例7: calcBoundedBy

import org.citygml4j.util.bbox.BoundingBoxOptions; //导入方法依赖的package包/类
@Override
public BoundingShape calcBoundedBy(BoundingBoxOptions options) {
	BoundingShape boundedBy = super.calcBoundedBy(options);
	if (options.isUseExistingEnvelopes() && !boundedBy.isEmpty())
		return boundedBy;
	
	if (isSetGenericApplicationPropertyOfClosureSurface()) {
		for (ADEComponent ade : getGenericApplicationPropertyOfClosureSurface()) {
			if (ade.getADEClass() == ADEClass.MODEL_OBJECT)
				boundedBy.updateEnvelope(ADEBoundingBoxHelper.calcBoundedBy((ADEModelObject)ade, this, options).getEnvelope());
		}
	}
	
	if (options.isAssignResultToFeatures())
		setBoundedBy(boundedBy);
	
	return boundedBy;
}
 
开发者ID:citygml4j,项目名称:citygml4j,代码行数:19,代码来源:ClosureSurface.java

示例8: calcBoundedBy

import org.citygml4j.util.bbox.BoundingBoxOptions; //导入方法依赖的package包/类
@Override
public BoundingShape calcBoundedBy(BoundingBoxOptions options) {
	BoundingShape boundedBy = super.calcBoundedBy(options);
	if (options.isUseExistingEnvelopes() && !boundedBy.isEmpty())
		return boundedBy;
	
	if (isSetReliefPoints()) {
		if (reliefPoints.isSetMultiPoint()) {
			boundedBy.updateEnvelope(reliefPoints.getMultiPoint().calcBoundingBox());
		} else {
			// xlink
		}
	}
	
	if (isSetGenericApplicationPropertyOfMassPointRelief()) {
		for (ADEComponent ade : getGenericApplicationPropertyOfMassPointRelief()) {
			if (ade.getADEClass() == ADEClass.MODEL_OBJECT)
				boundedBy.updateEnvelope(ADEBoundingBoxHelper.calcBoundedBy((ADEModelObject)ade, this, options).getEnvelope());
		}
	}

	if (options.isAssignResultToFeatures())
		setBoundedBy(boundedBy);
	
	return boundedBy;
}
 
开发者ID:citygml4j,项目名称:citygml4j,代码行数:27,代码来源:MassPointRelief.java

示例9: calcBoundedBy

import org.citygml4j.util.bbox.BoundingBoxOptions; //导入方法依赖的package包/类
@Override
public BoundingShape calcBoundedBy(BoundingBoxOptions options) {
	BoundingShape boundedBy = super.calcBoundedBy(options);
	if (options.isUseExistingEnvelopes() && !boundedBy.isEmpty())
		return boundedBy;
	
	if (isSetGenericApplicationPropertyOfSquare()) {
		for (ADEComponent ade : getGenericApplicationPropertyOfSquare()) {
			if (ade.getADEClass() == ADEClass.MODEL_OBJECT)
				boundedBy.updateEnvelope(ADEBoundingBoxHelper.calcBoundedBy((ADEModelObject)ade, this, options).getEnvelope());
		}
	}
	
	if (options.isAssignResultToFeatures())
		setBoundedBy(boundedBy);
	
	return boundedBy;
}
 
开发者ID:citygml4j,项目名称:citygml4j,代码行数:19,代码来源:Square.java

示例10: calcBoundedBy

import org.citygml4j.util.bbox.BoundingBoxOptions; //导入方法依赖的package包/类
@Override
public BoundingShape calcBoundedBy(BoundingBoxOptions options) {
	BoundingShape boundedBy = super.calcBoundedBy(options);
	if (options.isUseExistingEnvelopes() && !boundedBy.isEmpty())
		return boundedBy;
	
	if (isSetGenericApplicationPropertyOfBuilding()) {
		for (ADEComponent ade : getGenericApplicationPropertyOfBuilding()) {
			if (ade.getADEClass() == ADEClass.MODEL_OBJECT)
				boundedBy.updateEnvelope(ADEBoundingBoxHelper.calcBoundedBy((ADEModelObject)ade, this, options).getEnvelope());
		}
	}
	
	if (options.isAssignResultToFeatures())
		setBoundedBy(boundedBy);
	
	return boundedBy;
}
 
开发者ID:citygml4j,项目名称:citygml4j,代码行数:19,代码来源:Building.java

示例11: calcBoundedBy

import org.citygml4j.util.bbox.BoundingBoxOptions; //导入方法依赖的package包/类
@Override
public BoundingShape calcBoundedBy(BoundingBoxOptions options) {
	BoundingShape boundedBy = super.calcBoundedBy(options);
	if (options.isUseExistingEnvelopes() && !boundedBy.isEmpty())
		return boundedBy;
	
	if (isSetGenericApplicationPropertyOfCityObject()) {
		for (ADEComponent ade : getGenericApplicationPropertyOfCityObject()) {
			if (ade.getADEClass() == ADEClass.MODEL_OBJECT)
				boundedBy.updateEnvelope(ADEBoundingBoxHelper.calcBoundedBy((ADEModelObject)ade, this, options).getEnvelope());
		}
	}
	
	if (options.isAssignResultToFeatures())
		setBoundedBy(boundedBy);
	
	return boundedBy;
}
 
开发者ID:citygml4j,项目名称:citygml4j,代码行数:19,代码来源:AbstractCityObject.java

示例12: calcBoundedBy

import org.citygml4j.util.bbox.BoundingBoxOptions; //导入方法依赖的package包/类
@Override
public BoundingShape calcBoundedBy(BoundingBoxOptions options) {
	BoundingShape boundedBy = super.calcBoundedBy(options);
	if (options.isUseExistingEnvelopes() && !boundedBy.isEmpty())
		return boundedBy;
	
	if (lod0BaseLine != null && lod0BaseLine.isSetCurve())
		boundedBy.updateEnvelope(lod0BaseLine.getCurve().calcBoundingBox());
		
	if (options.isAssignResultToFeatures())
		setBoundedBy(boundedBy);
	
	return boundedBy;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:15,代码来源:NoiseRoadSegment.java

示例13: calcBoundedBy

import org.citygml4j.util.bbox.BoundingBoxOptions; //导入方法依赖的package包/类
@Override
public BoundingShape calcBoundedBy(BoundingBoxOptions options) {
	BoundingShape boundedBy = super.calcBoundedBy(options);
	if (options.isUseExistingEnvelopes() && !boundedBy.isEmpty())
		return boundedBy;
	
	if (lod0BaseLine != null && lod0BaseLine.isSetCurve())
		boundedBy.updateEnvelope(lod0BaseLine.getCurve().calcBoundingBox());
	
	if (options.isAssignResultToFeatures())
		setBoundedBy(boundedBy);
	
	return boundedBy;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:15,代码来源:NoiseCityFurnitureSegment.java

示例14: calcBoundedBy

import org.citygml4j.util.bbox.BoundingBoxOptions; //导入方法依赖的package包/类
@Override
public BoundingShape calcBoundedBy(BoundingBoxOptions options) {
	BoundingShape boundedBy = super.calcBoundedBy(options);
	if (options.isUseExistingEnvelopes() && !boundedBy.isEmpty())
		return boundedBy;
	
	if (isSetLod4Geometry()) {
		if (lod4Geometry.isSetGeometry()) {
			boundedBy.updateEnvelope(lod4Geometry.getGeometry().calcBoundingBox());	
		} else {
			// xlink
		}
	}	
	
	if (isSetLod4ImplicitRepresentation() && lod4ImplicitRepresentation.isSetImplicitGeometry())
		boundedBy.updateEnvelope(lod4ImplicitRepresentation.getImplicitGeometry().calcBoundingBox(options));
	
	if (isSetGenericApplicationPropertyOfBridgeFurniture()) {
		for (ADEComponent ade : getGenericApplicationPropertyOfBridgeFurniture()) {
			if (ade.getADEClass() == ADEClass.MODEL_OBJECT)
				boundedBy.updateEnvelope(ADEBoundingBoxHelper.calcBoundedBy((ADEModelObject)ade, this, options).getEnvelope());
		}
	}

	if (options.isAssignResultToFeatures())
		setBoundedBy(boundedBy);
	
	return boundedBy;
}
 
开发者ID:citygml4j,项目名称:citygml4j,代码行数:30,代码来源:BridgeFurniture.java

示例15: calcBoundedBy

import org.citygml4j.util.bbox.BoundingBoxOptions; //导入方法依赖的package包/类
@Override
public BoundingShape calcBoundedBy(BoundingBoxOptions options) {
	BoundingShape boundedBy = super.calcBoundedBy(options);
	if (options.isUseExistingEnvelopes() && !boundedBy.isEmpty())
		return boundedBy;
	
	if (isSetLod4Geometry()) {
		if (lod4Geometry.isSetGeometry()) {
			boundedBy.updateEnvelope(lod4Geometry.getGeometry().calcBoundingBox());	
		} else {
			// xlink
		}
	}	
	
	if (isSetLod4ImplicitRepresentation() && lod4ImplicitRepresentation.isSetImplicitGeometry())
		boundedBy.updateEnvelope(lod4ImplicitRepresentation.getImplicitGeometry().calcBoundingBox(options));
	
	if (isSetGenericApplicationPropertyOfTunnelFurniture()) {
		for (ADEComponent ade : getGenericApplicationPropertyOfTunnelFurniture()) {
			if (ade.getADEClass() == ADEClass.MODEL_OBJECT)
				boundedBy.updateEnvelope(ADEBoundingBoxHelper.calcBoundedBy((ADEModelObject)ade, this, options).getEnvelope());
		}
	}

	if (options.isAssignResultToFeatures())
		setBoundedBy(boundedBy);
	
	return boundedBy;
}
 
开发者ID:citygml4j,项目名称:citygml4j,代码行数:30,代码来源:TunnelFurniture.java


注:本文中的org.citygml4j.util.bbox.BoundingBoxOptions.isUseExistingEnvelopes方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。