Search Results for

    Show / Hide Table of Contents

    Class GeoReference

    極座標と平面直角座標を変換します。 また座標変換の基準を保持します。

    Inheritance
    System.Object
    GeoReference
    Namespace: PLATEAU.Geometries
    Assembly: cs.temp.dll.dll
    Syntax
    public class GeoReference : PInvokeDisposable

    Properties

    CoordinateSystem

    Declaration
    public CoordinateSystem CoordinateSystem { get; }
    Property Value
    Type Description
    CoordinateSystem

    ReferencePoint

    Declaration
    public PlateauVector3d ReferencePoint { get; }
    Property Value
    Type Description
    PlateauVector3d

    UnitScale

    Declaration
    public float UnitScale { get; }
    Property Value
    Type Description
    System.Single

    ZoneID

    Declaration
    public int ZoneID { get; }
    Property Value
    Type Description
    System.Int32

    ZoneIdExplanation

    Declaration
    public static string[] ZoneIdExplanation { get; }
    Property Value
    Type Description
    System.String[]

    Methods

    Convert(PlateauVector3d, Boolean, Int32)

    指定されたEPSGコードを使用して座標変換を行います。

    Declaration
    public PlateauVector3d Convert(PlateauVector3d point, bool convertAxis, int epsg = 6697)
    Parameters
    Type Name Description
    PlateauVector3d point

    変換する座標点

    System.Boolean convertAxis

    軸変換を行うかどうか

    System.Int32 epsg

    使用するEPSGコード。デフォルトは6697(日本測地系2011)

    Returns
    Type Description
    PlateauVector3d

    変換された座標点

    ConvertAxisFromENUTo(CoordinateSystem, PlateauVector3d)

    Declaration
    public static PlateauVector3d ConvertAxisFromENUTo(CoordinateSystem axis, PlateauVector3d vertex)
    Parameters
    Type Name Description
    CoordinateSystem axis
    PlateauVector3d vertex
    Returns
    Type Description
    PlateauVector3d

    ConvertAxisToENU(CoordinateSystem, PlateauVector3d)

    Declaration
    public static PlateauVector3d ConvertAxisToENU(CoordinateSystem axis, PlateauVector3d vertex)
    Parameters
    Type Name Description
    CoordinateSystem axis
    PlateauVector3d vertex
    Returns
    Type Description
    PlateauVector3d

    Create(PlateauVector3d, Single, CoordinateSystem, Int32)

    Declaration
    public static GeoReference Create(PlateauVector3d referencePoint, float unitScale, CoordinateSystem coordinateSystem, int zoneID)
    Parameters
    Type Name Description
    PlateauVector3d referencePoint

    平面直角座標に変換したあと、この座標が原点となるように並行移動します。

    System.Single unitScale

    平面直角座標に変換したあと、拡大縮小します。

    CoordinateSystem coordinateSystem

    平面直角座標のX,Y,Z軸の向きを決めます。

    System.Int32 zoneID

    国土交通省告示第九号に基づく平面直角座標系の原点の番号です。 関東地方では 9 を選択すると歪みが少なくなりますが、 この値を間違えても、ぱっと見ですぐ分かるような歪みにはなりません。 詳しくはこちらを参照してください : https://www.gsi.go.jp/sokuchikijun/jpc.html

    Returns
    Type Description
    GeoReference

    DisposeNative()

    Declaration
    protected override void DisposeNative()

    Finalize()

    Declaration
    protected void Finalize()

    Project(GeoCoordinate)

    Declaration
    public PlateauVector3d Project(GeoCoordinate geoCoordinate)
    Parameters
    Type Name Description
    GeoCoordinate geoCoordinate
    Returns
    Type Description
    PlateauVector3d

    Project(PlateauVector3d)

    Declaration
    public PlateauVector3d Project(PlateauVector3d point)
    Parameters
    Type Name Description
    PlateauVector3d point
    Returns
    Type Description
    PlateauVector3d

    ProjectWithoutAxisConvert(PlateauVector3d)

    Declaration
    public PlateauVector3d ProjectWithoutAxisConvert(PlateauVector3d point)
    Parameters
    Type Name Description
    PlateauVector3d point
    Returns
    Type Description
    PlateauVector3d

    Unproject(PlateauVector3d)

    Declaration
    public GeoCoordinate Unproject(PlateauVector3d point)
    Parameters
    Type Name Description
    PlateauVector3d point
    Returns
    Type Description
    GeoCoordinate
    In This Article
    Back to top PLATEAU SDK for Unity