本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}