Uses of Class
org.hipparchus.geometry.euclidean.oned.Vector1D
-
Packages that use Vector1D Package Description org.hipparchus.geometry.euclidean.oned This package provides basic 1D geometry components.org.hipparchus.geometry.euclidean.threed This package provides basic 3D geometry components.org.hipparchus.geometry.euclidean.twod This package provides basic 2D geometry components. -
-
Uses of Vector1D in org.hipparchus.geometry.euclidean.oned
Fields in org.hipparchus.geometry.euclidean.oned declared as Vector1D Modifier and Type Field Description static Vector1DVector1D. NaNA vector with all coordinates set to NaN.static Vector1DVector1D. NEGATIVE_INFINITYA vector with all coordinates set to negative infinity.static Vector1DVector1D. ONEUnit (coordinates: 1).static Vector1DVector1D. POSITIVE_INFINITYA vector with all coordinates set to positive infinity.static Vector1DVector1D. ZEROOrigin (coordinates: 0).Methods in org.hipparchus.geometry.euclidean.oned that return Vector1D Modifier and Type Method Description Vector1DVector1D. add(double factor, Vector1D v)Add a scaled vector to the instance.Vector1DVector1D. add(Vector1D v)Add a vector to the instance.Vector1DOrientedPoint. arbitraryPoint()Get an arbitrary point in the hyperplane.Vector1DIntervalsSet. getInteriorPoint()Get an interior point.Vector1DSubOrientedPoint. getInteriorPoint()Get an interior point.Vector1DOrientedPoint. getLocation()Get the hyperplane location on the real line.Vector1DVector1D. getZero()Get the null vector of the vectorial space or origin point of the affine space.Vector1DOrientedPoint. moveToOffset(Vector1D point, double offset)Move point up to specified offset.Vector1DVector1D. moveTowards(Vector1D other, double ratio)Move towards another point.Vector1DVector1D. negate()Get the opposite of the instance.Vector1DVector1DFormat. parse(String source)Parses a string to produce aVectorobject.Vector1DVector1DFormat. parse(String source, ParsePosition pos)Parses a string to produce aVectorobject.Vector1DOrientedPoint. project(Vector1D point)Project a point to the hyperplane.Vector1DVector1D. scalarMultiply(double a)Multiply the instance by a scalar.Vector1DVector1D. subtract(double factor, Vector1D v)Subtract a scaled vector from the instance.Vector1DVector1D. subtract(Vector1D p)Subtract a vector from the instance.Methods in org.hipparchus.geometry.euclidean.oned that return types with arguments of type Vector1D Modifier and Type Method Description BoundaryProjection<Euclidean1D,Vector1D>IntervalsSet. projectToBoundary(Vector1D point)Project a point on the boundary of the region.SubHyperplane.SplitSubHyperplane<Euclidean1D,Vector1D,OrientedPoint,SubOrientedPoint>SubOrientedPoint. split(OrientedPoint hyperplane)Split the instance in two parts by an hyperplane.Methods in org.hipparchus.geometry.euclidean.oned with parameters of type Vector1D Modifier and Type Method Description Vector1DVector1D. add(double factor, Vector1D v)Add a scaled vector to the instance.Vector1DVector1D. add(Vector1D v)Add a vector to the instance.doubleVector1D. distance(Vector1D p)Compute the distance between the instance and another point.static doubleVector1D. distance(Vector1D p1, Vector1D p2)Compute the distance between two vectors according to the L2 norm.doubleVector1D. distance1(Vector1D p)Compute the distance between the instance and another vector according to the L1 norm.doubleVector1D. distanceInf(Vector1D p)Compute the distance between the instance and another vector according to the L∞ norm.static doubleVector1D. distanceInf(Vector1D p1, Vector1D p2)Compute the distance between two vectors according to the L∞ norm.doubleVector1D. distanceSq(Vector1D p)Compute the square of the distance between the instance and another vector.static doubleVector1D. distanceSq(Vector1D p1, Vector1D p2)Compute the square of the distance between two vectors.doubleVector1D. dotProduct(Vector1D v)Compute the dot-product of the instance and another vector.doubleOrientedPoint. getOffset(Vector1D point)Get the offset (oriented distance) of a point.Vector1DOrientedPoint. moveToOffset(Vector1D point, double offset)Move point up to specified offset.Vector1DVector1D. moveTowards(Vector1D other, double ratio)Move towards another point.Vector1DOrientedPoint. project(Vector1D point)Project a point to the hyperplane.BoundaryProjection<Euclidean1D,Vector1D>IntervalsSet. projectToBoundary(Vector1D point)Project a point on the boundary of the region.Vector1DVector1D. subtract(double factor, Vector1D v)Subtract a scaled vector from the instance.Vector1DVector1D. subtract(Vector1D p)Subtract a vector from the instance.Method parameters in org.hipparchus.geometry.euclidean.oned with type arguments of type Vector1D Modifier and Type Method Description IntervalsSetIntervalsSet. buildNew(BSPTree<Euclidean1D,Vector1D,OrientedPoint,SubOrientedPoint> tree)Build a region using the instance as a prototype.protected SubOrientedPointSubOrientedPoint. buildNew(OrientedPoint hyperplane, Region<Euclidean1D,Vector1D,OrientedPoint,SubOrientedPoint> remainingRegion)Build a sub-hyperplane from an hyperplane and a region.StringBufferVector1DFormat. format(Vector<Euclidean1D,Vector1D> vector, StringBuffer toAppendTo, FieldPosition pos)Formats aVectorobject to produce a string.Constructors in org.hipparchus.geometry.euclidean.oned with parameters of type Vector1D Constructor Description OrientedPoint(Vector1D location, boolean direct, double tolerance)Simple constructor.Vector1D(double a, Vector1D u)Multiplicative constructor Build a vector from another one and a scale factor.Vector1D(double a1, Vector1D u1, double a2, Vector1D u2)Linear constructor Build a vector from two other ones and corresponding scale factors.Vector1D(double a1, Vector1D u1, double a2, Vector1D u2, double a3, Vector1D u3)Linear constructor Build a vector from three other ones and corresponding scale factors.Vector1D(double a1, Vector1D u1, double a2, Vector1D u2, double a3, Vector1D u3, double a4, Vector1D u4)Linear constructor Build a vector from four other ones and corresponding scale factors.Constructor parameters in org.hipparchus.geometry.euclidean.oned with type arguments of type Vector1D Constructor Description IntervalsSet(BSPTree<Euclidean1D,Vector1D,OrientedPoint,SubOrientedPoint> tree, double tolerance)Build an intervals set from an inside/outside BSP tree.SubOrientedPoint(OrientedPoint hyperplane, Region<Euclidean1D,Vector1D,OrientedPoint,SubOrientedPoint> remainingRegion)Simple constructor. -
Uses of Vector1D in org.hipparchus.geometry.euclidean.threed
Methods in org.hipparchus.geometry.euclidean.threed that return Vector1D Modifier and Type Method Description Vector1DLine. toSubSpace(Vector3D point)Transform a space point into a sub-space point.Methods in org.hipparchus.geometry.euclidean.threed with parameters of type Vector1D Modifier and Type Method Description Vector3DLine. toSpace(Vector1D point)Transform a sub-space point into a space point. -
Uses of Vector1D in org.hipparchus.geometry.euclidean.twod
Methods in org.hipparchus.geometry.euclidean.twod that return Vector1D Modifier and Type Method Description Vector1DLine. toSubSpace(Vector2D point)Transform a space point into a sub-space point.Methods in org.hipparchus.geometry.euclidean.twod that return types with arguments of type Vector1D Modifier and Type Method Description static Transform<Euclidean2D,Vector2D,Line,SubLine,Euclidean1D,Vector1D,OrientedPoint,SubOrientedPoint>Line. getTransform(double cXX, double cYX, double cXY, double cYY, double cX1, double cY1)Get aTransformembedding an affine transform.Methods in org.hipparchus.geometry.euclidean.twod with parameters of type Vector1D Modifier and Type Method Description Vector2DLine. getPointAt(Vector1D abscissa, double offset)Get one point from the plane.Vector2DLine. toSpace(Vector1D point)Transform a sub-space point into a space point.Method parameters in org.hipparchus.geometry.euclidean.twod with type arguments of type Vector1D Modifier and Type Method Description protected SubLineSubLine. buildNew(Line hyperplane, Region<Euclidean1D,Vector1D,OrientedPoint,SubOrientedPoint> remainingRegion)Build a sub-hyperplane from an hyperplane and a region.Constructor parameters in org.hipparchus.geometry.euclidean.twod with type arguments of type Vector1D Constructor Description SubLine(Line hyperplane, Region<Euclidean1D,Vector1D,OrientedPoint,SubOrientedPoint> remainingRegion)Simple constructor.
-