com.metsci.glimpse.support.polygon
Class Polygon.Loop.LoopBuilder

java.lang.Object
  extended by com.metsci.glimpse.support.polygon.Polygon.Loop.LoopBuilder
All Implemented Interfaces:
VertexAccumulator
Enclosing class:
Polygon.Loop

public static final class Polygon.Loop.LoopBuilder
extends java.lang.Object
implements VertexAccumulator


Constructor Summary
Polygon.Loop.LoopBuilder()
           
 
Method Summary
 void addVertices(double[] vertexData, int nVertices)
           
 void addVertices(float[] vertexData, int nVertices)
           
 Polygon.Loop complete(Polygon.Interior side)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Polygon.Loop.LoopBuilder

public Polygon.Loop.LoopBuilder()
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

complete

public final Polygon.Loop complete(Polygon.Interior side)


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