public class SpecifyVector extends DirectionVectorBean
Constructor and Description |
---|
SpecifyVector() |
SpecifyVector(DirectionVector vector)
Create from a
DirectionVector . |
SpecifyVector(double x,
double y,
double z) |
Modifier and Type | Method and Description |
---|---|
DirectionVector |
createVector()
Creates a vector in a particular direction.
|
double |
getX()
Component of the vector along the x-axis.
|
double |
getY()
Component of the vector along the y-axis.
|
double |
getZ()
Component of the vector along the z-axis.
|
void |
setX(double x)
Component of the vector along the x-axis.
|
void |
setY(double y)
Component of the vector along the y-axis.
|
void |
setZ(double z)
Component of the vector along the z-axis.
|
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public SpecifyVector(DirectionVector vector)
DirectionVector
.vector
- the vector from which components are copied.public SpecifyVector()
public SpecifyVector(double x, double y, double z)
public DirectionVector createVector()
DirectionVectorBean
createVector
in class DirectionVectorBean
public double getX()
public void setX(double x)
public double getY()
public void setY(double y)
public double getZ()
public void setZ(double z)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.