anar

Class Square

java.lang.Object
  extended by anar.Parametric
      extended by anar.Pts
          extended by anar.Face
              extended by anar.Rect
                  extended by anar.Square
All Implemented Interfaces:
iTaggable, iTransformable

public class Square
extends Rect

Create a Square shape.


Field Summary
 
Fields inherited from class anar.Rect
centered
 
Fields inherited from class anar.Face
globalRender, render
 
Fields inherited from class anar.Pts
meta, ptList
 
Constructor Summary
Square(float width)
           
Square(Param width)
           
Square(Pt origin, float width)
           
Square(Pt origin, Param width)
           
 
Method Summary
 
Methods inherited from class anar.Face
add, add, add, add, add, add, add, apply, center, copy, draw, fill, fill, fill, fill, fill, fill, fillP5, isInside, isPlanar, lazyTriangulation, normal, normal, orphaned, render, rotateX, rotateX, rotateY, rotateY, rotateZ, rotateZ, scale, scale, scale, scale, scale, scale, scale, scale, scaleX, scaleX, scaleY, scaleY, scaleZ, scaleZ, stroke, stroke, stroke, stroke, stroke, toANSYS, toAutocad, toObjExporter, toObjExporter, toPovRay, toRadiance, toRhino, toRhinoAsObject, toSketchUp, translate, translate, translate, translate, translate, translate, translateX, translateX, translateY, translateY, translateZ, translateZ, triangulate
 
Methods inherited from class anar.Pts
add, addPointsFrom, area, area, bound, boundCenter, color, color, color, color, color, discretization, drawPoints, flip, get, getPt, inLine, iterator, length, numOfPts, pt, ptEnd, ptEnd, ptMod, ptOnCurve, remove, remove, render, render, reverse, set, set, setMeta, size, tag, tag, toMegaPOVLink, toPovRayAsArray, toPovRayAsCylinder, toRadianceAsCylinder, toString
 
Methods inherited from class anar.Parametric
child, 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

Square

public Square(Param width)
Parameters:
width -

Square

public Square(Pt origin,
              Param width)
Parameters:
origin -
width -

Square

public Square(float width)
Parameters:
width -

Square

public Square(Pt origin,
              float width)
Parameters:
origin -
width -