Uses of Class
il.ac.idc.jdt.Point
-
Uses of Point in il.ac.idc.jdt
Modifier and TypeMethodDescriptionPoint[]
DelaunayTriangulation.calcVoronoiCell
(Triangle triangle, Point p) Calculates a Voronoi cell for a given neighborhood in this triangulation.Circle.center()
Gets the center of the circle.DelaunayTriangulation.findClosePoint
(Point pointToDelete) return a point from the trangulation that is close to pointToDeleteTriangle.getA()
returns the first vertex of this triangle.Triangle.getB()
returns the second vertex of this triangle.Triangle.getC()
returns the 3th vertex of this triangle.BoundingBox.getMaxPoint()
BoundingBox.getMinPoint()
compute the Z value for the X,Y values of q. assume this triangle represent a plane --> q does NOT need to be contained in this triangle.DelaunayTriangulation.maxBoundingBox()
return the max point of the bounding box of this triangulation {{x1,y1,z1}}DelaunayTriangulation.minBoundingBox()
return the min point of the bounding box of this triangulation {{x0,y0,z0}}Modifier and TypeMethodDescriptionDelaunayTriangulation.getConvexHullVerticesIterator()
returns an iterator to the set of all the points on the XY-convex hullIOParsers.readPoints
(File file) creates a Delaunay Triangulation from all the points in the suggested tsin file or from a smf file (off like). if the file name is .smf - read it as an smf file as try to read it as .tsin
Note: duplicated points are ignored!IOParsers.readPoints
(InputStream is) IOParsers.readPoints
(String file) DelaunayTriangulation.verticesIterator()
returns an iterator to the set of points compusing this triangulation.Modifier and TypeMethodDescriptionPoint[]
DelaunayTriangulation.calcVoronoiCell
(Triangle triangle, Point p) Calculates a Voronoi cell for a given neighborhood in this triangulation.int
boolean
boolean
determinates if this triangle contains the point p.boolean
Triangle.containsBoundaryIsOutside
(Point p) determinates if this triangle contains the point p.void
DelaunayTriangulation.deletePoint
(Point pointToDelete) Deletes the given point from this.double
double
Point.distance3D
(Point p) boolean
Triangle.fallInsideCircumcircle
(Point[] arrayPoints) finds the triangle the query point falls in, note if out-side of this triangulation a half plane triangle will be returned (see contains), the search has expected time of O(n^0.5), and it starts form a fixed triangle (this.startTriangle),finds the triangle the query point falls in, note if out-side of this triangulation a half plane triangle will be returned (see contains). the search starts from the the start triangleGridIndex.findCellTriangleOf
(Point point) Finds a triangle near the given pointDelaunayTriangulation.findClosePoint
(Point pointToDelete) return a point from the trangulation that is close to pointToDeleteDelaunayTriangulation.findTriangleNeighborhood
(Triangle firstTriangle, Point point) compute the Z value for the X,Y values of q. assume this triangle represent a plane --> q does NOT need to be contained in this triangle.void
DelaunayTriangulation.insertPoint
(Point p) insert the point to this Delaunay Triangulation.boolean
Checks if the given point is a corner of this triangle.int
Point.pointLineTest
(Point a, Point b) tests the relation between this point (as a 2D [x,y] point) and a 2D segment a,b (the Z values are ignored), returns one of the following: LEFT, RIGHT, INFRONTOFA, BEHINDB, ONSEGMENTvoid
void
void
double
compute the Z value for the X,Y values of q.Modifier and TypeMethodDescriptionvoid
DelaunayTriangulation.insertPoints
(Collection<Point> points) ModifierConstructorDescriptionBoundingBox
(Point lowerLeft, Point upperRight) Create a bounding box between lowerLeft and upperRightConstructor.DelaunayTriangulation
(Point[] ps) creates a Delaunay Triangulation from all the points.simple copy constructorcreates a half plane using the segment (A,B).constructs a triangle form 3 point - store it in counterclockwised order. -
Uses of Point in org.jzy3d.plot3d.builder.delaunay
Modifier and TypeMethodDescriptionstatic Point
JDTConverter.toJdtPoint
(double x, double y, double z) static Point
JDTConverter.toJdtPoint
(Coord3d coord)