public abstract class MarkWithPosition extends Mark implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
MarkWithPosition() |
protected |
MarkWithPosition(MarkWithPosition src) |
Modifier and Type | Method and Description |
---|---|
Point3d |
centerPoint() |
boolean |
equalsDeep(Mark m) |
Point3d |
getPosition() |
void |
scale(ScaleFactor scaleFactor)
Scales the mark in X and Y dimensions.
|
void |
setPosition(Point3d position) |
String |
strPos() |
box, boxAllRegions, deriveObject, duplicate, equalsID, getIdentifier, getName, identifier, isPointInside, numberDimensions, numberRegions, quickOverlap, setId, toString, volume
protected MarkWithPosition()
protected MarkWithPosition(MarkWithPosition src)
public String strPos()
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 Point3d centerPoint()
centerPoint
in class Mark
public boolean equalsDeep(Mark m)
equalsDeep
in class Mark
public Point3d getPosition()
public void setPosition(Point3d position)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.