예제 #1
0
 /// <summary>Creates a 3D point with specified X, Y and Z coordinates.</summary>
 /// <remarks>
 /// Creates a 3D point with specified X, Y and Z coordinates. In case of
 /// Geographic Coordinate Systems, the X coordinate is the longitude and the
 /// Y is the latitude.
 /// </remarks>
 /// <param name="x">The X coordinate of the new 3D point.</param>
 /// <param name="y">The Y coordinate of the new 3D point.</param>
 /// <param name="z">The Z coordinate of the new 3D point.</param>
 public Point(double x, double y, double z)
 {
     m_description = com.epl.geometry.VertexDescriptionDesignerImpl.GetDefaultDescriptor2D();
     com.epl.geometry.Point3D pt = new com.epl.geometry.Point3D();
     pt.SetCoords(x, y, z);
     SetXYZ(pt);
 }
예제 #2
0
 /// <summary>Adds a Point to this MultiPoint with given x, y, z coordinates.</summary>
 public void Add(double x, double y, double z)
 {
     Resize(m_pointCount + 1);
     com.epl.geometry.Point3D pt = new com.epl.geometry.Point3D();
     pt.SetCoords(x, y, z);
     SetXYZ(m_pointCount - 1, pt);
 }
예제 #3
0
 public static com.epl.geometry.Point3D Construct(double x, double y, double z)
 {
     com.epl.geometry.Point3D pt = new com.epl.geometry.Point3D();
     pt.SetCoords(x, y, z);
     return(pt);
 }