Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Slim down GeometryBasics and remove all type complexity (#173)
* get rid of StaticArrays * alias must be fully typed * more fixes * fix order * more fixes * simplify fixed array * remove meta types * try to get mesh working * remove all the things!! * more tests * remove 1.3 * drop 1.3 * add imports and get overload * add getindex for faces for vec too * fixes * bring back connect * add / for e.g. mean(points) * small improvements * introduce TriangleMesh * fix constructor and print Mesh more nicely * add zero for value * fix tests * polys * fix some compile errors * fix Simplex <: AbstractSimplex <: Polytope * fix decompose test * fix Rect2 Tesselation * fix ngeom for LineString * fix compat bounds * change getindex index to Integer * remove triangle_mesh Tesselation deprecation warning * fix Base.intersect extension * update union docs and comment out broken diff or rects * add decompose_x methdos with types * disable diff test * fix MatN constructors * fix type ambiguity * fix vcat of StaticVector, Mat convert * add mat[VecOrInt, VecOrInt] and Vec(mat) * match isapprox implementation with docstring * add isapprox to Mat * fix indexing instead of implementing isapprox * rework broadcasting & add more tests * fix nested broadcast * fix Mat getindex, Boundschecks and add tests * fix broadcast size missmatch * handle map like StaticArrays * add isapprox and converts from Matrix for Mat3f-like types * avoid creating Base arrays on copy * Geometry Basics refactor (#219) * update MetaMesh * add MultiFace type * update Mesh & MultiFace types * update Mesh & MetaMesh utils * add MultiFace remapping code * prototype MultiFace Rect -> Mesh pipeline * generalize MultiFace getindex to Integer * remove add_meta, pop_meta * update merge for MultiFace and views * add AbstractVertexFace and AbstractMultiFace * split up mesh() for better usability * minor fixes * add views to Mesh constructors * add `mesh()` method for converting facetype of mesh * switch back to "normals" * fix missing normals rename * add back point/normal/uv-type kwargs * consider face views in face decompose * add mesh(mesh; attribs...) & improve dispatch safety * fix normals(), cleanup tests * add mesh constructor tests + fixes * deprecate normals for normal as vertex attribute name * make NormalFace and NormalUVFace types again * cleanup tests & normals vs normal * let ci run * remove views aware face decomposition * fix rect index order * fix MultiFace remapping with OffsetIntegers * add moreMultiFace utils * restore decompose(FaceType, faces, views) * allow MultiFace -> LineFace conversion * define Rect3 faces counterclockwise * add more convenience types * filter nothing attributes * drop Base.Pairs for 1.6 compat * Add depwarn in hasproperty too * improve MultiFace show * update Pyramid * update Cylinder * add MultiFace decompose * fix Cylinder tests * make OffsetInteger printing copyable * update tests for Rect3 and normal gen * fix remaining tests * fix incorrect vertex index counter * simplify merge of mixed Face types * test merge(meshes) * prototype swapping from MultiFace to FaceViews * treat views in vertex index remapping + some fixes * fix face type change * clean up AbstractVertexFace * extend FaceView interface * update Cylinder, Pyramids * declutter NgonFace prints * update tests * cleanup some test_broken * switch to Dict * fix tests * remove shorthands * export vertex_attributes and FaceView * add center point to Circle to avoid shallow triangles * make untesselated rect vertices counter-clockwise * fix tests * fix Cylinder face windig direction * add `face_normals()` helepr function * cleanup face_normals and normals a bit more * update tests for Cylinder * rename connectivity -> faces * update docs (meshes, primitives, decompose, Point, Vec, Mat) * add/update docstrings * add quick test for face_normals() * fix TetrahedronFace conversions * restore volume functions * fix tests * add some Polygon tests * test Pyramids * test TetrahedronFace decomposition * test and improve Mesh validation * test Mesh inteface functions * test decompose with views * test and fix matrix det, inv, transpose, mat*vec * fix tests * cleanup normal gen and export face_normals * add util for splitting meshes by views * fix missing dot in range .+ idx * improve performance of merge * fix tests * improve GeoInterface conversion performance * switch back to NamedTuple for performance * cleanup merge(meshes) * test clear_faceviews with mesh.views * fix missing import in docs examples * add convert for arrays of meshes * add function for removing duplicate faces * update normal gen tests + fixes - fix normal gen for varying face types - fix normalization of face_normals * remove time piracy * bring back shorthand types * restrict type in meshes to error earlier * update precompiles * autoconvert point dim in merge(meshes) instead of restricitng type * add compat entry * ignore unused PrecompileTools in 1.6, 1.7 * bring back old precompiles * add convert target to orthogonal_vector * revert triangulation changes of Circle * revert to using StaticArrays * avoid some invalidations (and fix get) * fix stale instances due to AbstractVector Apparently T[] is an AbstractVector here? * use string interpolation in error to avoid invalidation from string * * fix test * export clear_faceviews & update FaceView docstring * update type docstring * add notes about views * update Mesh docs * add FaceView ref to Mesh docstring * add brief section about extending decompose * derive Point eltype when dimension is given * reuse docstring * fix docs? * fix docs?? * add GLMakie to docs * fix pkg command * rename clear_faceviews & update * fix pkg * fix another clear_faceviews * fix docs * use action cache * fix typo --------- Co-authored-by: ffreyer <frederic481994@hotmail.de>
- Loading branch information