com.robrohan.ruin.math3d
Class Line

java.lang.Object
  |
  +--com.robrohan.ruin.math3d.Line

public class Line
extends java.lang.Object


Constructor Summary
Line(Vertex start, Vertex end, float ceiling, float floor, int xTexOffs)
           
 
Method Summary
 void calculateTexLength()
           
 Line clip(float z1)
           
 Line flip()
           
 LineEdge getEnd()
           
 LineEdge getStart()
           
 float getTx1()
           
 float getTx2()
           
 Line oneWayClip(float z1)
           
 Line project(float xFovCalc, float yFovCalc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Line

public Line(Vertex start,
            Vertex end,
            float ceiling,
            float floor,
            int xTexOffs)
Method Detail

calculateTexLength

public void calculateTexLength()

getStart

public LineEdge getStart()

getEnd

public LineEdge getEnd()

getTx1

public float getTx1()

getTx2

public float getTx2()

project

public Line project(float xFovCalc,
                    float yFovCalc)

flip

public Line flip()

clip

public Line clip(float z1)

oneWayClip

public Line oneWayClip(float z1)