anar

Class Pyramid

java.lang.Object
  extended by anar.Parametric
      extended by anar.Obj
          extended by anar.Pyramid
All Implemented Interfaces:
iTaggable, iTransformable
Direct Known Subclasses:
Cone

public class Pyramid
extends Obj


Field Summary
 
Fields inherited from class anar.Obj
faces, globalRender, lines, pts, render
 
Fields inherited from class anar.Parametric
meta
 
Constructor Summary
Pyramid(Face f, float h)
           
Pyramid(Face f, Param h)
           
Pyramid(Face f, Pt p)
           
 
Method Summary
 Pt apex()
           
 void apex(Pt p)
           
 Face baseFace()
           
 void baseFace(Face f)
           
 
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

Pyramid

public Pyramid(Face f,
               Pt p)

Pyramid

public Pyramid(Face f,
               Param h)

Pyramid

public Pyramid(Face f,
               float h)
Method Detail

baseFace

public void baseFace(Face f)

baseFace

public Face baseFace()

apex

public void apex(Pt p)

apex

public Pt apex()