Search Results for

    Show / Hide Table of Contents

    Struct ShiftGridIndexer2

    Map to/from grid coords, where grid is translated from origin

    Implements
    IGridWorldIndexer2
    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: g3
    Assembly: cs.temp.dll.dll
    Syntax
    public struct ShiftGridIndexer2 : IGridWorldIndexer2

    Constructors

    ShiftGridIndexer2(Vector2d, Double)

    Declaration
    public ShiftGridIndexer2(Vector2d origin, double cellSize)
    Parameters
    Type Name Description
    Vector2d origin
    Double cellSize

    Fields

    CellSize

    Declaration
    public double CellSize
    Field Value
    Type Description
    Double

    Origin

    Declaration
    public Vector2d Origin
    Field Value
    Type Description
    Vector2d

    Methods

    FromGrid(Vector2d)

    Declaration
    public Vector2d FromGrid(Vector2d gridpointf)
    Parameters
    Type Name Description
    Vector2d gridpointf
    Returns
    Type Description
    Vector2d

    FromGrid(Vector2i)

    Declaration
    public Vector2d FromGrid(Vector2i gridpoint)
    Parameters
    Type Name Description
    Vector2i gridpoint
    Returns
    Type Description
    Vector2d

    ToGrid(Vector2d)

    Declaration
    public Vector2i ToGrid(Vector2d point)
    Parameters
    Type Name Description
    Vector2d point
    Returns
    Type Description
    Vector2i

    Implements

    IGridWorldIndexer2
    In This Article
    Back to top ViRGIS VR GIS