com.metsci.glimpse.support.polygon
Class SimpleVertexAccumulator

java.lang.Object
  extended by com.metsci.glimpse.support.polygon.SimpleVertexAccumulator
All Implemented Interfaces:
VertexAccumulator

public class SimpleVertexAccumulator
extends java.lang.Object
implements VertexAccumulator


Constructor Summary
SimpleVertexAccumulator()
           
 
Method Summary
 void addVertices(double[] vertexData, int nVertices)
           
 void addVertices(float[] vertexData, int nVertices)
           
 float[] getVertices()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleVertexAccumulator

public SimpleVertexAccumulator()
Method Detail

addVertices

public void addVertices(double[] vertexData,
                        int nVertices)
Specified by:
addVertices in interface VertexAccumulator

addVertices

public void addVertices(float[] vertexData,
                        int nVertices)
Specified by:
addVertices in interface VertexAccumulator

getVertices

public float[] getVertices()


Copyright © 2012 Metron, Inc.. All Rights Reserved.