Methods

Index

Basic geometry

PhysicalParticles.areaFunction
area(c::AbstractCube2D)

Signed area of 2D cube

source
area(t::AbstractTriangle2D)
area(t::AbstractTriangle3D)

Unsigned area of triangle

source
PhysicalMeshes.centroidFunction
centroid(line::AbstractLine)

Average position of line vertices.

source
centroid(t::AbstractTriangle)

Averaged position center of triangle

source
centroid(t::AbstractTetrahedron)

Averaged position center of the tetrahedron

source
PhysicalMeshes.orientFunction

function orient(a::AbstractPoint2D, b::AbstractPoint2D, c::AbstractPoint2D)

Computes the orient.
The result is also a rough approximation of twice the signed area.
source

function orient(a::AbstractPoint3D, b::AbstractPoint3D, c::AbstractPoint3D)

Computes the orient.
The result is also a rough approximation of twice the signed area.
source

function orient(a::AbstractPoint3D, b::AbstractPoint3D, c::AbstractPoint3D, d::AbstractPoint3D)

Computes the orient.
The result is also a rough approximation of six times the signed volume.
source
orient(t::AbstractTriangle)

Orientation vector of triangle (return a PVector). See also orientation

source
orient(t::AbstractTetrahedron)

Return a positive number if positively oriented. Return a negative number if negatively oriented. Return zero if not oriented (indicating the tetrahedron has zero volume)

source
PhysicalMeshes.orientationFunction
orientation(t::AbstractTriangle2D)

Orientation of triangle. Return a trait (NegativelyOriented, PositivelyOriented, or UnOriented)

source
orientation(t::AbstractTetrahedron)

Orientation of tetrahedron. Return a trait (NegativelyOriented, PositivelyOriented, or UnOriented)

source
PhysicalMeshes.circumcenterFunction
circumcenter(t::AbstractTriangle)

Return the circumcenter of triangle (as a PVector or PVector2D)

source
circumcenter(t::AbstractTetrahedron)

Return the circumsphere center of tetrahedron

source

Predicates

PhysicalMeshes.incircleFunction
incircle(t::AbstractTriangle2D, p::AbstractPoint2D)

Test whether a point locates inside the circumcircle of triangle. Return a trait (Interior, Exterior, or OnEdge)

source
PhysicalMeshes.insphereFunction

insphere(t::AbstractTetrahedron, p::AbstractPoint3D)

Test whether a point locates inside the circumsphere center of tetrahedron. Return a trait (Interior, Exterior, or OnEdge)

source

Mesh

Missing docstring.

Missing docstring for particle2mesh. Check Documenter's build log for details.

Missing docstring.

Missing docstring for assignmesh. Check Documenter's build log for details.

Missing docstring.

Missing docstring for mesh2particle. Check Documenter's build log for details.

Missing docstring.

Missing docstring for assignparticle. Check Documenter's build log for details.