Fragment: Construct an outline object. This sanitises the input points...

Description Public fields Methods Author(s)

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.

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.

Author(s)

David Sterratt


retistruct documentation built on April 4, 2020, 5:08 p.m.