Public Sub New()
Public Sub New(ByVal dimensions As Short)
Public Sub New(ByVal east As Double, ByVal north As Double)
Public Sub New(ByVal east As Double, ByVal north As Double, ByVal height As Double)
public ProjectedPoint()
public ProjectedPoint(System.Int16 dimensions)
public ProjectedPoint(System.Double east, System.Double north)
public ProjectedPoint(System.Double east, System.Double north, System.Double height)
The ProjectedPoint constructor creates a new instance of the ProjectedPoint class. There are four signatures for this constructor, each of which creates a point that uses meters as the Units on each coordinate.
The first signature takes no arguments and produces a three-dimensional ProjectedPoint located at the origin of the ProjectedCoordSys.
The second signature takes a single argument that indicates the number of Dimensions for the resulting ProjectedPoint, which will be located at the origin of the ProjectedCoordSys.
The third signature takes two arguments, which indicate the East and North coordinate values in meters. The resulting ProjectedPoint has a Dimensions value of two.
The final signature takes three arguments, which indicate the East, North, and Height coordinate values in meters. The resulting ProjectedPoint has a Dimensions value of three.
Private Sub GeoCalcNET_ProjectedPoint(ByVal data As GeoCalcNET.DataSourceComponent)
Dim east As Double = 1250
Dim north As Double = -644
Dim height As Double = 0
Dim pt1 As New GeoCalcNET.ProjectedPoint
pt1.SetInUnits(east, north, height)
Dim pt2 As New GeoCalcNET.ProjectedPoint(2)
pt2.SetInUnits(east, north)
Dim pt3 As New GeoCalcNET.ProjectedPoint(east, north)
Dim pt4 As New GeoCalcNET.ProjectedPoint(east, north, height)
End Sub
private void GeoCalcNET_ProjectedPoint(GeoCalcNET.DataSourceComponent data)
{
double east = 743;
double north = 3300;
double height = 1000;
GeoCalcNET.ProjectedPoint pt1 = new GeoCalcNET.ProjectedPoint();
pt1.SetInUnits(east, north, height);
GeoCalcNET.ProjectedPoint pt2 = new GeoCalcNET.ProjectedPoint(2);
pt2.SetInUnits(east, north, height);
GeoCalcNET.ProjectedPoint pt3 = new GeoCalcNET.ProjectedPoint(east, north);
GeoCalcNET.ProjectedPoint pt4 = new GeoCalcNET.ProjectedPoint(east, north, height);
}