Package one.empty3.library
Class LineSegment
- java.lang.Object
-
- one.empty3.library.Representable
-
- one.empty3.library.core.nurbs.ParametricCurve
-
- one.empty3.library.LineSegment
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
,CurveElem
,TemporalComputedObject3D
,MatrixPropertiesObject
,XmlRepresentable
public class LineSegment extends ParametricCurve implements CurveElem
- 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 Modifier and Type Field Description double
SMALL_NUM
-
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 LineSegment()
LineSegment(Point3D p1, Point3D p2)
LineSegment(Point3D origin, Point3D extrem, ITexture texture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Point3D
calculerPoint3D(double d)
void
declareProperties()
Point3D
getExtremite()
java.lang.Double
getLength()
Point3D
getOrigine()
Representable
intersection(TRI tri)
void
setExtremite(Point3D extremite)
void
setOrigine(Point3D origine)
java.lang.String
toString()
-
Methods inherited from class one.empty3.library.core.nurbs.ParametricCurve
calculerCurveT, calculerNormale, 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, copy, declarations, draw, drawStructureDrawFast, getCFAST, getDeclaredDataStructure, getDeclaredLists, getDeclaredProperty, getDisplayType, getDisplayTypes, getOrientedPoint, 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, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation
-
-
-
-
Method Detail
-
calculerPoint3D
public Point3D calculerPoint3D(double d)
- Overrides:
calculerPoint3D
in classParametricCurve
-
getExtremite
public Point3D getExtremite()
-
setExtremite
public void setExtremite(Point3D extremite)
-
getOrigine
public Point3D getOrigine()
-
setOrigine
public void setOrigine(Point3D origine)
-
intersection
public Representable intersection(TRI tri)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classRepresentable
-
declareProperties
public void declareProperties()
- Specified by:
declareProperties
in interfaceMatrixPropertiesObject
- Overrides:
declareProperties
in classParametricCurve
-
getLength
public java.lang.Double getLength()
-
-