Learn R Programming

retistruct (version 0.6.3)

Fragment: Construct an outline object. This sanitises the input points P, as described below.

Description

Construct an outline object. This sanitises the input points P, as described below.

Construct an outline object. This sanitises the input points P, as described below.

Arguments

Public fields

P

A N-by-2 matrix of points of the Outline arranged in anticlockwise order

gf

For each row of P, the index of P that is next in the outline travelling anticlockwise (forwards)

gb

For each row of P, the index of P that is next in the outline travelling clockwise (backwards)

h

For each row of P, the correspondence of that point (which will be to itself initially)

A.tot

Total area of the Fragment

Methods

Public methods

Method initializeFromPoints()

Initialise a Fragment from a set of points

Usage

Fragment$initializeFromPoints(P)

Arguments

P

An N-by-2 matrix of points of the Outline

Method clone()

The objects of this class are cloneable with this method.

Usage

Fragment$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.