agile2d.geom
Class TriangleShape

java.lang.Object
  |
  +--agile2d.geom.PolygonShape
        |
        +--agile2d.geom.TriangleShape
All Implemented Interfaces:
Shape

public class TriangleShape
extends PolygonShape

Class TriangleShape

Version:
$Revision: 1.2 $
Author:
Jean-Daniel Fekete

Field Summary
 
Fields inherited from class agile2d.geom.PolygonShape
closed, origin, vertices
 
Constructor Summary
TriangleShape()
           
TriangleShape(float[] vertices, int index)
           
 
Method Summary
 int getSize()
           
 
Methods inherited from class agile2d.geom.PolygonShape
append, append, closePath, contains, contains, contains, contains, createTransformedShape, curveTo, getBounds, getBounds2D, getCurrentPoint, getPath, getPathIterator, getPathIterator, getWindingRule, getXAt, getYAt, intersects, intersects, isClosed, setWindingRule, setXAt, setYAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriangleShape

public TriangleShape()

TriangleShape

public TriangleShape(float[] vertices,
                     int index)
Method Detail

getSize

public int getSize()
Overrides:
getSize in class PolygonShape


Copyright © 2002 by University of Maryland, USA All rights reserved.