motris.model
Class ShadowHull.ShadowHullVertex

java.lang.Object
  extended bymotris.data.Description
      extended bymotris.model.SceneVertex
          extended bymotris.model.ShadowHull.ShadowHullVertex
Enclosing class:
ShadowHull

public static class ShadowHull.ShadowHullVertex
extends SceneVertex

Helper class encapsulating point with its connections in a graph

Author:
Hendrik Dahlkamp

Field Summary
 ImageVertex associatedImageVertex
           
 ShadowHull.ShadowHullVertex[] connectedPoints
           
(package private)  int indexInShadowPolygonList
           
(package private)  int indexInShadowVertexList
           
(package private)  boolean visited
           
 
Fields inherited from class motris.model.SceneVertex
coordinateDerivative, coordinates, indexInVertexList
 
Fields inherited from class motris.data.Description
 
Constructor Summary
ShadowHull.ShadowHullVertex(double[] xyz)
           
ShadowHull.ShadowHullVertex(Double4Vector _coordinates, java.lang.String id, java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 double getAngle(ShadowHull.ShadowHullVertex otherPt)
          Angle between this and the other Point in RAD
 java.lang.String toString()
           
 
Methods inherited from class motris.model.SceneVertex
project, transform
 
Methods inherited from class motris.data.Description
getDescription, getIdentifier, getName, setDescription, setIdentifier, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

connectedPoints

public ShadowHull.ShadowHullVertex[] connectedPoints

associatedImageVertex

public ImageVertex associatedImageVertex

indexInShadowPolygonList

int indexInShadowPolygonList

indexInShadowVertexList

int indexInShadowVertexList

visited

boolean visited
Constructor Detail

ShadowHull.ShadowHullVertex

public ShadowHull.ShadowHullVertex(double[] xyz)

ShadowHull.ShadowHullVertex

public ShadowHull.ShadowHullVertex(Double4Vector _coordinates,
                                   java.lang.String id,
                                   java.lang.String name)
Method Detail

equals

public boolean equals(java.lang.Object obj)

getAngle

public double getAngle(ShadowHull.ShadowHullVertex otherPt)
Angle between this and the other Point in RAD

Parameters:
otherPt -
Returns:
angle between the points

toString

public java.lang.String toString()
Overrides:
toString in class SceneVertex