com.supermap.analyst.networkanalyst3d
Class WeightFieldInfo3D
- java.lang.Object
-
- com.supermap.analyst.networkanalyst3d.WeightFieldInfo3D
-
public class WeightFieldInfo3D extends java.lang.Object
The WeightFieldInfo class.
The WeightFieldInfo3D class is used to get or set the information of the weight field in the 3D network analysis including the FTWeightField property and TFWeightField property.
The weight field represents the cost. The from-to weight field value represents the cost from the start point to the end point along the edge, while the to-from weight field value represents the cost from the end point to the start point along the edge.
-
-
Constructor Summary
Constructors Constructor and Description WeightFieldInfo3D()
Initializes a new instance of WeightFieldInfo3D.WeightFieldInfo3D(WeightFieldInfo3D weightFieldInfo)
Constructs a new object identical to the given WeightFieldInfo3D object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String
getFTWeightField()
Returns the forward weight fields or expressions.java.lang.String
getName()
Gets the name of WeightFieldInfo.java.lang.String
getTFWeightField()
Returns the backward weight fields or expressions.void
setFTWeightField(java.lang.String value)
Sets the forward weight fields or expressions.void
setName(java.lang.String value)
Sets the name of the weight field information.void
setTFWeightField(java.lang.String value)
Sets the backward weight fields or expressions.
-
-
-
Constructor Detail
-
WeightFieldInfo3D
public WeightFieldInfo3D()
Initializes a new instance of WeightFieldInfo3D.
-
WeightFieldInfo3D
public WeightFieldInfo3D(WeightFieldInfo3D weightFieldInfo)
Constructs a new object identical to the given WeightFieldInfo3D object.- Parameters:
weightFieldInfo
- The specified WeightFieldInfo object.
-
-
Method Detail
-
getFTWeightField
public java.lang.String getFTWeightField()
Returns the forward weight fields or expressions.- Returns:
- The forward weight fields or expressions.
-
setFTWeightField
public void setFTWeightField(java.lang.String value)
Sets the forward weight fields or expressions.- Parameters:
value
- The forward weight fields or expressions.
-
getTFWeightField
public java.lang.String getTFWeightField()
Returns the backward weight fields or expressions.- Returns:
- The backward weight fields or expressions.
-
setTFWeightField
public void setTFWeightField(java.lang.String value)
Sets the backward weight fields or expressions.- Parameters:
value
- The backward weight fields or expressions.
-
getName
public java.lang.String getName()
Gets the name of WeightFieldInfo.- Returns:
- The name of WeightFieldInfo.
-
setName
public void setName(java.lang.String value)
Sets the name of the weight field information. In the WeightFieldInfos3D object, the name uniquely identifies the weight field information. When you set the weight information for the 3D network, it usually requires that the name of the weight field information is specified.- Parameters:
value
- The name of WeightFieldInfo.
-
-