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 Point3D
protected Color
static float
static float
protected int
protected int
protected PObjet
protected double
Fields inherited from class one.empty3.library.Representable
CFAST, classPainters, DEFAULT_TEXTURE, defaultHashMapData, DISPLAY_ALL, 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 -
Method Summary
Modifier and TypeMethodDescriptionCoordPoint
(double a, double b) generate()
int
int
position()
void
setNumLatQuad
(int numLatQuad) void
setNumLongQuad
(int numLongQuad) boolean
texture()
toString()
Methods inherited from class one.empty3.library.Representable
become, calculerCurveT, calculerPointT, calculerSurfaceT, compareTo, computeCubic, computeSpherical, copy, declarations, declareProperties, draw, drawStructureDrawFast, getCFAST, getDeclaredDataStructure, getDeclaredLists, getDeclaredProperty, getDisplayType, getDisplayTypes, getOrientedPoint, getOrig, getPainter, getPath, getProperty, getPropertyType, getRotation, getTexture, getVectors, 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, 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:
generate
in 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:
supporteTexture
in classRepresentable
-
texture
- Overrides:
texture
in classRepresentable
-
toString
- Overrides:
toString
in classRepresentable
-