computational-geometry
Here are 308 public repositories matching this topic...
-
Updated
Apr 10, 2020 - JavaScript
-
Updated
May 13, 2020 - Go
@redblobgames I'm wondering whether we could drop the script { display: block; }
hack — while it's definitely cool, it has some drawbacks:
- We can't add code highlighting to the code (e.g. with https://highlightjs.org/), which would help docs readability a lot.
- We have to split the code into two files entangled together, which makes refactoring inconvenient.
- It's impossible to lint it
-
Updated
May 9, 2020 - JavaScript
When pinch-zooming on leaflet I do a clusters recalculation like so:
const clusterizedMarkers = index.getClusters(clustersBounds, zoom);
The zoom has sometimes non integer values coming from Leaflet:
From my console: zoom value – 8.383082795293051
At that moment, index.getClusters crashes the app as the zoom value is not an integer (which makes sense!)
The fix in that case is to chang
-
Updated
May 22, 2020 - JavaScript
-
Updated
May 13, 2020 - JavaScript
-
Updated
May 7, 2020 - C
-
Updated
Mar 28, 2020 - JavaScript
-
Updated
Dec 13, 2018 - Jupyter Notebook
See section 12.4 of the User Guide (also, move that section to Developer's Guide, where its more appropriate).
When writing 3D objects in WKT, a "Z" is supposed to be added to the prefix, such that a 2D point and a 3D point are differentiated:
POINT (1,2)
POINT Z (1,2,3)
But as far as I tested, when writing 3D objects using the WKT writer of Boost Geometry, the "Z" prefix is never written, leading to this kind of output:
POINT (1,2)
POINT (1,2,3)
It seems to be similar for other
-
Updated
May 18, 2020
-
Updated
Mar 26, 2020 - JavaScript
Apparently NURBS Python converts NURBS geometry to triangle meshes on export to OBJ.
This implicit conversion is nowhere mentioned in the documentation. There should be a big warning box added.
Wavefront OBJ supports (trimmed) NURBS geometry. See e.g. a copy of the format description at Paul Bourke's website.
Software that can read (and write) such
-
Updated
Apr 25, 2019 - JavaScript
-
Updated
May 13, 2020 - Julia
-
Updated
Mar 19, 2020 - C++
-
Updated
May 22, 2020 - D
-
Updated
Sep 4, 2018 - JavaScript
js example for p5.js
Similar to your Processing example for Java, it would be helpful if you could include a basic p5.js example within the js folder.
-
Updated
Dec 2, 2019 - JavaScript
-
Updated
Dec 31, 2018 - C++
-
Updated
Mar 6, 2020 - C++
In context of mapbox/mapbox-gl-native#15268: if the original polygons are correct, there is no need to provide result that reorders original and return true.
Client then constructs another container, copying and casting all returned to domain specific type... e.g
https://github.com/mapbox/mapbox-gl-native/blob/273ad436fb4d2a18c6749bd4e40fa56546e9285c/src/mbgl/tile/geome
IndexedCoordinate.distance
is documented to be the distance from the start of the line string to the found coordinate:
However, LineString.closestCoordinate(to:)
sets it to the distance from the input coordinate to the found coordinate:
Some of the documentation is only added in an @require
block. This leads to warnings with newer Documenter
versions when loading the corresponding optional packages. Example:
julia> using LazySets, Polyhedra
┌ Warning: Replacing docs for `LazySets.HPolytope :: Union{Tuple{Union{HRepresentation{N}, Polyhedron{N}}}, Tuple{N}} where N` in module `LazySets`
└ @ Base.Docs docs/Docs.j
Improve this page
Add a description, image, and links to the computational-geometry topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the computational-geometry topic, visit your repo's landing page and select "manage topics."
test with
turf.lineString(<coords>,{},{id:0})
on
v.5.1.6
if id is
0
the id field is missing