PointSet: Subclass of 'FeatureSet' to represent points

Description Super classes Methods Author(s)

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.

Super classes

retistruct::FeatureSetCommon -> retistruct::FeatureSet -> PointSet

Methods

Public methods

Inherited 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.

Author(s)

David Sterratt


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