anar

Class Rect

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

public class Rect
extends Face


Field Summary
static boolean centered
           
 
Fields inherited from class anar.Face
globalRender, render
 
Fields inherited from class anar.Pts
meta, ptList
 
Constructor Summary
Rect(float width, float height)
           
Rect(Param width, Param height)
           
Rect(Pt origin, float width, float height)
           
Rect(Pt origin, Param width, Param height)
           
 
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
 

Field Detail

centered

public static boolean centered
Constructor Detail

Rect

public Rect(Param width,
            Param height)

Rect

public Rect(Pt origin,
            Param width,
            Param height)

Rect

public Rect(float width,
            float height)

Rect

public Rect(Pt origin,
            float width,
            float height)