Skip to content
Merged
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
be5c6ba
get rid of StaticArrays
SimonDanisch Feb 22, 2022
505c89b
alias must be fully typed
SimonDanisch Feb 22, 2022
88f6a12
more fixes
SimonDanisch Feb 22, 2022
13854cc
fix order
SimonDanisch Feb 22, 2022
3beed30
Merge branch 'master' into sd/no-sarray
SimonDanisch Feb 25, 2022
46bebc3
more fixes
SimonDanisch Mar 2, 2022
b2ca48b
Merge branch 'master' into sd/no-sarray
SimonDanisch Mar 14, 2022
ea0db94
simplify fixed array
SimonDanisch Mar 16, 2022
c1ea315
remove meta types
SimonDanisch Mar 16, 2022
924bd2e
try to get mesh working
SimonDanisch Mar 16, 2022
a8f3293
remove all the things!!
SimonDanisch Mar 17, 2022
834fb12
more tests
SimonDanisch Mar 17, 2022
c52937e
remove 1.3
SimonDanisch Mar 17, 2022
857ae2d
drop 1.3
SimonDanisch Mar 17, 2022
848e281
add imports and get overload
SimonDanisch Mar 18, 2022
e58d235
add getindex for faces for vec too
SimonDanisch Jun 16, 2022
9e9bf34
fixes
SimonDanisch Jun 20, 2022
635150e
bring back connect
SimonDanisch Jun 20, 2022
991bacc
add / for e.g. mean(points)
SimonDanisch Jun 21, 2022
90aed0e
small improvements
SimonDanisch Jun 21, 2022
ffa5e08
introduce TriangleMesh
SimonDanisch Jun 22, 2022
cba8ec8
fix constructor and print Mesh more nicely
SimonDanisch Jun 22, 2022
1238b05
add zero for value
SimonDanisch Aug 8, 2022
b0be05a
likely broken merge attempt
SimonDanisch Aug 24, 2022
4e42013
Merge branch 'sd/simple-mesh' of https://github.com/JuliaGeometry/Geo…
SimonDanisch Aug 24, 2022
a7fba75
fix tests
SimonDanisch Sep 15, 2022
785d940
polys
SimonDanisch Sep 16, 2022
b1f6567
Merge branch 'master' into sd/simple-mesh
SimonDanisch Feb 15, 2023
4ec151a
Merge branch 'master' into sd/simple-mesh
SimonDanisch Nov 7, 2023
26f5388
Merge branch 'master' into sd/simple-mesh
SimonDanisch May 1, 2024
113812f
fix some compile errors
ffreyer Aug 30, 2024
26a861a
fix Simplex <: AbstractSimplex <: Polytope
ffreyer Aug 30, 2024
5567b04
fix decompose test
ffreyer Aug 30, 2024
12c6eb4
fix Rect2 Tesselation
ffreyer Aug 30, 2024
2fa2020
fix ngeom for LineString
ffreyer Aug 30, 2024
8a6c975
fix compat bounds
ffreyer Aug 30, 2024
6c7b407
change getindex index to Integer
ffreyer Aug 31, 2024
15eb932
remove triangle_mesh Tesselation deprecation warning
ffreyer Aug 31, 2024
f600cb6
fix Base.intersect extension
ffreyer Sep 2, 2024
5bcefb1
update union docs and comment out broken diff or rects
ffreyer Sep 2, 2024
fe8380d
add decompose_x methdos with types
ffreyer Sep 2, 2024
73093c5
disable diff test
ffreyer Sep 2, 2024
5d2a134
fix MatN constructors
ffreyer Sep 4, 2024
406397f
fix type ambiguity
ffreyer Sep 4, 2024
ede77d7
fix vcat of StaticVector, Mat convert
ffreyer Sep 4, 2024
54d9e52
add mat[VecOrInt, VecOrInt] and Vec(mat)
ffreyer Sep 4, 2024
e420121
match isapprox implementation with docstring
ffreyer Sep 4, 2024
58a4d83
add isapprox to Mat
ffreyer Sep 4, 2024
8562c1d
fix indexing instead of implementing isapprox
ffreyer Sep 4, 2024
556df6f
rework broadcasting & add more tests
ffreyer Sep 5, 2024
4207897
fix nested broadcast
ffreyer Sep 5, 2024
1e08423
fix Mat getindex, Boundschecks and add tests
ffreyer Sep 5, 2024
454cd4e
fix broadcast size missmatch
ffreyer Sep 5, 2024
a5ab6fd
handle map like StaticArrays
ffreyer Sep 5, 2024
4891a29
add isapprox and converts from Matrix for Mat3f-like types
ffreyer Sep 6, 2024
94aefd5
avoid creating Base arrays on copy
ffreyer Sep 6, 2024
d485293
Geometry Basics refactor (#219)
ffreyer Oct 16, 2024
73ae2c1
add GLMakie to docs
SimonDanisch Oct 16, 2024
6ba2806
fix pkg command
SimonDanisch Oct 16, 2024
c8ba30b
rename clear_faceviews & update
ffreyer Oct 16, 2024
943095e
Merge branch 'sd/simple-mesh' of https://github.com/JuliaGeometry/Geo…
ffreyer Oct 16, 2024
14ab2d3
fix pkg
SimonDanisch Oct 16, 2024
536a9b5
Merge branch 'sd/simple-mesh' of https://github.com/JuliaGeometry/Geo…
SimonDanisch Oct 16, 2024
5fe7d9e
fix another clear_faceviews
ffreyer Oct 16, 2024
cf57b4c
Merge branch 'sd/simple-mesh' of https://github.com/JuliaGeometry/Geo…
ffreyer Oct 16, 2024
a3b5ddd
fix docs
SimonDanisch Oct 16, 2024
df37139
Merge branch 'sd/simple-mesh' of https://github.com/JuliaGeometry/Geo…
SimonDanisch Oct 16, 2024
06fb3ea
use action cache
SimonDanisch Oct 16, 2024
4a27454
fix typo
SimonDanisch Oct 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,12 @@ EarCut_jll = "5ae413db-bbd1-5e63-b57d-d24a61df00f5"
GeoInterface = "cf35fbd7-0cd7-5166-be24-54bfbe79505f"
IterTools = "c8e1da08-722c-5040-9ed9-7db0dc04731e"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a"
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

[compat]
EarCut_jll = "2"
GeoInterface = "1.0.1"
IterTools = "1.3.0"
StaticArrays = "0.12, 1.0"
StructArrays = "0.6"
Tables = "0.2, 1"
julia = "1.6"

[extras]
Expand Down
35 changes: 13 additions & 22 deletions src/GeometryBasics.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
module GeometryBasics

using StaticArrays, Tables, StructArrays, IterTools, LinearAlgebra
using IterTools, LinearAlgebra
using GeoInterface
using EarCut_jll
import Base: *

using Base: @propagate_inbounds

Expand All @@ -17,46 +18,36 @@ include("primitives/pyramids.jl")
include("primitives/particles.jl")

include("interfaces.jl")
include("metadata.jl")
include("viewtypes.jl")
include("geometry_primitives.jl")
include("meshes.jl")
include("triangulation.jl")
include("lines.jl")
include("boundingboxes.jl")

include("deprecated.jl")
include("geointerface.jl")

export AbstractGeometry, GeometryPrimitive
export Mat, Point, Vec
export LineFace, Polytope, Line, NgonFace, convert_simplex
export LineString, AbstractPolygon, Polygon, MultiPoint, MultiLineString, MultiPolygon
export LineString, MultiLineString, MultiPoint
export AbstractPolygon, Polygon, MultiPolygon
export Simplex, connect, Triangle, NSimplex, Tetrahedron
export QuadFace, metafree, coordinates, TetrahedronFace
export TupleView, SimplexFace, Mesh, meta
export Triangle, TriangleP
export QuadFace, coordinates, TetrahedronFace
export TupleView, SimplexFace
export Triangle
export AbstractFace, TriangleFace, QuadFace, GLTriangleFace
export OffsetInteger, ZeroIndex, OneIndex, GLIndex
export FaceView, SimpleFaceView
export AbstractPoint, PointMeta, PointWithUV
export PolygonMeta, MultiPointMeta, MultiLineStringMeta, MeshMeta, LineStringMeta,
MultiPolygonMeta
export decompose, coordinates, faces, normals, decompose_uv, decompose_normals,
texturecoordinates
export Tesselation, pointmeta, Normal, UV, UVW
export GLTriangleFace, GLUVMesh3D
export AbstractMesh, Mesh, TriangleMesh
export GLNormalMesh2D
export MetaT, meta_table
export Tesselation, Normal, UV, UVW
export AbstractMesh, Mesh, MetaMesh
export add_meta, pop_meta


# all the different predefined mesh types
# Note: meshes can contain arbitrary meta information,
export AbstractMesh, TriangleMesh, PlainMesh, GLPlainMesh, GLPlainMesh2D, GLPlainMesh3D
export UVMesh, GLUVMesh, GLUVMesh2D, GLUVMesh3D
export NormalMesh, GLNormalMesh, GLNormalMesh2D, GLNormalMesh3D
export NormalUVMesh, GLNormalUVMesh, GLNormalUVMesh2D, GLNormalUVMesh3D
export NormalUVWMesh, GLNormalUVWMesh, GLNormalUVWMesh2D, GLNormalUVWMesh3D
export AbstractMesh

# mesh creation functions
export triangle_mesh, triangle_mesh, uv_mesh
Expand All @@ -73,7 +64,7 @@ export min_euclideansq, minmax_dist_dim, minmax_euclidean, minmax_euclideansq
export self_intersections, split_intersections

if Base.VERSION >= v"1.4.2"
include("precompile.jl")
include("precompiles.jl")
_precompile_()
end

Expand Down
Loading