You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rewrite Geometry Functions With Latest Refractors #880
improvementImprovements on existing features or infrastructurenew featureNew user-facing functionalityscalabilityRelated to scalability & performance efforts
As discussed thoroughly in #785, many of the geometry functions were implemented before multiple refactors and changes to data structures, and they have not been updated to align with the current implementation. A rewrite is needed to significantly improve performance.
Affected Geometry Functions
The following geometry functions are in need of a rewrite:
_pole_point_inside_polygon
extreme_gca_latitude
_insert_pt_in_latlonbox
_get_cartesian_face_edge_nodes
_get_lonlat_rad_face_edge_nodes
Key Issues
To improve performance, we need to eliminate any unnecessary coordinate conversion calls, such as _xyz_to_lonlat_rad.
One proposed solution is to provide both the latlon_rad and cartesian points in the function call to avoid needing conversions. For example:
Hmmm so technically we can. But when I was checking the current implementation, lots of the goals here have already been achieved. So I think we can either directly close it or link this with #1180
improvementImprovements on existing features or infrastructurenew featureNew user-facing functionalityscalabilityRelated to scalability & performance efforts
Activity
philipc2 commentedon Mar 18, 2025
@hongyuchen1030
Should we link this with #1180
hongyuchen1030 commentedon Mar 18, 2025
Hmmm so technically we can. But when I was checking the current implementation, lots of the goals here have already been achieved. So I think we can either directly close it or link this with #1180
erogluorhan commentedon Jun 13, 2025
Closing per @hongyuchen1030 's previous comment here. Can reopen if we need.