anar

Class PtVector

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

public class PtVector
extends Pt

This type of points represent a vector (a direction with a scalar) from an arbitrary point. Same as (direction - origin), the point direction is set at the origin and point in the direction.


Field Summary
 
Fields inherited from class anar.Pt
globalRender, render
 
Fields inherited from class anar.Parametric
meta
 
Constructor Summary
PtVector(Pt origin, Pt direction)
           
 
Method Summary
 
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

PtVector

public PtVector(Pt origin,
                Pt direction)
Parameters:
origin - - the relative origin of the Vector
direction - - the direction (end point) of the Vector.