public class PointList extends PointListBase
Constructor and Description |
---|
PointList() |
PointList(java.util.stream.Stream<Point3d> stream) |
Modifier and Type | Method and Description |
---|---|
BoundingBox |
boxAllRegions(Dimensions dimensions) |
Point3d |
centerPoint() |
Mark |
duplicate() |
String |
getName() |
byte |
isPointInside(Point3i pointIsInside) |
int |
numberDimensions() |
int |
numberRegions() |
void |
scale(ScaleFactor scaleFactor)
Scales the mark in X and Y dimensions.
|
String |
toString()
String representation of the
Mark . |
void |
updateAfterPointsChange() |
double |
volume(int regionID) |
box, box, doDuplicate, equalsDeep, getMax, getMin, getPoints
deriveObject, equalsID, getIdentifier, identifier, quickOverlap, setId
public PointList()
public PointList(java.util.stream.Stream<Point3d> stream)
public byte isPointInside(Point3i pointIsInside)
isPointInside
in class Mark
public void updateAfterPointsChange()
updateAfterPointsChange
in class PointListBase
public String toString()
Mark
Mark
.public void scale(ScaleFactor scaleFactor) throws CheckedUnsupportedOperationException
Mark
scale
in class Mark
scaleFactor
- how much to scale by.CheckedUnsupportedOperationException
- if the type of mark used in the annotation does
not supported scaling.public int numberDimensions()
numberDimensions
in class Mark
public Point3d centerPoint()
centerPoint
in class Mark
public int numberRegions()
numberRegions
in class Mark
public BoundingBox boxAllRegions(Dimensions dimensions)
boxAllRegions
in class Mark
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.