Learn R Programming

retistruct (version 0.5.9)

TriangulatedOutline: Triangulate outline

Description

Create a triangulation of the Outline object o. The minimum number of triangles in the triangulation is specified by n.

Usage

TriangulatedOutline(o, n = 200, suppress.external.steiner = FALSE)

Arguments

o
Outline object
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.

Value

  • A triangulatedOutline object containing the following fields:
  • PThe set of new points, with the existing points at the start
  • TThe triangulation
  • CuUnique set of M connections, as M*2 matrix
  • hCorrespondances mapping
  • AArray containing area of each triangle
  • LLength of each connection
  • A.signedSigned area of each triangle
  • A.totTotal area of outline
  • gfForward pointers
  • gbBackward pointers
  • SSegments (from triangulate)
  • EEdges (from triangulate)
  • EBEdge boundaries (from triangulate)