anar

Class PtIntersect

java.lang.Object
  extended by anar.Parametric
      extended by anar.Pt
          extended by anar.PtIntersect
All Implemented Interfaces:
iArithmetic, iTaggable, iTransformable, XYZ

public class PtIntersect
extends Pt

finds the intersection of line ab and line cd. If the lines are skew the middle point of the line representing the shortest distance between the two lines is chosen, if they are parallel the point a is returned


Field Summary
 
Fields inherited from class anar.Pt
globalRender, render
 
Fields inherited from class anar.Parametric
meta
 
Constructor Summary
PtIntersect(Pt a, Pt b, Pt c, Pt d)
           
 
Method Summary
 Pt getInterA()
           
 Pt getInterB()
           
 Param getLambda()
           
 Param getMu()
           
 Param getSkewDist()
           
 
Methods inherited from class anar.Pt
apply, bound, boundCenter, copy, create, create, create, create, create, create, create, create, create, create, create, create, createNull, createRnd, createRnd, createRnd, divide, divide, divide, divide, dot, dot, draw, equalsPt, equalsPt, fill, fill, fill, fill, fill, fill, fillP5, getTransform, isOver, isOver, length, length, length, lengthNoSq, lengthSq, lengthSq, minus, minus, minus, minus, minus, multiply, multiply, multiply, multiply, multiply, onScreen, orphaned, plus, plus, plus, plus, plus, plus, render, rotateX, rotateX, rotateY, rotateY, rotateZ, rotateZ, scale, scale, scale, scale, scale, scale, scale, scale, scaleX, scaleX, scaleY, scaleY, scaleZ, scaleZ, set, set, set, set, set, set, set, set, set, setMeta, tag, tag, toANSYS, toAutocad, toAutocadPart, toMegaPPOV, toObjExporter, toObjExporterAsObject, toPovRay, toPovRayAsObject, toRadiance, toRadianceAsObject, toRhino, toRhinoAsObject, toRhinoAsVar, toShortString, toSingleName, toSketchUp, toSketchUpAsPoint3D, toString, toStringComa, toStringComaPovRay, toStringTab, toStringTabRad, translate, translate, translate, translate, translate, translate, translateX, translateX, translateY, translateY, translateZ, translateZ, x, x, x, y, y, y, z, z, z
 
Methods inherited from class anar.Parametric
child, get, getMeta, getPrimitive, parent, parent, parentList, parentList, parentList, parentListGraphViz, parentListGraphViz, parentListRecursive, parentListRecursiveGraphViz, parentToString, parentToStringRecursive, parentToStringRecursive, primitiveToString, replaceParent, replaceParent, replicate, tag
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PtIntersect

public PtIntersect(Pt a,
                   Pt b,
                   Pt c,
                   Pt d)
Method Detail

getLambda

public Param getLambda()

getMu

public Param getMu()

getInterA

public Pt getInterA()

getInterB

public Pt getInterB()

getSkewDist

public Param getSkewDist()