Package one.empty3.library.core.tribase
Class TubulaireN2
- java.lang.Object
-
- one.empty3.library.Representable
-
- one.empty3.library.core.nurbs.ParametricSurface
-
- one.empty3.library.core.tribase.TubulaireN2
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
,TemporalComputedObject3D
,MatrixPropertiesObject
,XmlRepresentable
public class TubulaireN2 extends ParametricSurface
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class one.empty3.library.core.nurbs.ParametricSurface
ParametricSurface.Globals, ParametricSurface.Parameters
-
-
Field Summary
Fields Modifier and Type Field Description protected StructureMatrix<FctXY>
diameterFunction
double
NORM_FCT_INCR
protected StructureMatrix<ParametricCurve>
soulCurve
double
TAN_FCT_INCR
-
Fields inherited from class one.empty3.library.core.nurbs.ParametricSurface
level, QUAD_NOT_COMPUTE_U2, QUAD_NOT_COMPUTE_V2, quad_not_computed, terminalU, terminalV, vectorsBak
-
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 TubulaireN2()
TubulaireN2(ParametricCurve curve, double diameter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Point3D[]
calculerAxes(double t, Point3D tangent, int iMin)
Point3D
calculerNormale(double t)
Point3D
calculerPoint3D(double u, double v)
Point3D
calculerTangente(double t)
void
declareProperties()
StructureMatrix<FctXY>
getDiameterFunction()
StructureMatrix<ParametricCurve>
getSoulCurve()
void
nbrAnneaux(int n)
void
nbrRotations(int r)
void
setDiameter(double d)
void
setSoulCurve(ParametricCurve b)
java.lang.String
toString()
Point3D[]
vectPerp(double t, double v)
-
Methods inherited from class one.empty3.library.core.nurbs.ParametricSurface
calculerNormale3D, calculerNormalePerp, calculerSurfaceT, calculerTangenteU, calculerTangenteV, calculerVitesse3D, getElementSurface, getEndU, getEndV, getIncrU, getIncrV, getNextU, getNextUV, getNextV, getNormale3D, getQuad_not_computed, getStartU, getStartV, getTerminalU, getTerminalV, incr1, incr2, setEndU, setEndV, setIncrU, setIncrV, setQuad_not_computed, setStartU, setStartV, setTerminalU, setTerminalV, velocity
-
Methods inherited from class one.empty3.library.Representable
become, calculerCurveT, calculerPointT, 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, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation
-
-
-
-
Field Detail
-
TAN_FCT_INCR
public double TAN_FCT_INCR
-
NORM_FCT_INCR
public double NORM_FCT_INCR
-
soulCurve
protected StructureMatrix<ParametricCurve> soulCurve
-
diameterFunction
protected StructureMatrix<FctXY> diameterFunction
-
-
Constructor Detail
-
TubulaireN2
public TubulaireN2()
-
TubulaireN2
public TubulaireN2(ParametricCurve curve, double diameter)
-
-
Method Detail
-
calculerNormale
public Point3D calculerNormale(double t)
-
calculerTangente
public Point3D calculerTangente(double t)
-
nbrAnneaux
public void nbrAnneaux(int n)
-
nbrRotations
public void nbrRotations(int r)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classParametricSurface
-
vectPerp
public Point3D[] vectPerp(double t, double v)
-
calculerPoint3D
public Point3D calculerPoint3D(double u, double v)
- Overrides:
calculerPoint3D
in classParametricSurface
-
declareProperties
public void declareProperties()
- Specified by:
declareProperties
in interfaceMatrixPropertiesObject
- Overrides:
declareProperties
in classParametricSurface
-
getSoulCurve
public StructureMatrix<ParametricCurve> getSoulCurve()
-
getDiameterFunction
public StructureMatrix<FctXY> getDiameterFunction()
-
setSoulCurve
public void setSoulCurve(ParametricCurve b)
-
setDiameter
public void setDiameter(double d)
-
-