Plane representation of points where spherical calculations are inappropriate.
More...
|
| XYvertex () |
| Defalut constructor.
|
|
| XYvertex (double x, double y) |
| Parametric constructor.
|
|
| XYvertex (double lat, double lon, IXYconverter c) |
| Constructor from spherical lat,lon.
|
|
override bool | Equals (object obj) |
| Equal() override.
|
|
void | ToGeo (out double lat, out double lon, IXYconverter c) |
| Convert to spherical lat,lon.
|
|
double | Distance (XYvertex p1) |
| Disptance to another vertex.
|
|
double | Length () |
| Length of vector.
|
|
XYvertex | Proximum (XYvertex p0, XYvertex p1, out double d) |
| Returns nearest point on the edge joining p0 and p1.
|
|
XYvertex | Proximum (XYvertex[] poly, out double d) |
| Returns nearest point on the polygon poly. Polygon edges between consecutive points are regarded as straight lines.
|
|
|
static double | Proximum (GeoPos[] gps, GeoPos gp, IXYconverter c, out GeoPos prox) |
| Returns nearest point on the polygon gps from the point gp. Polygon edges between consecutive points are regarded as straight lines.
|
|
Plane representation of points where spherical calculations are inappropriate.
◆ XYvertex() [1/2]
TPG.GeoUnits.XYvertex.XYvertex |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
inline |
Parametric constructor.
- Parameters
-
◆ XYvertex() [2/2]
TPG.GeoUnits.XYvertex.XYvertex |
( |
double |
lat, |
|
|
double |
lon, |
|
|
IXYconverter |
c |
|
) |
| |
|
inline |
Constructor from spherical lat,lon.
- Parameters
-
lat | input lat |
lon | inøut lon |
c | Any suitable converter for conformal mapping between spherical coordinates and the isometric XY plane |
◆ Distance()
double TPG.GeoUnits.XYvertex.Distance |
( |
XYvertex |
p1 | ) |
|
|
inline |
Disptance to another vertex.
- Parameters
-
- Returns
- distance
◆ Equals()
override bool TPG.GeoUnits.XYvertex.Equals |
( |
object |
obj | ) |
|
|
inline |
Equal() override.
- Parameters
-
- Returns
◆ Length()
double TPG.GeoUnits.XYvertex.Length |
( |
| ) |
|
|
inline |
Length of vector.
- Returns
- length
◆ Proximum() [1/3]
Returns nearest point on the polygon gps from the point gp. Polygon edges between consecutive points are regarded as straight lines.
- Parameters
-
gps | input polygon |
gp | remote point |
c | Any suitable converter for conformal mapping between spherical coordinates and an isometric XY plane |
prox | output nearest point on the polygon gps from the point gp |
- Returns
- Distance in meters to polygon
◆ Proximum() [2/3]
Returns nearest point on the edge joining p0 and p1.
- Parameters
-
p0 | first vertex |
p1 | second vertex |
d | output distance |
- Returns
- Vertex representing nearest point on the edge joining p0 and p1
◆ Proximum() [3/3]
Returns nearest point on the polygon poly. Polygon edges between consecutive points are regarded as straight lines.
- Parameters
-
poly | input polygon |
d | output distance |
- Returns
- Vertex representing nearest point on the edge joining p0 and p1
◆ ToGeo()
void TPG.GeoUnits.XYvertex.ToGeo |
( |
out double |
lat, |
|
|
out double |
lon, |
|
|
IXYconverter |
c |
|
) |
| |
|
inline |
Convert to spherical lat,lon.
- Parameters
-
lat | output lat |
lon | output lon |
c | The mapping for conversion |
The documentation for this class was generated from the following file:
- Src/Libraries/Teleplan.C4IS.Geo/SurfaceUtilities/XYvertex.cs