Learn R Programming

retistruct (version 0.6.1)

TriangulatedOutline: TriangulatedOutline object

Description

Constructor for TriangulatedOutline object.

Usage

TriangulatedOutline

Arguments

Value

TriangulatedOutline object, with extra fields for tears latitude of rim phi0 and index of fixed point i0.

Format

An object of class R6ClassGenerator of length 25.

Examples

Run this code
# NOT RUN {
P <- rbind(c(1,1),   c(2,1),  c(2,-1),
           c(1,-1),  c(1,-2), c(-1,-2),
           c(-1,-1), c(-2,-1),c(-2,1),
           c(-1,1),  c(-1,2), c(1,2))
o <- TriangulatedOutline$new(P)
o$addTear(c(3, 4, 5))
o$addTear(c(6, 7, 8))
o$addTear(c(9, 10, 11))
o$addTear(c(12, 1, 2))
flatplot(o)
# }

Run the code above in your browser using DataLab