Class AxisAlignedUnitVector
Creates a
DirectionVector
that is a unit-vector along a particular image-axis.- Author:
- Owen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a vector in a particular direction.getAxis()
Which axis the unit-vector will align with.void
Which axis the unit-vector will align with.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
AxisAlignedUnitVector
public AxisAlignedUnitVector()
-
-
Method Details
-
createVector
Description copied from class:DirectionVectorBean
Creates a vector in a particular direction.- Specified by:
createVector
in classDirectionVectorBean
- Returns:
- the created vector.
- Throws:
CreateException
- if the vector cannot be successfully created.
-
getAxis
Which axis the unit-vector will align with.x
ory
orz
-
setAxis
Which axis the unit-vector will align with.x
ory
orz
-