org.osm2world.core.math
Class TriangleXYZ
Object
TriangleXYZ
- Direct Known Subclasses:
- TriangleXYZWithNormals
public class TriangleXYZ
- extends Object
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
v1
public final VectorXYZ v1
v2
public final VectorXYZ v2
v3
public final VectorXYZ v3
TriangleXYZ
public TriangleXYZ(VectorXYZ v1,
VectorXYZ v2,
VectorXYZ v3)
getVertices
public List<VectorXYZ> getVertices()
getNormal
public VectorXYZ getNormal()
- returns the normalized normal vector of this triangle
getCenter
public VectorXYZ getCenter()
toString
public String toString()
- Overrides:
toString
in class Object