nl.tudelft.goal.ut2004.visualizer.map
Class BlendVertex

Package class diagram package BlendVertex
java.lang.Object
  extended by nl.tudelft.goal.ut2004.visualizer.map.BlendVertex

public class BlendVertex
extends Object

Structure holding info for one vertex of blended polygon. Only color and position (in worldspace) for now.

Author:
Honza

Field Summary
protected  GlColor color
          Color of vertex
protected  cz.cuni.amis.pogamut.base3d.worldview.object.Location location
          Location of vertex in worldspace
 
Constructor Summary
BlendVertex(cz.cuni.amis.pogamut.base3d.worldview.object.Location location, Color color)
           
BlendVertex(cz.cuni.amis.pogamut.base3d.worldview.object.Location location, GlColor color)
           
 
Method Summary
 GlColor getColor()
          Return color of vertex.
 cz.cuni.amis.pogamut.base3d.worldview.object.Location getLocation()
          Return location of vertex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

protected GlColor color
Color of vertex


location

protected cz.cuni.amis.pogamut.base3d.worldview.object.Location location
Location of vertex in worldspace

Constructor Detail

BlendVertex

public BlendVertex(cz.cuni.amis.pogamut.base3d.worldview.object.Location location,
                   Color color)

BlendVertex

public BlendVertex(cz.cuni.amis.pogamut.base3d.worldview.object.Location location,
                   GlColor color)
Method Detail

getColor

public GlColor getColor()
Return color of vertex.

Returns:
color instance, not a copy. Change in will reflect in vertex.

getLocation

public cz.cuni.amis.pogamut.base3d.worldview.object.Location getLocation()
Return location of vertex

Returns:
actual location instance, not a copy. Changes made to the location will reflext in the vertex


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.