public class Triangle
extends java.lang.Object
implements java.io.Serializable
This source is free; you can redistribute it and/or modify it under the terms of the GNU General Public License and by nameing of the originally author
| Modifier and Type | Field and Description |
|---|---|
Point3D |
A
the 3 Vertices of the Triangle
|
Point3D |
B
the 3 Vertices of the Triangle
|
Point3D |
C
the 3 Vertices of the Triangle
|
Color |
colour
the color of the Triangle if the Triangle has no texture
|
boolean |
containsTexture
says if the Triangle has Texture
|
java.lang.String |
imageFileName
the Filename of the texture-Image
|
PImage |
imageReference
an object reference of a loaded image by Processing.
|
Point2D |
texA
Texture-Points
|
Point2D |
texB
Texture-Points
|
Point2D |
texC
Texture-Points
|
| Constructor and Description |
|---|
Triangle() |
public Point3D A
public Point3D B
public Point3D C
public Point2D texA
public Point2D texB
public Point2D texC
public java.lang.String imageFileName
public boolean containsTexture
public transient PImage imageReference
public Color colour