Java examples for java.lang:Math Geometry

Click the following links for the tutorial for java.lang and Math Geometry.

- clockwise Bisect
- clockwise Rotation
- counter clockwise Rotation
- dms To Degrees
- format Degree To Dms
- format Degree To Hms
- hms To Degree
- get Angular Difference
- subtract 180 Difference
- Returns the vertical sharing value If the value returned is negative, then the widgets are not in the same column
- quadratic Out Ease animation value
- Return the inverse (arc) hyperbolic cosine of a double.
- Return the inverse (arc) hyperbolic sine of a double.
- Returns the inverse (arc) hyperbolic tangent of a double.
- Return the hyperbolic cosine of a double.
- Return the contangent of a double.
- Find the square of the distance between the point and a point on the curve (u).
- Calculates distance between two points specified by latitude/longitude
- Compute the arctangent of x to a given scale, |x| < 1
- Compute the arctangent of x to a given scale by the Taylor series, |x| < 1
- The opposite transformation of compass to cartesian.
- Converts a compass heading (0-360 degrees, 0 north) to a cartesian angle (0-360, 0 along x-axis).
- Convert the input to a number of degrees lying inside the compass circle.
- compute Min Euclidean Distances
- Return the minimum Euclidean distance from each point to any other observation.
- Naive method for computing minimum distance - slower but needs less memory.
- Finds the angle obtained by moving a distance of delta_x from x in a anti-clockwise direction.
- Finds the angle obtained by moving a distance of delta_x from x in a clockwise direction.
- Finds the angle obtained by moving a distance of delta_x from x in a clockwise direction if delta_x is positive and anticlockwise direction is delta_x is negative.
- Finds the closest value in quad that is closest in distance to angle.
- Finds the minimum angular distance between two angles.
- Tests if a line from point 1 to point 2 is intersecting the rectangle rect.
- The fastest way to test if 2 line segments intersect.
- Compute the absolute difference (in degrees) between two directions.
- Converts an angle (in degrees, assuming 0 degrees is straight up, and clockwise is an increase in angle, and positive X is right) to an X location point.
- Finds the diametrically opposite angle to this angle. The diametrically opposite angle to 2.5 is -177.5
- converts cartesian coordinates (positive Y is down, positive X is right) into an angle in degrees (0 degrees is up, clockwise is positive).
- Computes arccosine for some cos(x).
- Method for checking if two points are in sight of each other.
- Compute the x and y configured norms of all other points from the data points at time step t.
- Estimates the function value at a specified point on x-axis using the Lagrange interpolation.
- This method calculates tangent of Cubic Bezier Curve.
- This method calculates tangent of Quadratic Bezier Curve.
- This method calculates tangent of Spline Curve.
- get Latitude/Longitude by providing distance, bearing angle and reference Latitude/Longitude
- get Earth Radius For Latitude
- Interpolation of Catmull-Rom Spline
- get Distance In Km
- get Distance In Radians
- Get the 3D minimum distance between 2 lines vecmath
- Finds the closest point within a rectangle
- Computes the distance in kilometers between two points on Earth.
- Calculates geodetic distance between two points specified by latitude/longitude using Vincenty inverse formula for ellipsoids