Show / Hide Table of Contents

Struct GridCoordinate

Grid Coordinate

Namespace: FpAssistantCore.General
Assembly: FpAssistantCoreScl.dll
Syntax
public struct GridCoordinate
Remarks

A grid coordinate is on flat plane with an x and y extending from the origin with many perpendicular line spaced out evenly on the grid

Constructors

View Source

GridCoordinate(GeoCoordinate, MapProjections, String)

Constructs a coordinate based on GeoCoordinate parameter with specific map projection and zone/identifier

Declaration
public GridCoordinate(GeoCoordinate geoCoordinate, MapProjections mapProjection, string projectionZoneIdentifier)
Parameters
Type Name Description
GeoCoordinate geoCoordinate

Geographical Lat/Long coordinate on which to base the grid coordinate

MapProjections mapProjection

Required map projection for this grid/Cartesian coordinate

System.String projectionZoneIdentifier

Zone/Identifier for the grid coordinate based on the map projection

Properties

View Source

MapProjection

Property to access the map project using for the grid coordinate

Declaration
public readonly MapProjections MapProjection { get; }
Property Value
Type Description
MapProjections

Map projection enum using MapProjections

View Source

ProjectionZoneIdentifier

Property to access the map project identifier

Declaration
public readonly string ProjectionZoneIdentifier { get; }
Property Value
Type Description
System.String

String containing the projection identifier

Remarks

Some projections break into zone i.e. UTM so as well as the projection type there is also a zone or another identifier needed to improve the accuracy of the conversion

View Source

XYCoordinate

Property to access the X and Y component of the point

Declaration
public readonly Point3d XYCoordinate { get; }
Property Value
Type Description
Point3d

Coordinate as Point3D

Methods

View Source

CartesianAngleTo(GridCoordinate)

Angle between two coordinates (2D)

Declaration
public double CartesianAngleTo(GridCoordinate gridCoordinate)
Parameters
Type Name Description
GridCoordinate gridCoordinate

Second coordinate to calculate 2D angle between

Returns
Type Description
System.Double
  • View Source
In This Article
Back to top Copyright 2018-2024 CADology Limited