anar

Class PtBary

java.lang.Object
  extended by anar.Parametric
      extended by anar.Pt
          extended by anar.PtBary
All Implemented Interfaces:
iArithmetic, iTaggable, iTransformable, XYZ
Direct Known Subclasses:
PtBaryRedux

public class PtBary
extends Pt


Field Summary
 
Fields inherited from class anar.Pt
globalRender, render
 
Fields inherited from class anar.Parametric
meta
 
Constructor Summary
PtBary(Pts pts)
          WHEN NO WEIGHT PROVIDED ASSUME THIS IS EQUAL (center)
PtBary(Pts pts, double[] w2)
           
PtBary(Pts pts, float[] w)
           
 
Method Summary
 void center()
           
 PtBary normalizeWeight()
           
 
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

PtBary

public PtBary(Pts pts)
WHEN NO WEIGHT PROVIDED ASSUME THIS IS EQUAL (center)

Parameters:
pts -

PtBary

public PtBary(Pts pts,
              float[] w)

PtBary

public PtBary(Pts pts,
              double[] w2)
Parameters:
pts -
w2 -
Method Detail

center

public void center()

normalizeWeight

public PtBary normalizeWeight()