Module nurbs.editor

Class ObjectGeometry3D

java.lang.Object
de.grogra.nurbseditor3d.ObjectGeometry3D

public class ObjectGeometry3D extends Object
  • Constructor Details

    • ObjectGeometry3D

      public ObjectGeometry3D()
  • Method Details

    • initCurve

      public static void initCurve()
    • initSurface

      public static void initSurface()
    • addCurve

      public static void addCurve(NURBSCurve curve)
    • addSurface

      public static void addSurface(BSplineSurfaceImpl surface)
    • deleteCurve

      public static void deleteCurve()
    • deleteSurface

      public static void deleteSurface()
    • deleteQuad

      public static void deleteQuad()
    • deleteCone

      public static void deleteCone()
    • deleteSphere

      public static void deleteSphere()
    • deleteCylinder

      public static void deleteCylinder()
    • deleteFrustum

      public static void deleteFrustum()
    • addCurvePoint

      public static void addCurvePoint(Point4f p)
    • addSurfacePoint

      public static void addSurfacePoint(Point4f p)
    • getUCount

      public static int getUCount()
    • setUCount

      public static void setUCount(int spline, int c)
    • createNURBSSurface

      public static NURBSSurface createNURBSSurface(BSplineSurfaceImpl bspline)
    • getCurveSize

      public static int getCurveSize(NURBSCurve nurbs)
    • getSurfaceSize

      public static int getSurfaceSize(BSplineSurfaceImpl nurbs)
    • getCurveCounter

      public static int getCurveCounter()
    • setCurveCounter

      public static void setCurveCounter(int c)
    • getSurfaceCounter

      public static int getSurfaceCounter()
    • setSurfaceCounter

      public static void setSurfaceCounter(int c)
    • getCurvePoint

      public static Point4f getCurvePoint(NURBSCurve nurbs, int i)
    • setCurvePoint

      public static void setCurvePoint(NURBSCurve nurbs, Point4f p, int index)
    • getSurfacePoint

      public static Point4f getSurfacePoint(BSplineSurfaceImpl nurbs, int i)
    • setSurfacePoint

      public static void setSurfacePoint(BSplineSurfaceImpl nurbs, Point4f p, int index)
    • getNURBSCurve

      public static NURBSCurve getNURBSCurve(int index)
    • getNURBSSurface

      public static BSplineSurfaceImpl getNURBSSurface(int index)
    • getCurveCenter

      public static Point4f getCurveCenter(NURBSCurve nurbs)
    • getSurfaceCenter

      public static Point4f getSurfaceCenter(BSplineSurfaceImpl nurbs)
    • createVertexList

      public static VertexListImpl createVertexList(Point4f[] p)
    • getCurveData

      public static float[] getCurveData(NURBSCurve nurbs)
    • setCurveData

      public static void setCurveData(NURBSCurve nurbs, float[] data)
    • getSurfaceData

      public static float[] getSurfaceData(BSplineSurfaceImpl nurbs)
    • setSurfaceData

      public static void setSurfaceData(BSplineSurfaceImpl nurbs, float[] data)
    • setCurveWeight

      public static void setCurveWeight(NURBSCurve curve, int index, int weight)
    • getCurveWeight

      public static float getCurveWeight(NURBSCurve curve, int index)
    • setSurfaceWeight

      public static void setSurfaceWeight(BSplineSurfaceImpl surface, int index, int weight)
    • getSurfaceWeight

      public static float getSurfaceWeight(BSplineSurfaceImpl surface, int index)
    • createRGGText

      public static String createRGGText()
    • isValidRotation

      public static boolean isValidRotation(int yRotation, int zRotation)
    • comparePoints

      public static boolean comparePoints(Point3f a, Point3f b, int yRotation, int zRotation)
    • calculateDistance

      public static Vector3f calculateDistance(Point3f a, Point3f b, int yRotation, int zRotation)
    • isMousePressed

      public static void isMousePressed(boolean b)
    • mouseWheelAction

      public static void mouseWheelAction(Point3f source, int rotation, int yRotation, int zRotation)
    • getQuads

      public static Box[] getQuads()
    • getCones

      public static Cone[] getCones()
    • getSpheres

      public static Sphere[] getSpheres()
    • getCylinders

      public static Cylinder[] getCylinders()
    • getFrustums

      public static Frustum[] getFrustums()
    • getQuadCoordinates

      public static Point3f[] getQuadCoordinates()
    • getConeCoordinates

      public static Point3f[] getConeCoordinates()
    • getSphereCoordinates

      public static Point3f[] getSphereCoordinates()
    • getCylinderCoordinates

      public static Point3f[] getCylinderCoordinates()
    • getFrustumCoordinates

      public static Point3f[] getFrustumCoordinates()
    • getQCounter

      public static int getQCounter()
    • setQCounter

      public static void setQCounter(int c)
    • getCCounter

      public static int getCCounter()
    • setCCounter

      public static void setCCounter(int c)
    • getSCounter

      public static int getSCounter()
    • setSCounter

      public static void setSCounter(int c)
    • getCylCounter

      public static int getCylCounter()
    • setCylCounter

      public static void setCylCounter(int c)
    • getFCounter

      public static int getFCounter()
    • setFCounter

      public static void setFCounter(int c)
    • initObject

      public static void initObject(String type, Point3f p)