edu.jhu.ece.iacl.jist.structures.geom
Class Polyhedron

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.structures.geom.Polyhedron

public class Polyhedron
extends java.lang.Object

Created by IntelliJ IDEA. User: bennett Date: Nov 20, 2005 Time: 9:43:48 AM To change this template use Options | File Templates. ************************************ Magnetic Resonance in Medicine Final Project Released: December 1, 2005 class Polyhedron Represent a triangulated 3D polyhedron. Copyright (C) 2005 Bennett Landman, bennett@bme.jhu.edu


Constructor Summary
Polyhedron(double[][] vertData, double[][] faceData)
          Instantiates a new polyhedron.
Polyhedron(java.util.Vector in)
          Instantiates a new polyhedron.
 
Method Summary
 boolean contains(PT p)
          Contains.
 IntersectResult firstIntersection(PT a, PT b)
          First intersection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Polyhedron

public Polyhedron(java.util.Vector in)
Instantiates a new polyhedron.

Parameters:
in - the in

Polyhedron

public Polyhedron(double[][] vertData,
                  double[][] faceData)
Instantiates a new polyhedron.

Parameters:
vertData - the vert data
faceData - the face data
Method Detail

contains

public boolean contains(PT p)
Contains.

Parameters:
p - the p
Returns:
true, if successful

firstIntersection

public IntersectResult firstIntersection(PT a,
                                         PT b)
First intersection.

Parameters:
a - the a
b - the b
Returns:
the intersect result