public class PointList extends java.lang.Object implements java.lang.AutoCloseable, java.io.Serializable, java.lang.Iterable<Point>
| Constructor and Description |
|---|
PointList()
Creates a new instance of the PointList class.
|
PointList(long handle)
Creates a new instance of the PointList class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Point pointItem)
Adds an item to the PointList object.
|
void |
clear()
Clears the PointList object.
|
PointList |
clone()
Creates a copy of the PointList object.
|
void |
close()
Releases all resources used by this PointList.
|
protected void |
finalize()
Finalizer for this class.
|
Point |
get(int index)
Gets an item of the PointList object.
|
int |
getCount()
Gets the number of elements in the PointList object.
|
long |
getHandle()
Gets the native handle.
|
java.util.Iterator<Point> |
iterator() |
void |
removeAt(int index)
Removes an element of the PointList object.
|
void |
resize(int newSize)
PointList object.
|
void |
set(int index,
Point pointItem)
Sets an item of the PointList object.
|
public PointList()
throws FaceException
FaceException - An error has occurred during Face Library execution.public PointList(long handle)
throws FaceException
handle - Handle to the PointList.FaceException - An error has occurred during Face Library execution.public void close()
close in interface java.lang.AutoCloseableprotected void finalize()
finalize in class java.lang.Objectpublic long getHandle()
public PointList clone() throws FaceException
clone in class java.lang.ObjectFaceException - An error has occurred during Face Library execution.public void clear()
throws FaceException
FaceException - An error has occurred during Face Library execution.public void add(Point pointItem) throws FaceException
pointItem - Point item to add.FaceException - An error has occurred during Face Library execution.public Point get(int index) throws FaceException
index - Index of the Point item to get.FaceException - An error has occurred during Face Library execution.public void set(int index,
Point pointItem)
throws FaceException
index - Index of the Point item to set.pointItem - Point item to set.FaceException - An error has occurred during Face Library execution.public int getCount()
throws FaceException
FaceException - An error has occurred during Face Library execution.public void removeAt(int index)
throws FaceException
index - Index of the Point item to remove.FaceException - An error has occurred during Face Library execution.public void resize(int newSize)
throws FaceException
newSize - Point object.FaceException - An error has occurred during Face Library execution.Copyright © id3 Technologies. All rights reserved. eu.id3.face