Learn R Programming

retistruct (version 0.6.3)

PointSet: Subclass of FeatureSet to represent points

Description

A PointSet contains information about points located on Outlines. Each PointSet contains a list of matrices, each of which has columns labelled X and Y describing the cartesian coordinates (in the unscaled coordinate frame) of points on the Outline.

Arguments

Methods

Public methods

Method new()

Constructor

Usage

PointSet$new(data = NULL, cols = NULL)

Arguments

data

List of matrices describing data. Each matrix should have columns named X and Y

cols

Named vector of colours for each data set. The name is used as the ID (label) for the data set. The colours should be names present in the output of the colors function

Method reconstruct()

Map the PointSet to a ReconstructedOutline

Usage

PointSet$reconstruct(ro)

Arguments

ro

The ReconstructedOutline

Method clone()

The objects of this class are cloneable with this method.

Usage

PointSet$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.