Package gov.nasa.worldwind.ogc.collada
Class ColladaUnit
- java.lang.Object
- 
- gov.nasa.worldwind.util.xml.AbstractXMLEventParser
- 
- gov.nasa.worldwind.ogc.collada.ColladaAbstractObject
- 
- gov.nasa.worldwind.ogc.collada.ColladaUnit
 
 
 
- 
- All Implemented Interfaces:
- XMLEventParser
 
 public class ColladaUnit extends ColladaAbstractObject Represents the COLLADA Unit element and provides access to its contents.
- 
- 
Field Summary- 
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParserCHARACTERS_CONTENT, fields, namespaceURI, parent
 
- 
 - 
Constructor SummaryConstructors Constructor Description ColladaUnit(java.lang.String ns)Construct an instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.DoublegetMeter()Indicates the value of the "meter" attribute of the unit.- 
Methods inherited from class gov.nasa.worldwind.ogc.collada.ColladaAbstractObjectgetLocalExtent, getRoot
 - 
Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParserallocate, doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setNamespaceURI, setParent
 
- 
 
- 
- 
- 
Method Detail- 
getMeterpublic java.lang.Double getMeter() Indicates the value of the "meter" attribute of the unit. This attribute is a scaling factor that converts length units in the COLLADA document to meters (1.0 for meters, 1000 for kilometers, etc.) See COLLADA spec pg. 5-18.- Returns:
- The scaling factor, or null if none is defined.
 
 
- 
 
-