public final class PointsCloud
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PointsCloud.FurthestPoint |
| Modifier and Type | Method and Description |
|---|---|
static java.util.ArrayList<IntPoint> |
FindQuadrilateralCorners(java.util.ArrayList<IntPoint> cloud) |
static java.util.ArrayList<IntPoint> |
GetBoundingRectangle(java.util.ArrayList<IntPoint> cloud)
Get bounding rectangle of the specified list of points.
|
static FloatPoint |
GetCenterOfGravity(java.util.ArrayList<IntPoint> cloud) |
static PointsCloud.FurthestPoint |
GetFurthestPoint(java.util.ArrayList<IntPoint> cloud,
IntPoint referencePoint) |
static IntPoint |
GetFurthestPointFromLine(java.util.ArrayList<IntPoint> cloud,
IntPoint linePoint1,
IntPoint linePoint2) |
static PointsCloud.FurthestPoint[] |
GetFurthestPointsFromLine(java.util.ArrayList<IntPoint> cloud,
IntPoint linePoint1,
IntPoint linePoint2) |
static float |
getQuadrilateralRelativeDistortionLimit() |
static void |
setQuadrilateralRelativeDistortionLimit(float value) |
static void |
Shift(java.util.ArrayList<IntPoint> cloud,
IntPoint shift)
Shift cloud by adding specified value to all points in the collection.
|
public static void Shift(java.util.ArrayList<IntPoint> cloud, IntPoint shift)
cloud - Collection of points to shift their coordinates.shift - Point to shift by.public static java.util.ArrayList<IntPoint> GetBoundingRectangle(java.util.ArrayList<IntPoint> cloud)
cloud - Collection of points to get bounding rectangle for.public static FloatPoint GetCenterOfGravity(java.util.ArrayList<IntPoint> cloud)
public static PointsCloud.FurthestPoint GetFurthestPoint(java.util.ArrayList<IntPoint> cloud, IntPoint referencePoint)
public static PointsCloud.FurthestPoint[] GetFurthestPointsFromLine(java.util.ArrayList<IntPoint> cloud, IntPoint linePoint1, IntPoint linePoint2)
public static IntPoint GetFurthestPointFromLine(java.util.ArrayList<IntPoint> cloud, IntPoint linePoint1, IntPoint linePoint2)
public static float getQuadrilateralRelativeDistortionLimit()
public static void setQuadrilateralRelativeDistortionLimit(float value)