edu.sdsc.mbt.viewers.GLViewerImpl
Class AffineCrossSection

java.lang.Object
  extended byedu.sdsc.mbt.viewers.GLViewerImpl.AffineCrossSection

public class AffineCrossSection
extends java.lang.Object

AffineCrossSection is the representation of a CrossSection objects tied to a given point in space.

Author:
Apostol Gramada

Constructor Summary
AffineCrossSection(IntrinsicCrossSection crossS, FrenetTrihedron ft)
          Build an AffineCrossSection from a given intrinsic CrossSection and a given FrenetTrihedron.
 
Method Summary
 Vector3f[] generateNormals(IntrinsicCrossSection cs, FrenetTrihedron trihedron)
           
 Point3f[] generatePoints(IntrinsicCrossSection cs, FrenetTrihedron trihedron)
           
 java.awt.Color[] getColors()
           
 FrenetTrihedron getFrenetTrihedron()
           
 Vector3f[] getNormals()
           
 Point3f[] getPointVertices()
           
 java.awt.Color getSideColor()
           
 int getVertexCount()
           
 void scale(Vector3f scale)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AffineCrossSection

public AffineCrossSection(IntrinsicCrossSection crossS,
                          FrenetTrihedron ft)
Build an AffineCrossSection from a given intrinsic CrossSection and a given FrenetTrihedron.

Method Detail

generatePoints

public Point3f[] generatePoints(IntrinsicCrossSection cs,
                                FrenetTrihedron trihedron)

generateNormals

public Vector3f[] generateNormals(IntrinsicCrossSection cs,
                                  FrenetTrihedron trihedron)

scale

public void scale(Vector3f scale)

getVertexCount

public int getVertexCount()

getSideColor

public java.awt.Color getSideColor()

getPointVertices

public Point3f[] getPointVertices()

getNormals

public Vector3f[] getNormals()

getColors

public java.awt.Color[] getColors()

getFrenetTrihedron

public FrenetTrihedron getFrenetTrihedron()