2.2.4. Assembly: CasaSoft.R3D.Coords

2.2.4.1. Type: CasaSoft.vrt.KmlLib.LatLon

Contains a couple of longs

2.2.4.1.1. Field: CasaSoft.vrt.KmlLib.LatLon.Lat

latitude

2.2.4.1.2. Field: CasaSoft.vrt.KmlLib.LatLon.Lon

longitude

2.2.4.2. Type: CasaSoft.vrt.KmlLib.XY

Contains a couple of ints

2.2.4.2.1. Field: CasaSoft.vrt.KmlLib.XY.X

x coord

2.2.4.2.2. Field: CasaSoft.vrt.KmlLib.XY.Y

y coord

2.2.4.3. Type: CasaSoft.vrt.KmlLib.R3dCoordsConverter

Converts lat/lon coords to Rail3D layout coords all data are relative to the starting point (usually 20000, 20000)

2.2.4.3.1. Field: CasaSoft.vrt.KmlLib.R3dCoordsConverter.GeoCenter

Type: CasaSoft.vrt.KmlLib.LatLon structure with geo coords

2.2.4.3.2. Field: CasaSoft.vrt.KmlLib.R3dCoordsConverter.UTMcenter

Type: CasaSoft.vrt.KmlLib.XY structure with geo coords converted to UTM

2.2.4.3.3. Field: CasaSoft.vrt.KmlLib.R3dCoordsConverter.UTMfuse

UTM zone for conversion

2.2.4.3.4. Field: CasaSoft.vrt.KmlLib.R3dCoordsConverter.R3Dcenter

Rail3D coords of origin point

2.2.4.3.5. Field: CasaSoft.vrt.KmlLib.R3dCoordsConverter.pOrigin

id of original coordinate projection

2.2.4.3.6. Field: CasaSoft.vrt.KmlLib.R3dCoordsConverter.pTarget

id of coordinate project to convert into

2.2.4.3.7. Method: CasaSoft.vrt.KmlLib.R3dCoordsConverter.#ctor(CasaSoft.vrt.KmlLib.LatLon,CasaSoft.vrt.KmlLib.XY,System.Int32)

Constructor

Parameter geo: LatLon structure with geographic coordinates

Parameter r3d: origin point of Rail3D layout

Parameter UTMfuse: zone for UTM conversions

2.2.4.3.8. Method: CasaSoft.vrt.KmlLib.R3dCoordsConverter.#ctor(CasaSoft.vrt.KmlLib.LatLon,CasaSoft.vrt.KmlLib.XY)

Constructor

Parameter geo: LatLon structure with geographic coordinates

Parameter r3d: origin point of Rail3D layout

2.2.4.3.9. Method: CasaSoft.vrt.KmlLib.R3dCoordsConverter.setValues(CasaSoft.vrt.KmlLib.LatLon,CasaSoft.vrt.KmlLib.XY,System.Int32)

Common part of constructors

Parameter geo: LatLon structure with geographic coordinates

Parameter r3d: origin point of Rail3D layout

Parameter UTMfuse: zone for UTM conversions

2.2.4.3.10. Method: CasaSoft.vrt.KmlLib.R3dCoordsConverter.setValues(CasaSoft.vrt.KmlLib.LatLon,CasaSoft.vrt.KmlLib.XY)

Constructor with automatic zone

Parameter geo: LatLon structure with geographic coordinates

Parameter r3d: origin point of Rail3D layout

2.2.4.3.11. Method: CasaSoft.vrt.KmlLib.R3dCoordsConverter.FindUTMzone(System.Double)

return UTM zone from longitude

Parameter lon: longitude

Returns: UTM zone

2.2.4.3.12. Method: CasaSoft.vrt.KmlLib.R3dCoordsConverter.ToUTM(CasaSoft.vrt.KmlLib.LatLon)

Wrapper for esier lat/lon to UTM conversion

Parameter geo: LatLon structure with geographic coordinates

Returns: XY structure with UTM coordinates

2.2.4.3.13. Method: CasaSoft.vrt.KmlLib.R3dCoordsConverter.ToRail3D(CasaSoft.vrt.KmlLib.LatLon)

Converts a lat/lon point to Rail3D layout coords

Parameter geo: LatLon structure with geographic coordinates

Returns: XY structure with Rail3D layout coordinates