org.deegree.commons.index
Interface PositionableModel

All Known Implementing Classes:
BillBoard, RenderablePrototype, WorldGeometryObject, WorldObject, WorldRenderableObject

public interface PositionableModel

The PositionableModel defines methods on an object model for getting scene position and size information.

Version:
$Revision: 22955 $, $Date: 2010-03-10 12:54:52 +0100 (Wed, 10 Mar 2010) $
Author:
Rutger Bezema, last edited by: $Author: rbezema $

Method Summary
 float getErrorScalar()
           
 float getGroundLevel()
           
 float[] getModelBBox()
           
 float getObjectHeight()
           
 float[] getPosition()
           
 

Method Detail

getPosition

float[] getPosition()
Returns:
the position of the implementing class.

getModelBBox

float[] getModelBBox()
Returns:
the boundingbox of the model with float[0][0-3] the min, float[1][0-3] the max.

getErrorScalar

float getErrorScalar()
Returns:
a scalar which is represents the 'error' of this positionable.

getObjectHeight

float getObjectHeight()
Returns:
a scalar which represents the 'height' of this positionable.

getGroundLevel

float getGroundLevel()
Returns:
a scalar which represents the 'groundlevel' of this positionable.


Copyright © 2011. All Rights Reserved.