- All Known Subinterfaces:
Pnt2d
- All Known Implementing Classes:
AlgebraicLine
,Corner
,GeometricCircle
,GeometricEllipse
,HessianLine
,HoughLine
,LocalMinMaxFinder.ExtremalPoint
,PixelMap.Pixel
,Pnt2d.PntDouble
,Pnt2d.PntInt
,SiftDescriptor
,SlopeInterceptLine
public interface Primitive2d
Interface specifying a 2D curve capable of calculating the minimum distance to a given point.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getDistance
(Pnt2d p) Returns the minimum absolute distance from the specified point to this curve.
-
Method Details
-
getDistance
Returns the minimum absolute distance from the specified point to this curve.- Parameters:
p
- a 2D point- Returns:
- the minimum distance (always positive)
-