Table of Contents

Struct CoordIJ

Namespace
H3.NET.Native
Assembly
H3.NET.Native.dll

Local IJ coordinates of a cell relative to an anchoring origin cell.

public readonly record struct CoordIJ : IEquatable<CoordIJ>
Implements
Inherited Members

Remarks

Local IJ coordinates are only defined within a small region around an origin and are not globally meaningful: the same CoordIJ resolves to different cells under different origins. The IJ-to-cell mapping is also not guaranteed invertible near pentagons or the antimeridian.

Constructors

CoordIJ(int, int)

Local IJ coordinates of a cell relative to an anchoring origin cell.

public CoordIJ(int I, int J)

Parameters

I int

The I component of the local coordinate.

J int

The J component of the local coordinate.

Remarks

Local IJ coordinates are only defined within a small region around an origin and are not globally meaningful: the same CoordIJ resolves to different cells under different origins. The IJ-to-cell mapping is also not guaranteed invertible near pentagons or the antimeridian.

Properties

I

The I component of the local coordinate.

public int I { get; init; }

Property Value

int

J

The J component of the local coordinate.

public int J { get; init; }

Property Value

int