Package org.jzy3d.maths
This package offers the Coord2d
and Coord3d
objects that store coordinates and provide
operators such as add(), sub(), mul(), div(), dist(), cartesian(), and polar().
The Vector2d
and Vector3d
provide few vectorial computation such as dot product,
vectorial product, scalar product, and distance to a coordinate.
We here define VectorX
s as objects storing a pair of coordinates,
although a geometric representation (something like magnitude and direction)
may be retrieved using {@link VectorX.vector()}.
The Angle3d
and Angle2d
objects provide functions for computing
sin(), cos() and angle() for an angle induced by three coordinates.
BoundingBox
es define a rectangular selection into a 2d or 3d world.
Utils is a static class that provides helpers (min([])).
-
Interface Summary Interface Description IBoundingPolicy -
Class Summary Class Description Angle2d An Angle2d stores three 2d points, considering the angle is on the second one.Angle3d An Angle3d stores three 3d points, considering the angle is on the second one.Area Array BoundingBox2d A BoundingBox2d stores a couple of maximal and minimal limit on each dimension (x, y).BoundingBox3d A BoundingBox3d stores a couple of maximal and minimal limit on each dimension (x, y, and z).ConvexHull Coord2d ACoord2d
stores a 2 dimensional coordinate for cartesian (x,y) or polar (a,r) mode, and provide operators allowing to add, substract, multiply and divises coordinate values, as well as computing the distance between two points, and converting polar and cartesian coordinates.Coord3d ACoord3d
stores a 3 dimensional coordinate for cartesian or polar mode, and provide few operators.Coord3ds A set of points.Coordinates A simple utility class for storing a list of x, y, and z coordinates as arrays of float values.Dimension Replacement for java.awt.DimensionGrid GridLoader Deprecated. Histogram IntegerCoord2d Lists Mapper Deprecated. Normal Pair<X,Y> Class Pair.Permutations Generate all possible permutations of the input list May study https://www.quickperm.org/ as an faster alternative.Point2D Polygon2d PolygonArray Range For some naming relevance, a simple extention of Scale.Rectangle Replacement for java.awt.RectangleRotationMatrix Scale Sets Statistics TicToc Timer Triangle2d Utils Vector2d Storage for a 2 dimensional vector defined by two points.Vector3d Storage for a 3 dimensional vector defined by two points. -
Enum Summary Enum Description Array.Direction Normal.NormalMode Indicates how the normal of a vertex is computed SHARED: as a mean of all polygons that the vertex belongs to.Normal.NormalPer Indicate if normals are defined per point or per geometry.PlaneAxis