Skip to content

Commit dbc4a6c

Browse files
committed
cs にコメント追加
1 parent 545f1f5 commit dbc4a6c

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

wrappers/csharp/LibPLATEAU.NET/CSharpPLATEAU/Geometries/GeoReference.cs

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,13 @@ public GeoCoordinate Unproject(PlateauVector3d point)
142142
return outLatLon;
143143
}
144144

145+
/// <summary>
146+
/// 指定されたEPSGコードを使用して座標変換を行います。
147+
/// </summary>
148+
/// <param name="point">変換する座標点</param>
149+
/// <param name="convertAxis">軸変換を行うかどうか</param>
150+
/// <param name="epsg">使用するEPSGコード。デフォルトは6697(日本測地系2011)</param>
151+
/// <returns>変換された座標点</returns>
145152
public PlateauVector3d Convert(PlateauVector3d point, bool convertAxis, int epsg = CoordinateReferenceFactory.DEFAULT_EPSG)
146153
{
147154
var result = NativeMethods.plateau_geo_reference_convert(
@@ -248,15 +255,15 @@ internal static extern APIResult plateau_geo_reference_project_point(
248255

249256
[DllImport(DLLUtil.DllName)]
250257
internal static extern APIResult plateau_geo_reference_project_without_axis_convert(
251-
[In] IntPtr geoReferencePtr,
252-
out PlateauVector3d outXyz,
253-
PlateauVector3d point);
258+
[In] IntPtr geoReferencePtr,
259+
out PlateauVector3d outXyz,
260+
PlateauVector3d point);
254261

255262
[DllImport(DLLUtil.DllName)]
256263
internal static extern APIResult plateau_geo_reference_convert(
257-
[In] IntPtr geoReferencePtr,
258-
out PlateauVector3d outXyz,
259-
PlateauVector3d point, [MarshalAs(UnmanagedType.U1)] bool convertAxis, int epsg);
264+
[In] IntPtr geoReferencePtr,
265+
out PlateauVector3d outXyz,
266+
PlateauVector3d point, [MarshalAs(UnmanagedType.U1)] bool convertAxis, int epsg);
260267

261268
[DllImport(DLLUtil.DllName)]
262269
internal static extern APIResult plateau_geo_reference_get_reference_point(

0 commit comments

Comments
 (0)