unwrap
Class USide

java.lang.Object
  extended by unwrap.USide

public class USide
extends java.lang.Object


Constructor Summary
USide(UPoint _p1, UPoint _p2, UTriangle _t)
          initialize side and give referred points and triangle
 
Method Summary
 float getAngle()
          get the angle between the two triangles
 UConnection getConnection()
          get the connection between the two triangles
 float getLength()
          get the side length
 UTriangle getNeighbor()
          get the side neighbor triangle
 UPoint getP1()
          get the first referred point
 UPoint getP2()
          get the second referred point
 UTriangle getTriangle()
          get the referred triangle
 void setLength(float _length)
          set the side length
 void setNeighbor(UTriangle _neighbor)
          set the neighbor triangle
 void setP1(UPoint _p1)
          set the first referred point
 void setP2(UPoint _p2)
          set the second referred point
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

USide

public USide(UPoint _p1,
             UPoint _p2,
             UTriangle _t)
initialize side and give referred points and triangle

Method Detail

getLength

public float getLength()
get the side length


getNeighbor

public UTriangle getNeighbor()
get the side neighbor triangle


setNeighbor

public void setNeighbor(UTriangle _neighbor)
set the neighbor triangle


getTriangle

public UTriangle getTriangle()
get the referred triangle


getP1

public UPoint getP1()
get the first referred point


getP2

public UPoint getP2()
get the second referred point


getAngle

public float getAngle()
get the angle between the two triangles


setP1

public void setP1(UPoint _p1)
set the first referred point


setP2

public void setP2(UPoint _p2)
set the second referred point


setLength

public void setLength(float _length)
set the side length


getConnection

public UConnection getConnection()
get the connection between the two triangles



processing library unwrappingLib by Martin Fuchs. (c) 2009