Class PointListFactory
Object
PointListFactory
A factory for creating PointList objects from various types of point collections.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PointList
Creates a PointList from a list of Point3d objects.static PointList
Creates a PointList from a list of Point3d objects with a specified ID.static PointList
createMarkFromPoints3f
(List<Point3f> points) Creates a PointList from a list of Point3f objects.static PointList
createMarkFromPoints3i
(List<Point3i> points) Creates a PointList from a list of Point3i objects.
-
Method Details
-
create
Creates a PointList from a list of Point3d objects.- Parameters:
points
- the list of Point3d objects- Returns:
- a new PointList containing the given points
-
create
Creates a PointList from a list of Point3d objects with a specified ID.- Parameters:
points
- the list of Point3d objectsid
- the ID to assign to the PointList- Returns:
- a new PointList containing the given points and ID
-
createMarkFromPoints3f
Creates a PointList from a list of Point3f objects.- Parameters:
points
- the list of Point3f objects- Returns:
- a new PointList containing the given points converted to Point3d
-
createMarkFromPoints3i
Creates a PointList from a list of Point3i objects.- Parameters:
points
- the list of Point3i objects- Returns:
- a new PointList containing the given points converted to Point3d
-