org.osm2world.core.math.algorithms
Class NormalCalculationUtil
Object
NormalCalculationUtil
public final class NormalCalculationUtil
- extends Object
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
calculateTriangleNormals
public static final VectorXYZ[] calculateTriangleNormals(List<? extends VectorXYZ> vertices,
boolean smooth)
- calculates normals for a collection of triangles
calculateTriangleStripNormals
public static final VectorXYZ[] calculateTriangleStripNormals(List<? extends VectorXYZ> vertices,
boolean smooth)
calculateTriangleFanNormals
public static final VectorXYZ[] calculateTriangleFanNormals(List<? extends VectorXYZ> vertices,
boolean smooth)
calculateTrianglesWithNormals
public static final Collection<TriangleXYZWithNormals> calculateTrianglesWithNormals(Collection<TriangleXYZ> triangles)
- calculates normals for vertices that are shared by multiple triangles.