|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Vector2DDouble | |
---|---|
za.co.luma.geom | Contains classes for representing simple geometric types, such as points / vectors and segments. |
za.co.luma.math.sampling | The classes in this package is useful for sampling images, although some might be used to sample arbitrary structures. |
Uses of Vector2DDouble in za.co.luma.geom |
---|
Methods in za.co.luma.geom that return Vector2DDouble | |
---|---|
static Vector2DDouble |
Vector2DDouble.add(Vector2DDouble p1,
Vector2DDouble p2)
|
Vector2DDouble |
Segment.getEnd()
Gets the end point of this segment. |
static Vector2DDouble |
Vector2DDouble.getPointBetween(Vector2DDouble p1,
Vector2DDouble p2,
double r)
|
Vector2DDouble |
Segment.getStart()
Gets the start point of this segment. |
static Vector2DDouble |
Vector2DDouble.minus(Vector2DDouble p1,
Vector2DDouble p2)
|
static Vector2DDouble |
Vector2DDouble.orthoUnit(Vector2DDouble p)
|
static Vector2DDouble |
Vector2DDouble.scale(Vector2DDouble p,
double r)
|
static Vector2DDouble |
Vector2DDouble.subtract(Vector2DDouble p1,
Vector2DDouble p2)
|
static Vector2DDouble |
Vector2DDouble.unit(Vector2DDouble p1)
|
Vector2DDouble |
Vector2DDouble.unitVector()
|
Methods in za.co.luma.geom with parameters of type Vector2DDouble | |
---|---|
static Vector2DDouble |
Vector2DDouble.add(Vector2DDouble p1,
Vector2DDouble p2)
|
static double |
Vector2DDouble.distance(Vector2DDouble p1,
Vector2DDouble p2)
Returns the Euclidean distance between two points. |
static Vector2DDouble |
Vector2DDouble.getPointBetween(Vector2DDouble p1,
Vector2DDouble p2,
double r)
|
static Vector2DDouble |
Vector2DDouble.minus(Vector2DDouble p1,
Vector2DDouble p2)
|
static Vector2DDouble |
Vector2DDouble.orthoUnit(Vector2DDouble p)
|
static boolean |
Vector2DDouble.pointInTriangle(Vector2DDouble p,
Vector2DDouble a,
Vector2DDouble b,
Vector2DDouble c)
Checks whether a point lies within the triangle described by three vertices. |
static boolean |
Vector2DDouble.sameSide(Vector2DDouble p1,
Vector2DDouble p2,
Vector2DDouble a,
Vector2DDouble b)
Checks whether a and b lies on the same side of line p1-p2, or not. |
static double |
Vector2DDouble.scalarCross(Vector2DDouble p1,
Vector2DDouble p2)
Returns the z-coordinate of the cross product of two points (embedded in 3D space). |
static Vector2DDouble |
Vector2DDouble.scale(Vector2DDouble p,
double r)
|
void |
Segment.setEnd(Vector2DDouble end)
Sets the end point of this segment. |
void |
Segment.setStart(Vector2DDouble start)
Sets the start point for this segment. |
static double |
Vector2DDouble.size(Vector2DDouble p)
|
static Vector2DDouble |
Vector2DDouble.subtract(Vector2DDouble p1,
Vector2DDouble p2)
|
static Vector2DDouble |
Vector2DDouble.unit(Vector2DDouble p1)
|
Constructors in za.co.luma.geom with parameters of type Vector2DDouble | |
---|---|
Segment(Vector2DDouble start,
Vector2DDouble end)
Construct a new segment from two given points. |
Uses of Vector2DDouble in za.co.luma.math.sampling |
---|
Subclasses of Vector2DDouble in za.co.luma.math.sampling | |
---|---|
static class |
PoissonDiskMultiSampler.Circle
|
Methods in za.co.luma.math.sampling that return types with arguments of type Vector2DDouble | |
---|---|
java.util.List<Vector2DDouble> |
UniformRandomSampler.sample()
|
java.util.List<Vector2DDouble> |
UniformPoissonDiskSampler.sample()
Generates a list of points following the Poisson distribution. |
java.util.List<Vector2DDouble> |
PoissonDiskSampler.sample()
Generates a list of points following the Poisson distribution. |
Methods in za.co.luma.math.sampling with parameters of type Vector2DDouble | |
---|---|
static PoissonDiskMultiSampler.Circle |
PoissonDiskMultiSampler.generateAround(Vector2DDouble centre,
double minDist,
double minRadius,
double radius,
double distanceScale,
double angleScale,
double radiusScale)
Generates a random point in the analus around the given point. |
static Vector2DInt |
PoissonDiskMultiSampler.pointDoubleToInt(Vector2DDouble pointDouble,
Vector2DDouble origin,
double cellSize)
Converts a PointDouble to a PointInt that represents the index coordinates of the point in the background grid. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |