Package one.empty3.library.core
Class Turtle
- java.lang.Object
-
- one.empty3.library.Representable
-
- one.empty3.library.core.nurbs.ParametricCurve
-
- one.empty3.library.core.Turtle
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
,TemporalComputedObject3D
,MatrixPropertiesObject
,XmlRepresentable
public class Turtle extends ParametricCurve
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class one.empty3.library.core.nurbs.ParametricCurve
ParametricCurve.Globals, ParametricCurve.Parameters
-
-
Field Summary
-
Fields inherited from class one.empty3.library.core.nurbs.ParametricCurve
connected, endU, INCR_NOR, INCR_TAN, startU
-
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 Turtle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearPointsBefore()
void
computeAll()
void
declareProperties()
void
down(double angle, double distance)
void
forwards(double angle, double distance)
Point3D
getDirection()
Point3D
getPosition()
void
left(double angle, double distance)
void
rear(double angle, double distance)
void
right(double angle, double distance)
void
rotate(double angleHorizLR, double angleVertDU, double angleForwardsSquiv)
void
up(double angle, double distance)
-
Methods inherited from class one.empty3.library.core.nurbs.ParametricCurve
calculerCurveT, calculerNormale, calculerPoint3D, calculerTangente, calculerVitesse3D, endU, endU, getConnected, getEndU, getGlobals, getIncrTAN, getIncrU, getParameters, getStartU, isConnected, morph, setConnected, setEndU, setGlobals, setIncrTAN, setIncrU, setParameters, setStartU, start, start, tangente
-
Methods inherited from class one.empty3.library.Representable
become, calculerPointT, calculerSurfaceT, compareTo, computeCubic, computeSpherical, copy, declarations, draw, drawStructureDrawFast, getCFAST, getDeclaredDataStructure, getDeclaredLists, getDeclaredProperty, getDisplayType, getDisplayTypes, getOrientedPoint, getOrig, getPainter, getPath, getProperty, getPropertyType, getRotation, getTexture, getVectX, getVectY, getVectZ, id, id, informer, intersects, intersects, ISdrawStructureDrawFastIMPLEMENTED, paint, refPoint, replace, rotate, setAxes, setCFAST, setDisplayType, setOrig, setPainter, setPaintingAct, setPaintingActForClass, setPosition, setProperty, setRotation, setTexture, setVectX, setVectY, setVectZ, supporteTexture, T, texture, texture, toString, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation
-
-
-
-
Method Detail
-
left
public void left(double angle, double distance)
-
right
public void right(double angle, double distance)
-
up
public void up(double angle, double distance)
-
down
public void down(double angle, double distance)
-
rear
public void rear(double angle, double distance)
-
forwards
public void forwards(double angle, double distance)
-
rotate
public void rotate(double angleHorizLR, double angleVertDU, double angleForwardsSquiv)
-
getPosition
public Point3D getPosition()
-
getDirection
public Point3D getDirection()
-
clearPointsBefore
public void clearPointsBefore()
-
declareProperties
public void declareProperties()
- Specified by:
declareProperties
in interfaceMatrixPropertiesObject
- Overrides:
declareProperties
in classParametricCurve
-
computeAll
public void computeAll()
-
-