Exported Functions

WhatsThePoint.LogLikeType
LogLike <: VariableSpacing

Node spacing based on a log-like function of the distance to nearest boundary $x/(x+a)$ where $x$ is the distance to the nearest boundary and $a$ is a parameter to control the growth rate as $a = 1 - (g - 1)$ where $g$ is the conventional growth rate parameter.

WhatsThePoint.PointSurfaceType
struct PointSurface{M,C} <: AbstractSurface{M,C}

This is a typical representation of a surface via points.

WhatsThePoint.PowerType
Power <: VariableSpacing

Node spacing based on a power of the distance to nearest boundary $x^{g}$ where $x$ is the distance to the nearest boundary and $g$ is the growth_rate.

WhatsThePoint.add_surface!Method
add_surface!(boundary::PointBoundary, points::Vector{<:Point}

Add a surface to an existing boundary. Creates a new surface, unless a name of an existing surface is given and it is added to that.

WhatsThePoint.compute_normalsMethod
compute_normals(search_method::KNearestSearch, surf::PointSurface)

Estimate the normals of a set of points that form a surface. Uses the PCA approach from "Surface Reconstruction from Unorganized Points" - Hoppe (1992).

WhatsThePoint.compute_normalsMethod
compute_normals(surf::PointSurface; k::Int=5)

Estimate the normals of a set of points that form a surface. Uses the PCA approach from "Surface Reconstruction from Unorganized Points" - Hoppe (1992).

WhatsThePoint.emptyspaceMethod
emptyspace(testpoint, points)

Check if a point occupies empty space within a certain tolerance.

WhatsThePoint.import_surfaceMethod
import_surface(filepath::String)

Import a surface mesh. Re-uses code from MeshBridge.jl, did not use their package because I needed to calculate face centers which they do not do.

WhatsThePoint.orient_normals!Method
orient_normals!(normals::Vector{<:AbstractVector}, points; k::Int=5)

Correct the orientation of normals on a surface as the compute_normals function does not guarantee if the normal is inward or outward facing. Uses the approach from "Surface Reconstruction from Unorganized Points" - Hoppe (1992).

WhatsThePoint.orient_normals!Method
orient_normals!(search_method::KNearestSearch, normals::AbstractVector{<:AbstractVector}, points)

Correct the orientation of normals on a surface as the compute_normals function does not guarantee if the normal is inward or outward facing. Uses the approach from "Surface Reconstruction from Unorganized Points" - Hoppe (1992).

WhatsThePoint.update_normals!Method
update_normals!(surf::PointCloud; k::Int=5)

Update the normals of the boundary of a surf. This is necessary whenever the points change for any reason.

Private