Uses of Class
uk.ac.leeds.ccg.v3d.geometry.V3D_Vector
| Package | Description |
|---|---|
| uk.ac.leeds.ccg.v3d.core | |
| uk.ac.leeds.ccg.v3d.geometry |
-
Uses of V3D_Vector in uk.ac.leeds.ccg.v3d.core
Fields in uk.ac.leeds.ccg.v3d.core declared as V3D_Vector Modifier and Type Field Description V3D_VectorV3D_Environment. iUnit vector based at the origin in the x axis direction.V3D_VectorV3D_Environment. jUnit vector based at the origin in the y axis direction.V3D_VectorV3D_Environment. kUnit vector based at the origin in the z axis direction.V3D_VectorV3D_Environment. zeroVectorZero vector. -
Uses of V3D_Vector in uk.ac.leeds.ccg.v3d.geometry
Fields in uk.ac.leeds.ccg.v3d.geometry declared as V3D_Vector Modifier and Type Field Description protected V3D_VectorV3D_Plane. nThe normal vector.protected V3D_VectorV3D_Plane. pqThe vector representing the move fromV3D_Plane.ptoV3D_Plane.q.protected V3D_VectorV3D_Plane. prThe vector representing the move fromV3D_Plane.ptoV3D_Plane.r.V3D_VectorV3D_LineSegment. unitVectorFor storing the unit vector.V3D_VectorV3D_Line. vThe direction vector fromV3D_Line.pin the direction ofV3D_Line.q.Methods in uk.ac.leeds.ccg.v3d.geometry that return V3D_Vector Modifier and Type Method Description V3D_VectorV3D_Vector. add(V3D_Vector v)V3D_VectorV3D_Vector. getCrossProduct(V3D_Vector v)Calculate and return the cross product.V3D_VectorV3D_LineSegment. getUnitVector(int scale, java.math.RoundingMode rm)For getting the unit vector of this line toscaleprecision usingrmif necessary.V3D_VectorV3D_Vector. getUnitVector(int scale, java.math.RoundingMode rm)Scales the vector by the magnitude so that it has length 1V3D_VectorV3D_LineSegment. initUnitVector(int scale, java.math.RoundingMode rm)For initialising and returning the unit vector of this line toscaleprecision usingrmif necessary.V3D_VectorV3D_Vector. multiply(ch.obermuhlner.math.big.BigRational s)V3D_VectorV3D_Vector. subtract(V3D_Vector v)Methods in uk.ac.leeds.ccg.v3d.geometry with parameters of type V3D_Vector Modifier and Type Method Description V3D_VectorV3D_Vector. add(V3D_Vector v)V3D_PointV3D_Point. apply(V3D_Vector v)V3D_VectorV3D_Vector. getCrossProduct(V3D_Vector v)Calculate and return the cross product.ch.obermuhlner.math.big.BigRationalV3D_Vector. getDotProduct(V3D_Vector v)Calculate and return the dot product.booleanV3D_Vector. isOrthogonal(V3D_Vector v)Test if this is orthogonal tov.booleanV3D_Vector. isParallel(V3D_Vector v)Test if this is parallel tov.V3D_VectorV3D_Vector. subtract(V3D_Vector v)Constructors in uk.ac.leeds.ccg.v3d.geometry with parameters of type V3D_Vector Constructor Description V3D_Line(V3D_Point p, V3D_Vector v)V3D_Plane(V3D_Point p, V3D_Vector n)An equation of the plane containing the pointpwith normal vectornisn.dx(x) + n.dy(y) + n.dz(z) = d.