anar

Class Revolve

java.lang.Object
  extended by anar.Parametric
      extended by anar.Obj
          extended by anar.Revolve
All Implemented Interfaces:
iTaggable, iTransformable

public class Revolve
extends Obj

Object created from a rotation of a set of points around an abritrary axis.


Field Summary
 
Fields inherited from class anar.Obj
faces, globalRender, lines, pts, render
 
Fields inherited from class anar.Parametric
meta
 
Constructor Summary
Revolve(Pts pts, int steps)
          By default revolve is based on the Z axis
Revolve(Pts pts, Pt axisPt, int steps)
          Revolve is creating faces around an abritrary axis.
Revolve(Pts pts, Pt axisPtA, Pt axisPtB, int steps)
          Revolve is creating faces around an abritrary axis.
Revolve(Pts pts, Pts axis, int steps)
          Revolve is creating faces around an abritrary axis.
 
Method Summary
 
Methods inherited from class anar.Obj
add, add, add, add, addAllFaces, addAllPt, addAllPts, allPts, apply, area, area, bound, boundCenter, copy, draw, exportANSYS, exportANSYS, exportAutolisp, exportAutolisp, exportOBJ, exportOBJ, exportPovRAY, exportPovRAY, exportRadiance, exportRadiance, exportRhino, exportRhino, exportSketchUp, exportSketchUp, face, face, faceEnd, faceEnd, faceMod, fill, fill, fill, fill, fill, fill, fillP5, getFace, getLine, getPt, line, line, lineEnd, lineEnd, lineMod, numOfFaces, numOfLines, numOfPts, orphaned, pt, ptEnd, ptEnd, ptMod, removeFace, removeFace, removePt, removePt, removePts, removePts, render, render, render, render, rotateX, rotateX, rotateY, rotateY, rotateZ, rotateZ, scale, scale, scale, scale, scale, scale, scale, scale, scaleX, scaleX, scaleY, scaleY, scaleZ, scaleZ, set, set, set, setMeta, tag, tag, toANSYS, toAutocad, toAutocad, toObjExporter, toObjExporter, toObjExporter, toObjExporter, toPovRay, toPovRay, toRadiance, toRhino, toRhino, toSketchUp, toSketchUp, toString, translate, translate, translate, translate, translate, translate, translateX, translateX, translateY, translateY, translateZ, translateZ, triangulate
 
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

Revolve

public Revolve(Pts pts,
               Pt axisPtA,
               Pt axisPtB,
               int steps)
Revolve is creating faces around an abritrary axis.

Parameters:
pts - - Inputs points (line)
axisPtA - - First Pt of the rotation Axis
axisPtB - - Second Pt of the rotation Axis
steps - - Number of Divisions for a complete closed loop around the Axis

Revolve

public Revolve(Pts pts,
               Pt axisPt,
               int steps)
Revolve is creating faces around an abritrary axis.

Parameters:
pts - - Inputs points (line)
axisPt - - Point of axis of rotation from the center of the scene pt(0,0,0)
steps - - Number of Divisions for a complete closed loop around the Axis

Revolve

public Revolve(Pts pts,
               Pts axis,
               int steps)
Revolve is creating faces around an abritrary axis.

Parameters:
pts - - Inputs points (line)
axis - - Two first points of a set of points pt(0) pt(1)
steps - - Number of Divisions for a complete closed loop around the Axis

Revolve

public Revolve(Pts pts,
               int steps)
By default revolve is based on the Z axis

Parameters:
pts -
steps -