public class PLYreader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
closedSurface
is the object a closed surface (specified in file header)
|
Constructor and Description |
---|
PLYreader() |
Modifier and Type | Method and Description |
---|---|
static java.util.HashMap<Triangle,java.util.ArrayList<Triangle>> |
getCoplanarListMap()
returns the map of triangle it triangle indices of triangle
subdivisions that should be ignored in an interior check if the
original triangle is intersected by the ray.
|
static void |
main(java.lang.String[] args) |
static java.util.Collection<Triangle> |
readPLYfile(java.lang.String PLYname,
double scale,
double p)
static method to read a named PLY format file, parse the
contents and return a
Collection of
Triangle objects. |
public static boolean closedSurface
public static final java.util.Collection<Triangle> readPLYfile(java.lang.String PLYname, double scale, double p)
Collection
of
Triangle
objects.
Currently this only works with ascii PLY files and will
ignore anything other than vertex and connectivity
information.fname
- public static final java.util.HashMap<Triangle,java.util.ArrayList<Triangle>> getCoplanarListMap() throws LoggedException
LoggedException
- if the map has not been assembled prior
to calling this function, a LoggedException
is thrown.public static void main(java.lang.String[] args)
args
-