Polygonal Mesh Attributes
The main purpose of this package is separating the management of attributes of polygonal surface meshes from the PMesh package.
Introduction
This package defines attributes of a polygonal mesh: each class of mesh elements – vertices, faces, half-edges and edges – define a list of attributes, each with type and default value.
Development
The implementation of this package includes a large number of assertions for testing that significantly degrade performance. The package defines the macro @massert
as replacement for @assert
. The definition is almost identical, but the effect of @massert
can be "switched" such that the evaluation of assertions is optional.
@massert
is not exported and used only internally. The PMesh
package defines its own @massert
macro.
Installation
julia> using Pkg
julia> Pkg.Registry.add("https://visual2.cs.ovgu.de/roessl/VCJuliaRegistry.git")
julia> Pkg.add("PMeshAttributes")
julia> using PMeshAttributes