public class Vector2DUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.math3.geometry.euclidean.twod.Vector2D |
CENTER |
static org.apache.commons.math3.geometry.euclidean.twod.Vector2D |
ONE |
| Constructor and Description |
|---|
Vector2DUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.commons.math3.geometry.euclidean.twod.Vector2D |
ceil(org.apache.commons.math3.geometry.euclidean.twod.Vector2D vec) |
static org.apache.commons.math3.geometry.euclidean.twod.Vector2D |
floor(org.apache.commons.math3.geometry.euclidean.twod.Vector2D vec) |
static org.apache.commons.math3.geometry.euclidean.twod.Vector2D |
max(org.apache.commons.math3.geometry.euclidean.twod.Vector2D a,
org.apache.commons.math3.geometry.euclidean.twod.Vector2D b) |
static org.apache.commons.math3.geometry.euclidean.twod.Vector2D |
midpoint(org.apache.commons.math3.geometry.euclidean.twod.Vector2D a,
org.apache.commons.math3.geometry.euclidean.twod.Vector2D b) |
static org.apache.commons.math3.geometry.euclidean.twod.Vector2D |
min(org.apache.commons.math3.geometry.euclidean.twod.Vector2D a,
org.apache.commons.math3.geometry.euclidean.twod.Vector2D b) |
static org.apache.commons.math3.geometry.euclidean.twod.Vector2D |
perpendicular(org.apache.commons.math3.geometry.euclidean.twod.Vector2D vec) |
static org.apache.commons.math3.geometry.euclidean.twod.Vector2D |
random() |
static org.apache.commons.math3.geometry.euclidean.twod.Vector2D |
reciprocal(org.apache.commons.math3.geometry.euclidean.twod.Vector2D vec) |
static org.apache.commons.math3.geometry.euclidean.twod.Vector2D |
round(org.apache.commons.math3.geometry.euclidean.twod.Vector2D vec) |
public static final org.apache.commons.math3.geometry.euclidean.twod.Vector2D ONE
public static final org.apache.commons.math3.geometry.euclidean.twod.Vector2D CENTER
public static org.apache.commons.math3.geometry.euclidean.twod.Vector2D random()
public static org.apache.commons.math3.geometry.euclidean.twod.Vector2D max(org.apache.commons.math3.geometry.euclidean.twod.Vector2D a,
org.apache.commons.math3.geometry.euclidean.twod.Vector2D b)
public static org.apache.commons.math3.geometry.euclidean.twod.Vector2D min(org.apache.commons.math3.geometry.euclidean.twod.Vector2D a,
org.apache.commons.math3.geometry.euclidean.twod.Vector2D b)
public static org.apache.commons.math3.geometry.euclidean.twod.Vector2D midpoint(org.apache.commons.math3.geometry.euclidean.twod.Vector2D a,
org.apache.commons.math3.geometry.euclidean.twod.Vector2D b)
public static org.apache.commons.math3.geometry.euclidean.twod.Vector2D reciprocal(org.apache.commons.math3.geometry.euclidean.twod.Vector2D vec)
public static org.apache.commons.math3.geometry.euclidean.twod.Vector2D perpendicular(org.apache.commons.math3.geometry.euclidean.twod.Vector2D vec)
public static org.apache.commons.math3.geometry.euclidean.twod.Vector2D round(org.apache.commons.math3.geometry.euclidean.twod.Vector2D vec)
public static org.apache.commons.math3.geometry.euclidean.twod.Vector2D ceil(org.apache.commons.math3.geometry.euclidean.twod.Vector2D vec)
public static org.apache.commons.math3.geometry.euclidean.twod.Vector2D floor(org.apache.commons.math3.geometry.euclidean.twod.Vector2D vec)