Module imp3d

Class NURBSPolygonizer

All Implemented Interfaces:
BSpline.BezierPatchVisitor

public class NURBSPolygonizer extends NURBSSubdivisionHelper implements BSpline.BezierPatchVisitor
  • Constructor Details

    • NURBSPolygonizer

      public NURBSPolygonizer(PolygonArray out, boolean rational, Pool pool, int flags)
  • Method Details

    • visit

      public void visit(int uIndex, int vIndex, float[] data, int dimension, int uDegree, int vDegree, float uLeft, float uRight, float vLeft, float vRight, boolean uvPermuted)
      Specified by:
      visit in interface BSpline.BezierPatchVisitor
    • subdivideCurve

      protected void subdivideCurve(FloatList v, float[] tmp, int part, int depth)
      Overrides:
      subdivideCurve in class SubdivisionHelper
    • visitFlat

      protected void visitFlat(float[] v, int index)
      Specified by:
      visitFlat in class SubdivisionHelper