Uses of Class
dev.nm.geometry.Point
-
Packages that use Point Package Description dev.nm.geometry dev.nm.geometry.polyline -
-
Uses of Point in dev.nm.geometry
Methods in dev.nm.geometry that return Point Modifier and Type Method Description Point
LineSegment. getEndPoint1()
Get the first endpoint.Point
LineSegment. getEndPoint2()
Get the second endpoint.Methods in dev.nm.geometry with parameters of type Point Modifier and Type Method Description double
LineSegment. distance(Point p)
Calculate the shortest distance between a point and this line segment in Euclidean geometry.double
Point. distance(Point pt)
Compute the Euclidean distance between this point and the given point.double
LineSegment. perpendicularDistance(Point p)
Constructors in dev.nm.geometry with parameters of type Point Constructor Description LineSegment(Point p1, Point p2)
Create a line segment with two given endpoints. -
Uses of Point in dev.nm.geometry.polyline
Methods in dev.nm.geometry.polyline that return types with arguments of type Point Modifier and Type Method Description List<Point>
PolygonalChain. vertices()
Get a list of the vertices defining the chain.List<Point>
PolygonalChainByArray. vertices()
Constructor parameters in dev.nm.geometry.polyline with type arguments of type Point Constructor Description PolygonalChainByArray(List<? extends Point> vertices)
Create a new instance which uses the given vertices.
-