ESRI_Point

References
public struct ESRI_Point
Represents an immutable point/measurement combo used in ESRI shape files.

Constructors

ESRI_Point

#
public ESRI_Point(double x, double y, double z, double measurement)
Create a new three-dimensional point with measurement.
x (double)X coordinate.
y (double)Y coordinate.
z (double)Z coordinate.
measurement (double)Measurement value.

ESRI_Point

#
public ESRI_Point(double x, double y, double z)
Create a new three-dimensional point with no measurement.
x (double)X coordinate.
y (double)Y coordinate.
z (double)Z coordinate.

ESRI_Point

#
public ESRI_Point(double x, double y)
Create a new two-dimensional point with no measurement.
x (double)X coordinate.
y (double)Y coordinate.

ESRI_Point

#
public ESRI_Point(Point3d point, double measurement)
Create a new three-dimensional point with measurement.
point (Point3d)Point.
measurement (double)Measurement value.

ESRI_Point

#
public ESRI_Point(Point3d point)
Create a new three-dimensional point without measurement.
point (Point3d)Point.

Properties

HasElevation

#
public bool HasElevation { get; }
Gets whether this point has elevation data.

HasMeasurement

#
public bool HasMeasurement { get; }
Gets whether this point has an assigned measurement.

HasPoint

#
public bool HasPoint { get; }
Gets whether this point has assigned coordinates.

Measurement

#
public double Measurement { get; }
Gets the measurement value for this ESRI point.

Point

#
public Point3d Point { get; }
Gets the location for this ESRI point.

Methods

AssignMeasurement

#
public ESRI_Point AssignMeasurement(double measurement)
Assign a new measurement to this point.
measurement (double)Measurement value to assign.
New point with this location but with a new measurement.

Distance

#
public double Distance(ESRI_Point other)
Gets the distance between this point and another.
other (ESRI_Point)Other point.
Distance.

Distance

#
public double Distance(Point3d other)
Gets the distance between this point and another.
other (Point3d)Other point.
Distance.

Transform

#
public ESRI_Point Transform(Transform transform)
Transform this point.
transform (Transform)Transformation.
Transformed point.