CubeTwister 2.0alpha142 2012-02-11

ch.randelshofer.geom3d
Interface Node3D

All Known Implementing Classes:
Scene3D, Shape3D, TransformNode3D

public interface Node3D

Represents a node of a three dimensional universe.

Version:
2.0 2009-01-04 Migrated to Java 1.5.
1.0 2008-09-16 Renamed from SceneNode to Node3D.
0.1 2000-02-28 Created.
Author:
Werner Randelshofer, Hausmatt 10, CH-6405 Immensee, Switzerland

Method Summary
 void addVisibleFacesTo(java.util.List<Face3D> v, Transform3D t, Point3D observer)
          Adds all faces to the vector that are visible when this Node3D is transformed by the given Transform3D.
 

Method Detail

addVisibleFacesTo

void addVisibleFacesTo(java.util.List<Face3D> v,
                       Transform3D t,
                       Point3D observer)
Adds all faces to the vector that are visible when this Node3D is transformed by the given Transform3D. The transform is applied to the faces before they are added to the list.

Parameters:
v - The list to which the faces are added.
t - This transform is applied to the faces before they are tested for visibility and added to the vector.
observer - Coords of the observer.

(c) Werner Randelshofer.
All rights reserved.