Документация Engee

Sets

Страница в процессе перевода.

Geometry sets represent a collection of geometries without any connectivity information (a.k.a., "soup of geometries").

GeometrySet(geometries)

A set of geometries representing a Domain.

Examples

Set containing two balls centered at (0.0, 0.0) and (1.0, 1.0):

julia> GeometrySet([Ball((0.0, 0.0)), Ball((1.0, 1.0))])

Notes

  • Geometries with different CRS will be projected to the CRS of the first geometry.

GeometrySet(rand(Ball, 3)) |> viz
sets
PointSet(points)

A set of points (a.k.a. point cloud) representing a Domain.

Examples

All point sets below are the same and contain two points in R³:

julia> PointSet([Point(1,2,3), Point(4,5,6)])
julia> PointSet(Point(1,2,3), Point(4,5,6))
julia> PointSet([(1,2,3), (4,5,6)])
julia> PointSet((1,2,3), (4,5,6))
PointSet(rand(Point, 100, crs=Cartesian2D)) |> viz
wP15aNEPg8v+AAAAABJRU5ErkJggg==