FeatureSet to represent pointsA 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.
David Sterratt
retistruct::FeatureSetCommon -> retistruct::FeatureSet -> PointSet
new()Constructor
PointSet$new(data = NULL, cols = NULL)dataList of matrices describing data. Each matrix
should have columns named X and Y
colsNamed 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
reconstruct()Map the PointSet to a ReconstructedOutline
PointSet$reconstruct(ro)roThe ReconstructedOutline
clone()The objects of this class are cloneable with this method.
PointSet$clone(deep = FALSE)deepWhether to make a deep clone.