Class Geometry
- java.lang.Object
- 
- gov.nasa.worldwind.avlist.AVListImpl
- 
- gov.nasa.worldwind.render.airspaces.Geometry
 
 
- 
 public class Geometry extends AVListImpl implements Cacheable 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classGeometry.CacheKey
 - 
Constructor SummaryConstructors Constructor Description Geometry()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear(int type)java.nio.BuffergetBuffer(int type)intgetCount(int type)intgetGLType(int type)intgetMode(int object)intgetSize(int type)longgetSizeInBytes()Retrieves the approximate size of this object in bytes.intgetStride(int type)voidsetData(int type, int size, int stride, int count, float[] src, int srcPos)voidsetData(int type, int size, int glType, int stride, int count, int[] src, int srcPos)voidsetData(int type, int size, int stride, int count, java.nio.FloatBuffer src)voidsetElementData(int mode, int count, int[] src)voidsetElementData(int mode, int count, java.nio.IntBuffer src)voidsetMode(int type, int mode)voidsetNormalData(int count, float[] src)voidsetNormalData(int count, java.nio.FloatBuffer src)voidsetTextureCoordData(int count, float[] src)voidsetTextureCoordData(int count, java.nio.FloatBuffer src)voidsetVertexData(int count, float[] src)voidsetVertexData(int count, java.nio.FloatBuffer src)- 
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpladdPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
 
- 
 
- 
- 
- 
Field Detail- 
TEXTUREpublic static final int TEXTURE - See Also:
- Constant Field Values
 
 - 
ELEMENTpublic static final int ELEMENT - See Also:
- Constant Field Values
 
 - 
VERTEXpublic static final int VERTEX - See Also:
- Constant Field Values
 
 - 
NORMALpublic static final int NORMAL - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getModepublic int getMode(int object) 
 - 
setModepublic void setMode(int type, int mode)
 - 
getCountpublic int getCount(int type) 
 - 
getSizepublic int getSize(int type) 
 - 
getGLTypepublic int getGLType(int type) 
 - 
getStridepublic int getStride(int type) 
 - 
getBufferpublic java.nio.Buffer getBuffer(int type) 
 - 
setDatapublic void setData(int type, int size, int glType, int stride, int count, int[] src, int srcPos)
 - 
setDatapublic void setData(int type, int size, int stride, int count, float[] src, int srcPos)
 - 
setDatapublic void setData(int type, int size, int stride, int count, java.nio.FloatBuffer src)
 - 
setElementDatapublic void setElementData(int mode, int count, int[] src)
 - 
setElementDatapublic void setElementData(int mode, int count, java.nio.IntBuffer src)
 - 
setVertexDatapublic void setVertexData(int count, float[] src)
 - 
setVertexDatapublic void setVertexData(int count, java.nio.FloatBuffer src)
 - 
setNormalDatapublic void setNormalData(int count, float[] src)
 - 
setNormalDatapublic void setNormalData(int count, java.nio.FloatBuffer src)
 - 
setTextureCoordDatapublic void setTextureCoordData(int count, float[] src)
 - 
setTextureCoordDatapublic void setTextureCoordData(int count, java.nio.FloatBuffer src)
 - 
clearpublic void clear(int type) 
 - 
getSizeInBytespublic long getSizeInBytes() Description copied from interface:CacheableRetrieves the approximate size of this object in bytes. Implementors are encouraged to calculate the exact size for smaller objects, but use approximate values for objects that include such large components that the approximation would produce an error so small that the extra computation would be wasteful.- Specified by:
- getSizeInBytesin interface- Cacheable
- Returns:
- this Cacheableobject's size in bytes
 
 
- 
 
-