Class Direction
java.lang.Object
com.github.gbenroscience.math.geom.Direction
Models Direction vectors.
They determine the nature of many objects
e.g Line objects and plane objects.
- Author:
- GBEMIRO
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Direction
public Direction(double a, double b, double c) - Parameters:
a- The direction coordinate along the x axisb- The direction coordinate along the y axisc- The direction coordinate along the z axis
-
-
Method Details
-
getA
public double getA()- Returns:
- the direction coordinate along the x axis
-
setA
public void setA(double a) - Parameters:
a- sets the direction coordinate along the x axis
-
getB
public double getB()- Returns:
- the direction coordinate along the y axis
-
setB
public void setB(double b) - Parameters:
b- sets the direction coordinate along the y axis
-
getC
public double getC()- Returns:
- the direction coordinate along the z axis
-
setC
public void setC(double c) - Parameters:
c- sets the direction coordinate along the z axis
-
toString
-