cct.oogl.java3d
Class OoglJava3d

java.lang.Object
  extended by cct.oogl.java3d.OoglJava3d

public class OoglJava3d
extends java.lang.Object

Title:

Description:

Copyright: Copyright (c) 2007

Company: ANU


Method Summary
static GraphicsObjectInterface getGraphicsObject(OOGL oogl_object)
           
static javax.vecmath.Vector3f getNormal(javax.vecmath.Point3f p1, javax.vecmath.Point3f p2, javax.vecmath.Point3f p3)
          Normal points toward the side from which the vertices p1, p2, and p3 appear in counterclockwise order.
static javax.media.j3d.TriangleArray getSurface(OOGL oogl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getGraphicsObject

public static GraphicsObjectInterface getGraphicsObject(OOGL oogl_object)

getSurface

public static javax.media.j3d.TriangleArray getSurface(OOGL oogl)

getNormal

public static javax.vecmath.Vector3f getNormal(javax.vecmath.Point3f p1,
                                               javax.vecmath.Point3f p2,
                                               javax.vecmath.Point3f p3)
Normal points toward the side from which the vertices p1, p2, and p3 appear in counterclockwise order.

Parameters:
p1 - Point3f
p2 - Point3f
p3 - Point3f
Returns:
Point3f - normal