Skip to content

Commit 7255cd2

Browse files
committed
コメント変更
1 parent bce7594 commit 7255cd2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

include/plateau/geometry/geo_coordinate.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,14 @@ namespace plateau::geometry {
8181
bool contains(const citygml::CityObject& city_obj, bool ignore_height = true) const;
8282

8383
/**
84-
* 平面直角座標系の判定を含む処理です
85-
* 平面直角座標の場合はunprojectして緯度経度に変換してから判定します。
84+
* 座標系のEPSGコードに応じて適切な座標変換を行い、点が範囲内に含まれるかを判定します。
85+
* 平面直角座標系(EPSG 10162~10174)の場合は、平面座標を緯度経度座標に変換してから判定します。
86+
* 極座標系(それ以外のEPSG)の場合は、通常のcontainsメソッドと同様に直接判定します。
87+
*
88+
* @param point 判定対象の点
89+
* @param epsg 座標系を識別するEPSGコード
90+
* @param ignore_height 高さを無視する場合はtrue
91+
* @return 点が範囲内に含まれる場合はtrue
8692
*/
8793
bool containsInPolar(TVec3d point,const int epsg, bool ignore_height = true) const;
8894
bool containsInPolar(const citygml::CityObject& city_obj,const int epsg, bool ignore_height = true) const;

0 commit comments

Comments
 (0)