Module nurbs.editor

Class ObjectGeometry2D

java.lang.Object
de.grogra.nurbseditor2d.ObjectGeometry2D

public class ObjectGeometry2D extends Object
  • Constructor Details

    • ObjectGeometry2D

      public ObjectGeometry2D()
  • Method Details

    • getRectangles

      public static Polygon[] getRectangles()
    • getTriangles

      public static Polygon[] getTriangles()
    • getCircles

      public static Point2f[][] getCircles()
    • getCurveCounter

      public static int getCurveCounter()
    • setCurveCounter

      public static void setCurveCounter(int c)
    • deleteCurve

      public static void deleteCurve()
    • deleteRectangle

      public static void deleteRectangle()
    • deleteTriangle

      public static void deleteTriangle()
    • deleteCircle

      public static void deleteCircle()
    • addCurve

      public static void addCurve(NURBSCurve curve)
    • initCurve

      public static void initCurve()
    • getNURBSCurve

      public static NURBSCurve getNURBSCurve(int index)
    • setWeight

      public static void setWeight(NURBSCurve curve, int index, int weight)
    • getWeight

      public static float getWeight(NURBSCurve curve, int index)
    • getCurveData

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

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

      public static int getSize(NURBSCurve nurbs)
    • addPoint

      public static void addPoint(Point3f p)
    • setPoint

      public static void setPoint(NURBSCurve nurbs, Point3f p, int index)
    • getPoint

      public static Point3f getPoint(NURBSCurve nurbs, int i)
    • getCenter

      public static Point3f getCenter(NURBSCurve nurbs)
    • isMousePressed

      public static void isMousePressed(boolean b)
    • mouseWheelAction

      public static void mouseWheelAction(Point2f source, int rotation)
    • createRGGText

      public static String createRGGText()
    • getRCounter

      public static int getRCounter()
    • setRCounter

      public static void setRCounter(int c)
    • getTCounter

      public static int getTCounter()
    • setTCounter

      public static void setTCounter(int c)
    • getCCounter

      public static int getCCounter()
    • setCCounter

      public static void setCCounter(int c)
    • initObject

      public static void initObject(String type, Point2f p)