public class AxisAlignedUnitVector extends DirectionVectorBean
DirectionVector
that is a unit-vector along a particular image-axis.Constructor and Description |
---|
AxisAlignedUnitVector() |
Modifier and Type | Method and Description |
---|---|
DirectionVector |
createVector()
Creates a vector in a particular direction.
|
String |
getAxis()
Which axis the unit-vector will align with.
|
void |
setAxis(String axis)
Which axis the unit-vector will align with.
|
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public DirectionVector createVector() throws CreateException
DirectionVectorBean
createVector
in class DirectionVectorBean
CreateException
- if the vector cannot be successfully created.public String getAxis()
x
or y
or z
public void setAxis(String axis)
x
or y
or z
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.