Package | Description |
---|---|
Jcg.geometry | |
Jcg.geometry.kernel | |
Jcg.mesh |
Modifier and Type | Field and Description |
---|---|
Point_2 |
Segment_2.p |
Point_2 |
Segment_2.q |
Modifier and Type | Method and Description |
---|---|
Point_2[] |
PointCloud_2.boundingBox()
Compute the bounding box (enclosing all points)
|
static Point_2 |
GeometricOperations_2.circumCenter(Point_2 p0,
Point_2 p1,
Point_2 p2)
Deprecated.
Returns the (approximate) circumcenter of input triangle
|
static Point_2 |
GeometricOperations_2.intersect(Segment_2 s,
Ray_2 r)
Deprecated.
Returns approximate intersection between segment s and ray r
|
static Point_2 |
GeometricOperations_2.intersect(Segment_2 s,
Segment_2 t)
Deprecated.
Returns approximate intersection between segments
|
static Point_2 |
Point_2.linearCombination(Point_2[] points,
java.lang.Number[] coefficients) |
Point_2 |
PointCloud_2.max(int d)
Return the point with greatest coordinate value (in direction d)
|
static Point_2 |
Point_2.midPoint(Point_2 p,
Point_2 q) |
static Point_2 |
MesherOperations.midpointOnUnitCircle(Point_2[] e)
Computes the points of the bisector of edge e that lie on
the unit circle, and returns the one closest to e
|
Point_2 |
PointCloud_2.min(int d)
Return the point with smallest coordinate value (in direction d)
|
Point_2 |
Ray_2.source() |
Point_2 |
Point_2.sum(Vector_ v) |
Modifier and Type | Method and Description |
---|---|
void |
PolyLine_2.addFirst(Point_2 p) |
void |
PolyLine_2.addLast(Point_2 p) |
static Point_2 |
GeometricOperations_2.circumCenter(Point_2 p0,
Point_2 p1,
Point_2 p2)
Deprecated.
Returns the (approximate) circumcenter of input triangle
|
static boolean |
GeometricOperations_2.collinear(Point_2 a,
Point_2 b,
Point_2 c)
Deprecated.
Returns true if a, b and c lie on a same line
|
java.lang.Number |
Point_2.distanceFrom(Point_2 p) |
static java.lang.Number |
GeometricOperations_2.distanceToSegment(Point_2 ps,
Point_2 pe,
Point_2 p)
Deprecated.
Returns the distance (non exact computation) of a point to a segment
|
static boolean |
MesherOperations.encroachesEdge(Point_2 p,
Point_2[] e)
Tests whether point p lies in the diametral circle of edge e
|
static boolean |
MesherOperations.encroachesEdge(Point_2 p,
Point_2[] e)
Tests whether point p lies in the diametral circle of edge e
|
boolean |
Line_2.hasOn(Point_2 p) |
boolean |
Line_2.hasOnNegativeSide(Point_2 p) |
boolean |
Line_2.hasOnPositiveSide(Point_2 p) |
static boolean |
GeometricOperations_2.inCircle(Point_2 p,
Point_2 a,
Point_2 b,
Point_2 c)
Deprecated.
Tests if point p lies inside the circumcircle of triangle a,b,c
|
static boolean |
GeometricOperations_2.isCounterClockwise(Point_2 a,
Point_2 b,
Point_2 c)
Deprecated.
Returns true if a, b and c turn in counter-clockwise direction
|
static boolean |
GeometricOperations_2.liesOn(Point_2 p,
Point_2 a,
Point_2 b)
Deprecated.
Returns true if point p lies on segment ab
|
static Point_2 |
Point_2.linearCombination(Point_2[] points,
java.lang.Number[] coefficients) |
static Point_2 |
Point_2.midPoint(Point_2 p,
Point_2 q) |
static Point_2 |
MesherOperations.midpointOnUnitCircle(Point_2[] e)
Computes the points of the bisector of edge e that lie on
the unit circle, and returns the one closest to e
|
static int |
GeometricOperations_2.orientation(Point_2 a,
Point_2 b,
Point_2 c)
Deprecated.
Returns the orientation of a, b and c
|
Constructor and Description |
---|
Ray_2(Point_2 p,
Vector_2 v) |
Segment_2(Point_2 p,
Point_2 q) |
Vector_2(Point_2 a,
Point_2 b) |
Constructor and Description |
---|
PointCloud_2(java.util.ArrayList<Point_2> points)
Create a new point cloud (a copy) from a collection of points
|
PolyLine_2(java.util.ArrayList<Point_2> points)
Create a new polyline (a copy of the list is created) from a collection of points
|
Modifier and Type | Method and Description |
---|---|
Point_2 |
GeometricConstructions_2.circumCenter(Point_2 p0,
Point_2 p1,
Point_2 p2)
Returns the (approximate) circumcenter of input triangle
|
Point_2 |
ApproximateConstructions_2.circumCenter(Point_2 p0,
Point_2 p1,
Point_2 p2)
Returns the (approximate) circumcenter of input triangle
|
Point_2 |
GeometricConstructions_2.intersect(Segment_2 s,
Ray_2 r)
Returns approximate intersection between segment s and ray r
|
Point_2 |
ApproximateConstructions_2.intersect(Segment_2 s,
Ray_2 r)
Return approximate intersection between segment s and ray r
|
Point_2 |
GeometricConstructions_2.intersect(Segment_2 s,
Segment_2 t)
Returns approximate intersection between segments
|
Point_2 |
ApproximateConstructions_2.intersect(Segment_2 s,
Segment_2 t)
Returns approximate intersection between segments
|
Modifier and Type | Method and Description |
---|---|
Point_2 |
GeometricConstructions_2.circumCenter(Point_2 p0,
Point_2 p1,
Point_2 p2)
Returns the (approximate) circumcenter of input triangle
|
Point_2 |
ApproximateConstructions_2.circumCenter(Point_2 p0,
Point_2 p1,
Point_2 p2)
Returns the (approximate) circumcenter of input triangle
|
boolean |
GeometricPredicates_2.collinear(Point_2 a,
Point_2 b,
Point_2 c)
Returns true if a, b and c lie on a same line
|
boolean |
ExactPredicates_2.collinear(Point_2 a,
Point_2 b,
Point_2 c)
Returns true if a, b and c lie on a same line
|
boolean |
FilteredPredicates_2.collinear(Point_2 a,
Point_2 b,
Point_2 c)
Returns true if a, b and c lie on a same line
|
boolean |
ApproximatePredicates_2.collinear(Point_2 a,
Point_2 b,
Point_2 c)
Returns true if a, b and c lie on a same line
|
java.lang.Number |
GeometricConstructions_2.distanceToSegment(Point_2 ps,
Point_2 pe,
Point_2 p)
Returns the distance (non exact computation) of a point to a segment
|
java.lang.Number |
ApproximateConstructions_2.distanceToSegment(Point_2 ps,
Point_2 pe,
Point_2 p)
Returns the distance (non exact computation) of a point to a segment
|
boolean |
GeometricPredicates_2.inCircle(Point_2 p,
Point_2 a,
Point_2 b,
Point_2 c)
Tests if point p lies inside the circumcircle of triangle a,b,c
|
boolean |
ExactPredicates_2.inCircle(Point_2 p,
Point_2 a,
Point_2 b,
Point_2 c)
Tests if point p lies inside the circumcircle of triangle a,b,c
|
boolean |
FilteredPredicates_2.inCircle(Point_2 p,
Point_2 a,
Point_2 b,
Point_2 c)
Tests if point p lies inside the circumcircle of triangle a,b,c
|
boolean |
ApproximatePredicates_2.inCircle(Point_2 p,
Point_2 a,
Point_2 b,
Point_2 c)
Tests if point p lies inside the circumcircle of triangle a,b,c
|
boolean |
GeometricPredicates_2.isCounterClockwise(Point_2 a,
Point_2 b,
Point_2 c)
Returns true if a, b and c turn in counter-clockwise direction
|
boolean |
ExactPredicates_2.isCounterClockwise(Point_2 a,
Point_2 b,
Point_2 c)
Returns true if a, b and c turn in counter-clockwise direction
|
boolean |
FilteredPredicates_2.isCounterClockwise(Point_2 a,
Point_2 b,
Point_2 c)
Returns true if a, b and c turn in counter-clockwise direction
|
boolean |
ApproximatePredicates_2.isCounterClockwise(Point_2 a,
Point_2 b,
Point_2 c)
Returns true if a, b and c turn in counter-clockwise direction
|
boolean |
GeometricPredicates_2.liesOn(Point_2 p,
Point_2 a,
Point_2 b)
Returns true if point p lies on segment ab
|
boolean |
ExactPredicates_2.liesOn(Point_2 p,
Point_2 a,
Point_2 b)
Returns true if point p lies on segment ab
|
boolean |
FilteredPredicates_2.liesOn(Point_2 p,
Point_2 a,
Point_2 b)
Returns true if point p lies on segment ab
|
boolean |
ApproximatePredicates_2.liesOn(Point_2 p,
Point_2 a,
Point_2 b)
Returns true if point p lies on segment ab
|
int |
GeometricPredicates_2.orientation(Point_2 a,
Point_2 b,
Point_2 c)
Returns the orientation of a, b and c
|
int |
ExactPredicates_2.orientation(Point_2 a,
Point_2 b,
Point_2 c)
Returns the orientation of a, b and c
|
int |
FilteredPredicates_2.orientation(Point_2 a,
Point_2 b,
Point_2 c)
Returns the orientation of a, b and c
|
int |
ApproximatePredicates_2.orientation(Point_2 a,
Point_2 b,
Point_2 c)
Returns the orientation of a, b and c
|
Modifier and Type | Method and Description |
---|---|
static Point_2[] |
MeshBuilder.Point3DToPoint2D(Point_3[] points)
Convert an array of 3D points to an array of 2D points (by orthogonal projection on the z=0 hyperplane)
|
Modifier and Type | Method and Description |
---|---|
static Polyhedron_3<Point_2> |
MeshLoader.getPlanarMesh(java.lang.String filename)
Load a planar mesh embedded in 2D (Polyhedron_3
|
static Polyhedron_3<Point_2> |
MeshLoader.getRandomPlanarTriangulation(int n)
Generating a random planar triangulation of size n+2 (with uniform distribution)
|