示例#1
0
文件: Label.cs 项目: izambakci/tf-net
 /// <summary> 
 /// Construct a Label with the same values as the argument for the
 /// given Geometry index.
 /// </summary>
 /// <param name="geomIndex"></param>
 /// <param name="gl"></param>
 public Label(int geomIndex, TopologyLocation gl)
 {
     elt[0] = new TopologyLocation(gl.GetLocations());
     elt[1] = new TopologyLocation(gl.GetLocations());
     elt[geomIndex].SetLocations(gl);
 }
示例#2
0
 /// <summary>
 /// Construct a Label with the same values as the argument for the
 /// given Geometry index.
 /// </summary>
 /// <param name="geomIndex"></param>
 /// <param name="gl"></param>
 public Label(int geomIndex, TopologyLocation gl)
 {
     elt[0] = new TopologyLocation(gl.GetLocations());
     elt[1] = new TopologyLocation(gl.GetLocations());
     elt[geomIndex].SetLocations(gl);
 }