Show / Hide Table of Contents

Class Graticule

Handling the construction of a graticule

Inheritance
object
Graticule
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: FpAssistantCore.Geographical
Assembly: FpAssistantCoreScl.dll
Syntax
public class Graticule

Constructors

View Source

Graticule(GeoCoordinate, Dms, Dms, int, int, Dms, Dms)

Constructor to initialise the graticule construction with draw parameters

Declaration
public Graticule(GeoCoordinate startCoordinate, Dms latitudeIntervalDms, Dms longitudeIntervalDms, int latitudeLinesCount, int longitudeLinesCount, Dms latitudeTickIntervalDms, Dms longitudeTickIntervalDms)
Parameters
Type Name Description
GeoCoordinate startCoordinate

Starting coordinate of the graticule

Dms latitudeIntervalDms

Latitude interval in degrees, minutes and seconds

Dms longitudeIntervalDms

Longitude interval in degrees

int latitudeLinesCount

Number of latitude lines, minutes and seconds

int longitudeLinesCount

Number of longitude lines

Dms latitudeTickIntervalDms

Latitude interval in degrees, minutes and seconds for tick placement

Dms longitudeTickIntervalDms

Longitude interval in degrees for tick placement

Properties

View Source

Success

Informs if graticule was created without any issues

Declaration
public bool Success { get; }
Property Value
Type Description
bool

True or False if the graticule was created successfully

Methods

View Source

CreateGraticuleGrid(bool)

Create set of GeoMap elements containing the graticule tick marks

Declaration
public GeoMapElementCollection CreateGraticuleGrid(bool includeTicks)
Parameters
Type Name Description
bool includeTicks

Include ticks

Returns
Type Description
GeoMapElementCollection

Collection of GeoMap elements representing the graticule

View Source

CreateGraticuleTicks()

Create set of GeoMap elements of the graticule tick marks

Declaration
public GeoMapElementCollection CreateGraticuleTicks()
Returns
Type Description
GeoMapElementCollection

Collection of GeoMap elements representing the ticks of the graticule grid

View Source

SetLatitudeTickLength(Dms)

Set the length of the Latitude tick

Declaration
public void SetLatitudeTickLength(Dms latitudeTickLength)
Parameters
Type Name Description
Dms latitudeTickLength
Remarks

Default value is 4 minutes: new Dms(0, 4, 0.0)

View Source

SetLongitudeTickLength(Dms)

Set the length of the Longitude tick

Declaration
public void SetLongitudeTickLength(Dms longitudeTickLength)
Parameters
Type Name Description
Dms longitudeTickLength
Remarks

Default value is 2 minutes: new Dms(0, 2, 0.0)

  • View Source
In this article
Back to top Copyright 2018-2026 CADology Limited