public class Landmark extends Rectangle
Landmark is the container that stores the key points for landmark on a single face.| Constructor and Description |
|---|
Landmark(double x,
double y,
double width,
double height,
java.util.List<Point> points)
Constructs a
Landmark using a list of points. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<Point> |
getPath()
Returns an iterator object that iterates along the
BoundingBox boundary and provides
access to the geometry of the BoundingBox outline. |
public Landmark(double x,
double y,
double width,
double height,
java.util.List<Point> points)
Landmark using a list of points.x - the left coordinate of the bounding rectangley - the top coordinate of the bounding rectanglewidth - the width of the bounding rectangleheight - the height of the bounding rectanglepoints - the key points for each facepublic java.lang.Iterable<Point> getPath()
BoundingBox boundary and provides
access to the geometry of the BoundingBox outline.getPath in interface BoundingBoxgetPath in class RectangleIterable object, which independently traverses the geometry of the BoundingBox