A TriangulatedFragment contains a function to create a triangulated mesh over an fragment, and fields to hold the mesh information.
retistruct::Fragment
-> TriangulatedFragment
T
3 column matrix in which each row contains IDs of points of each triangle
A
Area of each triangle in the mesh - has same number of
elements as there are rows of T
Cu
2 column matrix in which each row contains IDs of points of edge in mesh
L
Length of each edge in the mesh - has same number of
elements as there are rows of Cu
A.signed
Signed area of each triangle generated using
tri.area.signed
. Positive sign indicates points are
anticlockwise direction; negative indicates clockwise.
new()
Constructor
TriangulatedFragment$new( fragment, n = 200, suppress.external.steiner = FALSE, report = message )
fragment
Fragment to triangulate
n
Minimum number of points in the triangulation
suppress.external.steiner
If TRUE
prevent the
addition of points in the outline. This happens to maintain
triangle quality.
report
Function to report progress
clone()
The objects of this class are cloneable with this method.
TriangulatedFragment$clone(deep = FALSE)
deep
Whether to make a deep clone.