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 List<VectorXYZ> calculateTriangleNormals(List<VectorXYZ> vertices,
boolean smooth)
- calculates normals for a collection of triangles
calculateTriangleStripNormals
public static final List<VectorXYZ> calculateTriangleStripNormals(List<VectorXYZ> vertices,
boolean smooth)
calculateTriangleFanNormals
public static final List<VectorXYZ> calculateTriangleFanNormals(List<VectorXYZ> vertices,
boolean smooth)
calculateTrianglesWithNormals
public static final Collection<TriangleXYZWithNormals> calculateTrianglesWithNormals(Collection<TriangleXYZ> triangles)
- calculates normals for vertices that are shared by multiple triangles.