java.lang.Object
de.grogra.math.SubdivisionHelper
de.grogra.imp3d.objects.NURBSSubdivisionHelper
de.grogra.imp3d.objects.NURBSPolygonizer
- All Implemented Interfaces:
BSpline.BezierPatchVisitor
-
Field Summary
Fields inherited from class de.grogra.math.SubdivisionHelper
degree, dimension, flatness, rational
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
subdivideCurve
(FloatList v, float[] tmp, int part, int depth) void
visit
(int uIndex, int vIndex, float[] data, int dimension, int uDegree, int vDegree, float uLeft, float uRight, float vLeft, float vRight, boolean uvPermuted) protected void
visitFlat
(float[] v, int index) Methods inherited from class de.grogra.imp3d.objects.NURBSSubdivisionHelper
setFlatness
Methods inherited from class de.grogra.math.SubdivisionHelper
isFlat, subdivide
-
Constructor Details
-
NURBSPolygonizer
-
-
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 interfaceBSpline.BezierPatchVisitor
-
subdivideCurve
- Overrides:
subdivideCurve
in classSubdivisionHelper
-
visitFlat
protected void visitFlat(float[] v, int index) - Specified by:
visitFlat
in classSubdivisionHelper
-