1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<html> 3 4<head> 5<title></title> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7</head> 8<body> 9 10The <code>com.jme3.math</code> package provides mathematic data structures 11and utilities which are used by the rest of the engine. 12The math package provides the following classes:<br> 13<h3>General purpose vectors</h3> 14<ul> 15 <li>{@link com.jme3.math.Vector2f} - 2D general purpose vector</li> 16 <li>{@link com.jme3.math.Vector3f} - 3D general purpose vector</li> 17 <li>{@link com.jme3.math.Vector4f} - 4D general purpose vector</li> 18</ul> 19<h3>Special purpose vectors</h3> 20<ul> 21 <li>{@link com.jme3.math.ColorRGBA} - Floating-point RGB color with alpha</li> 22 <li>{@link com.jme3.math.Quaternion} - Specialized 4D data structure to represent rotation</li> 23</ul> 24<h3>Matrices</h3> 25<ul> 26 <li>{@link com.jme3.math.Matrix3f} - 3x3 matrix, usually used to represent rotation</li> 27 <li>{@link com.jme3.math.Matrix4f} - 4x4 matrix, used as an efficient transform representation</li> 28</ul> 29<h3>Shapes</h3> 30<ul> 31 <li>{@link com.jme3.math.AbstractTriangle} - Abstract triangle. Data to be provided by implementation</li> 32 <li>{@link com.jme3.math.Triangle} - Concrete implementation of AbstractTriangle with center and normal vectors</li> 33 <li>{@link com.jme3.math.Line} - Infinite 3D line</li> 34 <li>{@link com.jme3.math.LineSegment} - 3D line with start and end point</li> 35 <li>{@link com.jme3.math.Plane} - 3D plane</li> 36 <li>{@link com.jme3.math.Ray} - 3D ray</li> 37 <li>{@link com.jme3.math.Rectangle} - 3D rectangle</li> 38 <li>{@link com.jme3.math.Ring} - 3D ring</li> 39</ul> 40<h3>Curves</h3> 41<ul> 42 <li>{@link com.jme3.math.Spline} - 3D curve defined by control points and a function</li> 43</ul> 44<h3>Utility classes</h3> 45<ul> 46 <li>{@link com.jme3.math.Transform} - Representation of a transform with translation, rotation, and scale</li> 47 <li>{@link com.jme3.math.FastMath} - Contains static methods for floating-point math</li> 48 <li>{@link com.jme3.math.CurveAndSurfaceMath} - Contains static methods specific to curve and surface math</li> 49 <li>{@link com.jme3.math.Eigen3f} - Provides computation of eigenvectors given a matrix</li> 50</ul> 51 52</body> 53</html> 54