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


Java Length类代码示例

本文整理汇总了Java中org.citygml4j.model.gml.measures.Length的典型用法代码示例。如果您正苦于以下问题:Java Length类的具体用法?Java Length怎么用?Java Length使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: copyTo

import org.citygml4j.model.gml.measures.Length; //导入依赖的package包/类
@Override
public Object copyTo(Object target, CopyBuilder copyBuilder) {
	NoiseCityFurnitureSegment copy = (target == null) ? new NoiseCityFurnitureSegment() : (NoiseCityFurnitureSegment)target;
	super.copyTo(copy, copyBuilder);
	
	if (isSetType()) {
		copy.setType((Code)copyBuilder.copy(type));
		if (copy.getType() == type)
			type.setParent(this);
	}
	
	if (isSetReflection())
		copy.setReflection((String)copyBuilder.copy(reflection));

	if (isSetReflectionCorrection()) {
		copy.setReflectionCorrection((Measure)copyBuilder.copy(reflectionCorrection));
		if (copy.getReflectionCorrection() == reflectionCorrection)
			reflectionCorrection.setParent(this);
	}
	
	if (isSetHeight()) {
		copy.setHeight((Length)copyBuilder.copy(height));
		if (copy.getHeight() == height)
			height.setParent(this);
	}

	if (isSetDistance()) {
		copy.setDistance((Length)copyBuilder.copy(distance));
		if (copy.getDistance() == distance)
			distance.setParent(this);
	}

	if (isSetLod0BaseLine()) {
		copy.setLod0BaseLine((CurveProperty)copyBuilder.copy(lod0BaseLine));
		if (copy.getLod0BaseLine() == lod0BaseLine)
			lod0BaseLine.setParent(this);
	}
	
	return copy;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:41,代码来源:NoiseCityFurnitureSegment.java

示例2: getDistanceCarriageway

import org.citygml4j.model.gml.measures.Length; //导入依赖的package包/类
public Length getDistanceCarriageway() {
	return distanceCarriageway;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:4,代码来源:NoiseRoadSegment.java

示例3: setDistanceCarriageway

import org.citygml4j.model.gml.measures.Length; //导入依赖的package包/类
public void setDistanceCarriageway(Length distanceCarriageway) {
	if (distanceCarriageway != null)
		distanceCarriageway.setParent(this);
	
	this.distanceCarriageway = distanceCarriageway;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:7,代码来源:NoiseRoadSegment.java

示例4: getDistanceD

import org.citygml4j.model.gml.measures.Length; //导入依赖的package包/类
public Length getDistanceD() {
	return distanceD;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:4,代码来源:NoiseRoadSegment.java

示例5: setDistanceD

import org.citygml4j.model.gml.measures.Length; //导入依赖的package包/类
public void setDistanceD(Length distanceD) {
	if (distanceD != null)
		distanceD.setParent(this);
	
	this.distanceD = distanceD;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:7,代码来源:NoiseRoadSegment.java

示例6: getCurveRadius

import org.citygml4j.model.gml.measures.Length; //导入依赖的package包/类
public Length getCurveRadius() {
	return curveRadius;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:4,代码来源:NoiseRailwaySegment.java

示例7: setCurveRadius

import org.citygml4j.model.gml.measures.Length; //导入依赖的package包/类
public void setCurveRadius(Length curveRadius) {
	if (curveRadius != null)
		curveRadius.setParent(this);
	
	this.curveRadius = curveRadius;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:7,代码来源:NoiseRailwaySegment.java

示例8: getLengthDay

import org.citygml4j.model.gml.measures.Length; //导入依赖的package包/类
public Length getLengthDay() {
	return lengthDay;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:4,代码来源:Train.java

示例9: setLengthDay

import org.citygml4j.model.gml.measures.Length; //导入依赖的package包/类
public void setLengthDay(Length lengthDay) {
	if (lengthDay != null)
		lengthDay.setParent(this);
	
	this.lengthDay = lengthDay;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:7,代码来源:Train.java

示例10: getLengthEvening

import org.citygml4j.model.gml.measures.Length; //导入依赖的package包/类
public Length getLengthEvening() {
	return lengthEvening;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:4,代码来源:Train.java

示例11: setLengthEvening

import org.citygml4j.model.gml.measures.Length; //导入依赖的package包/类
public void setLengthEvening(Length lengthEvening) {
	if (lengthEvening != null)
		lengthEvening.setParent(this);
	
	this.lengthEvening = lengthEvening;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:7,代码来源:Train.java

示例12: getLengthNight

import org.citygml4j.model.gml.measures.Length; //导入依赖的package包/类
public Length getLengthNight() {
	return lengthNight;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:4,代码来源:Train.java

示例13: setLengthNight

import org.citygml4j.model.gml.measures.Length; //导入依赖的package包/类
public void setLengthNight(Length lengthNight) {
	if (lengthNight != null)
		lengthNight.setParent(this);
	
	this.lengthNight = lengthNight;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:7,代码来源:Train.java

示例14: getHeight

import org.citygml4j.model.gml.measures.Length; //导入依赖的package包/类
public Length getHeight() {
	return height;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:4,代码来源:NoiseCityFurnitureSegment.java

示例15: setHeight

import org.citygml4j.model.gml.measures.Length; //导入依赖的package包/类
public void setHeight(Length height) {
	if (height != null)
		height.setParent(this);
	
	this.height = height;
}
 
开发者ID:citygml4j,项目名称:module-noise-ade,代码行数:7,代码来源:NoiseCityFurnitureSegment.java


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