Geometries
MMJMesh.Geometries.Box
— TypeBox(p1, p2)
Box in d-dimensional space defined by two points p1
and p2
.
MMJMesh.Geometries.GeometricObject
— TypeGeometricObject{DT, DG}
A geometric object of parametric dimension DT
embedded in DG
dimensional space. Here, a geometric object is understood as a connected set of points.
MMJMesh.Geometries.GeometricObjectI
— TypeGeometricObjectI{DT,DG,NP}
A DT,DG
dimensional geometric object with a parametrization which interpolates NP
points. An important class of such objects are the geometries of isoparametric finite elements.
MMJMesh.Geometries.GeometricObjectP
— TypeGeometricObjectP{DT,DG}
A DT,DG
dimensional geometric object with a parametrization. For such an object, the geometry is the image of a simple DT
-dimensional reference domain into DG
dimensions.
MMJMesh.Geometries.Geometry
— TypeGeometry(d)
Geometry(coordinates)
Geometry of a finite element mesh.
MMJMesh.Geometries.HLine
— TypeHLine(y)
A horizontal line in 2D which intercepts the y-axis at y
.
MMJMesh.Geometries.Point
— TypePoint(x1, ..., xD)
p1 point in `D`-dimensional space. Based on `point.jl` from Meshes.jl.
MMJMesh.Geometries.Segment
— TypeSegment(p1, p2)
A line segment which connects the points p1
and p2
.
MMJMesh.Geometries.VLine
— TypeVLine(x)
A vertical line in 2D which intercepts the x-axis at x
.
Base.getindex
— Methodg::Geometry[d, idx]
Geometric object of dimension d
at index idx
in g
.
Base.length
— Methodlength(g::Geometry, d::int)
Number of geometric objects of dimension d
in g
.
MMJMesh.Geometries.parameterof
— Methodparameterof(o, p, atol=1e-12)
Returns the parameter of point p
on the one-dimensional geometric object o. The functions returns NaN
if p
is further than atol
away from o
.
MMJMesh.Geometries.parametrization
— Methodparametrization(o)
Returns the map F
such that the geometric object o
is the image of F
.
MMJMesh.Geometries.squeeze!
— Methodsqueeze!(g)
Release unused memory from g
.