java.lang.Object
de.grogra.nurbseditor2d.ObjectGeometry2D
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCurve
(NURBSCurve curve) static void
static String
static void
static void
static void
static void
static int
static Point3f
getCenter
(NURBSCurve nurbs) static Point2f[][]
static int
static float[]
getCurveData
(NURBSCurve nurbs) static NURBSCurve
getNURBSCurve
(int index) static Point3f
getPoint
(NURBSCurve nurbs, int i) static int
static Polygon[]
static int
getSize
(NURBSCurve nurbs) static int
static Polygon[]
static float
getWeight
(NURBSCurve curve, int index) static void
static void
initObject
(String type, Point2f p) static void
isMousePressed
(boolean b) static void
mouseWheelAction
(Point2f source, int rotation) static void
setCCounter
(int c) static void
setCurveCounter
(int c) static void
setCurveData
(NURBSCurve nurbs, float[] data) static void
setPoint
(NURBSCurve nurbs, Point3f p, int index) static void
setRCounter
(int c) static void
setTCounter
(int c) static void
setWeight
(NURBSCurve curve, int index, int weight)
-
Constructor Details
-
ObjectGeometry2D
public ObjectGeometry2D()
-
-
Method Details
-
getRectangles
-
getTriangles
-
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
-
initCurve
public static void initCurve() -
getNURBSCurve
-
setWeight
-
getWeight
-
getCurveData
-
setCurveData
-
getSize
-
addPoint
-
setPoint
-
getPoint
-
getCenter
-
isMousePressed
public static void isMousePressed(boolean b) -
mouseWheelAction
-
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
-