v0.5.0
GeometryBasics v0.5.0
Merged pull requests:
- remove generated Rect method (#165) (@piever)
- Slim down GeometryBasics and remove all type complexity (#173) (@SimonDanisch)
- Geometry Basics refactor (#219) (@ffreyer)
- Bump version to 0.5 (breaking version) (#226) (@asinghvi17)
- rename
tesselationtotessellation(#227) (@t-bltg) - Fix errors in docs & fix GeoInterface test failures (#228) (@ffreyer)
Closed issues:
- heterogeneous feature collection (#49)
- heterogeneous geometry collection (#50)
- Rename
Tesselation->Tessellation(#224)
Changelog / Update Notes
Changes that could break things
Tesselation->Tessellationmeta()removed:Mesh(meta(kwargs...), faces)->Mesh(faces; kwargs...)metafree()removed: no replacement neededmesh.normals->mesh.normalmesh(..., normals = ...)->mesh(..., normal = ...)Meshtype name/structure has been simplified. Seebasic_types.jlor just check by handRect2now generates coordinates in counter-clockwise orderCylinder,Rect3,Pyramidnow generateFaceView's. You can remove these withexpand_faceviews(mesh). Some consequences:coordinates(::Rect3)are no longer duplicatednormals(::Rect3)andtexturecoordinates(::Rect3)are FaceViews to avoid duplication. If you need them synchronized with coordinates usenormals(expand_faceviews(uv_normal_mesh(Rect3(...))))
- MeshIO.jl may output a
MetaMeshforobjfiles now. This includes additional non-vertex data (e.g. materials). The "raw" mesh is inmetamesh.mesh. - MeshIO.jl may generate a
MeshwithFaceViews
Other changes
Cylinderno longer renders with rounded caps (due to no longer sharing normals between mantle and caps)merge(meshes)now also setsmesh.viewswhich acts as a collection of index ranges intomesh.facescorresponding to the input meshes.split_mesh()can now revert a merge.mesh(input_mesh; pointtype, facetype, vertex_attributes...)can be used to change the pointtype or facetype, or add additional vertex attributes to a given mesh. (This will create a new mesh)- added
face_normals(positions, faces)for generating per-face normals (usesFaceView)