Package one.empty3.library.core.extra
Class SimpleSphere
java.lang.Object
one.empty3.library.Representable
one.empty3.library.core.extra.SimpleSphere
- All Implemented Interfaces:
Serializable,Comparable,TemporalComputedObject3D,MatrixPropertiesObject,TRIGenerable,XmlRepresentable
- Direct Known Subclasses:
SimpleSphereAvecTexture
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Point3Dprotected Colorstatic floatstatic floatprotected intprotected intprotected PObjetprotected doubleFields 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCoordPoint(double a, double b) generate()intintposition()voidsetNumLatQuad(int numLatQuad) voidsetNumLongQuad(int numLongQuad) booleantexture()toString()Methods inherited from class one.empty3.library.Representable
become, calculerCurveT, calculerPointT, calculerSurfaceT, compareTo, copy, declarations, declareProperties, draw, drawStructureDrawFast, getCFAST, getDeclaredDataStructure, getDeclaredLists, getDeclaredProperty, getDisplayType, getDisplayTypes, getPainter, getPath, getProperty, getPropertyType, getRotation, getTexture, id, id, informer, intersects, intersects, ISdrawStructureDrawFastIMPLEMENTED, paint, replace, rotate, setCFAST, setDisplayType, setPainter, setPaintingAct, setPaintingActForClass, setPosition, setProperty, setRotation, setTexture, T, texture, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation
-
Field Details
-
DMIN
public static float DMIN -
DMAX
public static float DMAX -
po
-
radius
protected double radius -
centre
-
color
-
numLatQuad
protected int numLatQuad -
numLongQuad
protected int numLongQuad
-
-
Constructor Details
-
SimpleSphere
-
-
Method Details
-
CoordPoint
-
generate
- Specified by:
generatein interfaceTRIGenerable
-
getNumLatQuad
public int getNumLatQuad() -
setNumLatQuad
public void setNumLatQuad(int numLatQuad) -
getNumLongQuad
public int getNumLongQuad() -
setNumLongQuad
public void setNumLongQuad(int numLongQuad) -
position
-
supporteTexture
public boolean supporteTexture()- Overrides:
supporteTexturein classRepresentable
-
texture
- Overrides:
texturein classRepresentable
-
toString
- Overrides:
toStringin classRepresentable
-