Package one.empty3.library
Class TRI
- java.lang.Object
-
- one.empty3.library.Representable
-
- one.empty3.library.TRI
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
,TemporalComputedObject3D
,MatrixPropertiesObject
,XmlRepresentable
- Direct Known Subclasses:
PartTRI
public class TRI extends Representable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class one.empty3.library.Representable
CFAST, classPainters, DEFAULT_TEXTURE, defaultHashMapData, DISPLAY_ALL, materiau, NFAST, parent, PATH_ELEM_DOUBLE_VALUES, PATH_ELEM_REPRESENTABLE, PATH_ELEM_STRUCTURE_MATRIX, render, rotation, SCALE1, scene, SURFACE_DISPLAY_COL_QUADS, SURFACE_DISPLAY_COL_TRI, SURFACE_DISPLAY_LINES, SURFACE_DISPLAY_POINTS, SURFACE_DISPLAY_TEXT_QUADS, T, texture, vectors
-
-
Constructor Summary
Constructors Constructor Description TRI()
TRI(Point3D[] s, java.awt.Color c)
TRI(Point3D[] s, ITexture c)
TRI(Point3D coordPoint3D, Point3D coordPoint3D0, Point3D coordPoint3D1)
TRI(Point3D point3d, Point3D point3d2, Point3D point3d3, java.awt.Color red)
TRI(Point3D point3d, Point3D point3d2, Point3D point3d3, ITexture red)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
declareProperties()
Point3D
getCentre()
StructureMatrix<Point3D>
getSommet()
Intersects.Intersection
intersects(RtRay ray, RtIntersectInfo cii)
int
intersects(TRI tri2)
Point3D
normale()
void
setCouleur(java.awt.Color couleur)
void
setSommet(Point3D[] sommet)
java.lang.String
toString()
-
Methods inherited from class one.empty3.library.Representable
become, calculerCurveT, calculerPointT, calculerSurfaceT, compareTo, copy, declarations, draw, drawStructureDrawFast, getCFAST, getDeclaredDataStructure, getDeclaredLists, getDeclaredProperty, getDisplayType, getDisplayTypes, getOrientedPoint, getPainter, getPath, getProperty, getPropertyType, getRotation, getTexture, getVectX, getVectY, getVectZ, id, id, informer, intersects, ISdrawStructureDrawFastIMPLEMENTED, paint, refPoint, replace, rotate, setAxes, setCFAST, setDisplayType, setOrig, setPainter, setPaintingAct, setPaintingActForClass, setPosition, setProperty, setRotation, setTexture, setVectX, setVectY, setVectZ, supporteTexture, T, texture, texture, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation
-
-
-
-
Constructor Detail
-
TRI
public TRI()
-
TRI
public TRI(Point3D[] s, java.awt.Color c)
-
-
Method Detail
-
getSommet
public StructureMatrix<Point3D> getSommet()
-
setSommet
public void setSommet(Point3D[] sommet)
-
normale
public Point3D normale()
-
setCouleur
public void setCouleur(java.awt.Color couleur)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classRepresentable
-
intersects
public Intersects.Intersection intersects(RtRay ray, RtIntersectInfo cii)
- Overrides:
intersects
in classRepresentable
-
getCentre
public Point3D getCentre()
-
intersects
public int intersects(TRI tri2)
-
declareProperties
public void declareProperties()
- Specified by:
declareProperties
in interfaceMatrixPropertiesObject
- Overrides:
declareProperties
in classRepresentable
-
-