public class IG extends java.lang.Object implements IServerI
IServer
,
IPanel
Modifier and Type | Field and Description |
---|---|
java.lang.String |
basePath
base file path for file I/O
|
protected static int |
currentId |
static java.lang.String |
GL |
static java.lang.String |
GL1
Processing Graphics using OpenGL to be put in size() method in Processing
|
static java.lang.String |
GL2 |
static java.lang.String |
GL3 |
protected static java.util.ArrayList<IG> |
iglist
multiple IG instances are stored in iglist and switched by IG static methods
in case of applet execution or other occasion but handling of multiple IG
instances and switching are not really tested.
|
java.lang.String |
inputFile |
igeo.io.IInputWrapper |
inputWrapper
wrapping inputs in different environment.
|
static java.lang.Object |
lock
static system variables
|
static IVec |
o
alias of origin vector
|
boolean |
online
if it's applet.
|
static IVec |
origin
origin vector.
|
java.lang.String |
outputFile |
static java.lang.String |
P
alias of IG.P3D
|
static java.lang.String |
P3
alias of IG.P3D
|
static java.lang.String |
P3D
Processing Graphics using P3D to be put in size() method in Processing; under development.
|
igeo.gui.IPanelI |
panel |
IServer |
server
object variables
|
static IVec |
x
alias of x-axis vector
|
static IVec |
xaxis
x-axis vector.
|
static IVec |
y
alias of y-axis vector
|
static IVec |
yaxis
y-axis vector.
|
static IVec |
z
alias of z-axis vector
|
static IVec |
zaxis
z-axis vector.
|
Constructor and Description |
---|
IG()
object methods
|
IG(igeo.gui.IPanelI p) |
Modifier and Type | Method and Description |
---|---|
static <T> T[] |
a(int length,
T... vals)
create array of any class.
|
static <T> T[] |
a(T... vals)
create array of any class.
|
static <T> T[][] |
a2(int length1,
int length2,
T... vals)
create 2D array of any class.
|
static <T> T[][] |
a2(int length2,
T... vals)
create 2D array of any class.
|
static <T> T[][][] |
a3(int length1,
int length2,
int length3,
T... vals)
create 3D array of any class.
|
static <T> T[][][] |
a3(int length2,
int length3,
T... vals)
create 3D array of any class.
|
static IArc |
arc(double x,
double y,
double z,
double startX,
double startY,
double startZ,
double angle) |
static IArc |
arc(IVecI center,
IVecI startPt,
double angle) |
static IArc |
arc(IVecI center,
IVecI startPt,
IDoubleI angle) |
static IArc |
arc(IVecI center,
IVecI startPt,
IVecI endPt,
boolean flipArcSide) |
static IArc |
arc(IVecI center,
IVecI normal,
IVecI startPt,
double angle)
arc
|
static IArc |
arc(IVecI center,
IVecI startPt,
IVecI endPt,
IBoolI flipArcSide) |
static IArc |
arc(IVecI center,
IVecI normal,
IVecI startPt,
IDoubleI angle) |
static IArc |
arc(IVecI center,
IVecI startPt,
IVecI midPt,
IVecI endPt,
IVecI normal) |
static <T> T[] |
arr(int length,
T... vals)
create array of any class.
|
static <T> T[] |
arr(T... vals)
create array of any class.
|
static <T> T[][] |
arr2(int length1,
int length2,
T... vals)
create 2D array of any class.
|
static <T> T[][] |
arr2(int length2,
T... vals)
create 2D array of any class.
|
static <T> T[][][] |
arr3(int length1,
int length2,
int length3,
T... vals)
create 3D array of any class.
|
static <T> T[][][] |
arr3(int length2,
int length3,
T... vals)
create 3D array of any class.
|
static <T> T[] |
array(int length,
T... vals)
create array of any class.
|
static <T> T[] |
array(T... vals)
create array of any class.
|
static <T> T[][] |
array2(int length1,
int length2,
T... vals)
create 2D array of any class.
|
static <T> T[][] |
array2(int length2,
T... vals)
create 2D array of any class.
|
static <T> T[][][] |
array3(int length1,
int length2,
int length3,
T... vals)
create 3D array of any class.
|
static <T> T[][][] |
array3(int length2,
int length3,
T... vals)
create 3D array of any class.
|
static void |
axon() |
static void |
axon(double x,
double y,
double z) |
static void |
axon(double x,
double y,
double z,
double axonRatio) |
static void |
axon(double x,
double y,
double z,
double yaw,
double pitch) |
static void |
axon(double x,
double y,
double z,
double yaw,
double pitch,
double axonRatio) |
static void |
axon(IVecI pos,
IVecI dir) |
static void |
axon(IVecI pos,
IVecI dir,
double axonRatio) |
static IVec |
axonDir()
get camera direction vector in axonometric view pane (same pane with perspective pane)
|
static void |
axonometric()
put axonometric view on the full screen inside the window
|
static void |
axonometric(double x,
double y,
double z) |
static void |
axonometric(double x,
double y,
double z,
double axonRatio) |
static void |
axonometric(double x,
double y,
double z,
double yaw,
double pitch) |
static void |
axonometric(double x,
double y,
double z,
double yaw,
double pitch,
double axonRatio) |
static void |
axonometric(IVecI pos,
IVecI dir) |
static void |
axonometric(IVecI pos,
IVecI dir,
double axonRatio) |
static igeo.gui.IPane |
axonometricPane()
axonometric pane is identical with perspective pane in IGridPanel
|
static void |
axonometricView() |
static void |
axonometricView(double x,
double y,
double z) |
static void |
axonometricView(double x,
double y,
double z,
double axonRatio) |
static void |
axonometricView(double x,
double y,
double z,
double yaw,
double pitch) |
static void |
axonometricView(double x,
double y,
double z,
double yaw,
double pitch,
double axonRatio) |
static void |
axonometricView(IVecI pos,
IVecI dir) |
static void |
axonometricView(IVecI pos,
IVecI dir,
double axonRatio) |
static double |
axonPitch()
get camera direction pitch angle in axonometric view pane (same pane with perspective pane)
|
static IVec |
axonPos()
get camera position in axonometric view pane (same pane with perspective pane)
|
static double |
axonRoll()
get camera direction roll angle in axonometric view pane (same pane with perspective pane)
|
static IVec |
axonTarget()
get camera target position in axonometric view pane (same pane with perspective pane)
|
static double |
axonYaw()
get camera direction yaw angle in axonometric view pane (same pane with perspective pane)
|
static void |
back()
put back view on the full screen inside the window
|
static void |
back(double x,
double z) |
static void |
back(double x,
double y,
double z) |
static void |
back(double x,
double y,
double z,
double axonRatio) |
static IVec |
backDir()
get camera direction vector in back view pane
|
static void |
background(java.awt.Color c) |
static void |
background(java.awt.Color c1,
java.awt.Color c2,
java.awt.Color c3,
java.awt.Color c4) |
static void |
background(double gray) |
static void |
background(double r,
double g,
double b) |
static void |
background(double gray1,
double gray2,
double gray3,
double gray4) |
static void |
background(double r1,
double g1,
double b1,
double r2,
double g2,
double b2,
double r3,
double g3,
double b3,
double r4,
double g4,
double b4) |
static void |
background(float gray) |
static void |
background(float r,
float g,
float b) |
static void |
background(float gray1,
float gray2,
float gray3,
float gray4) |
static void |
background(float r1,
float g1,
float b1,
float r2,
float g2,
float b2,
float r3,
float g3,
float b3,
float r4,
float g4,
float b4) |
static void |
background(IColor c1,
IColor c2,
IColor c3,
IColor c4) |
static void |
background(int gray) |
static void |
background(int r,
int g,
int b) |
static void |
background(int gray1,
int gray2,
int gray3,
int gray4) |
static void |
background(int r1,
int g1,
int b1,
int r2,
int g2,
int b2,
int r3,
int g3,
int b3,
int r4,
int g4,
int b4) |
static void |
background(java.lang.String imageFilename) |
static igeo.gui.IPane |
backPane()
back pane is identical with front pane in IGridPanel
|
static double |
backPitch()
get camera direction pitch angle in back view pane
|
static IVec |
backPos()
get camera position in back view pane
|
static double |
backRoll()
get camera direction roll angle in back view pane
|
static IVec |
backTarget()
get camera target position in back view pane
|
static void |
backView() |
static void |
backView(double x,
double z) |
static void |
backView(double x,
double y,
double z) |
static void |
backView(double x,
double y,
double z,
double axonRatio) |
static double |
backYaw()
get camera direction yaw angle in back view pane
|
static void |
bg(java.awt.Color c) |
static void |
bg(java.awt.Color c1,
java.awt.Color c2,
java.awt.Color c3,
java.awt.Color c4) |
static void |
bg(double gray) |
static void |
bg(double r,
double g,
double b) |
static void |
bg(double gray1,
double gray2,
double gray3,
double gray4) |
static void |
bg(double r1,
double g1,
double b1,
double r2,
double g2,
double b2,
double r3,
double g3,
double b3,
double r4,
double g4,
double b4) |
static void |
bg(float gray) |
static void |
bg(float r,
float g,
float b) |
static void |
bg(float gray1,
float gray2,
float gray3,
float gray4) |
static void |
bg(float r1,
float g1,
float b1,
float r2,
float g2,
float b2,
float r3,
float g3,
float b3,
float r4,
float g4,
float b4) |
static void |
bg(IColor c1,
IColor c2,
IColor c3,
IColor c4)
background color
|
static void |
bg(int gray) |
static void |
bg(int r,
int g,
int b) |
static void |
bg(int gray1,
int gray2,
int gray3,
int gray4) |
static void |
bg(int r1,
int g1,
int b1,
int r2,
int g2,
int b2,
int r3,
int g3,
int b3,
int r4,
int g4,
int b4) |
static void |
bg(java.lang.String imageFilename) |
static void |
blackBG() |
static void |
blueBG() |
static void |
bottom()
put bottom view on the full screen inside the window
|
static void |
bottom(double x,
double y) |
static void |
bottom(double x,
double y,
double z) |
static void |
bottom(double x,
double y,
double z,
double axonRatio) |
static IVec |
bottomDir()
get camera direction vector in bottom view pane
|
static igeo.gui.IPane |
bottomPane()
bottom pane is identical with top pane in IGridPanel
|
static double |
bottomPitch()
get camera direction pitch angle in bottom view pane
|
static IVec |
bottomPos()
get camera position in bottom view pane
|
static double |
bottomRoll()
get camera direction roll angle in bottom view pane
|
static IVec |
bottomTarget()
get camera target position in bottom view pane
|
static void |
bottomView() |
static void |
bottomView(double x,
double y) |
static void |
bottomView(double x,
double y,
double z) |
static void |
bottomView(double x,
double y,
double z,
double axonRatio) |
static double |
bottomYaw()
get camera direction yaw angle in bottom view pane
|
static IBox |
box(double x,
double y,
double z,
double size)
box
|
static IBox |
box(double x,
double y,
double z,
double width,
double height,
double depth) |
static IBox |
box(IVecI[][][] corners) |
static IBox |
box(IVecI origin,
double size) |
static IBox |
box(IVecI origin,
double width,
double height,
double depth) |
static IBox |
box(IVecI origin,
IVecI xvec,
IVecI yvec,
IVecI zvec) |
static IBox |
box(IVecI pt1,
IVecI pt2,
IVecI pt3,
IVecI pt4,
IVecI pt5,
IVecI pt6,
IVecI pt7,
IVecI pt8) |
static IBrep |
brep(int i)
get a brep in the current server
|
static int |
brepNum()
number of breps in the current server
|
static IBrep[] |
breps()
get all breps in the current server
|
static int |
buildVersion() |
static IBrep |
cap(ISurfaceI surface)
cap a surface which is cyclically closed in u or v direction.
|
static ICircle |
circle(double x,
double y,
double z,
double radius) |
static ICircle |
circle(double x,
double y,
double z,
double radius,
boolean approx) |
static ICircle |
circle(double x,
double y,
double z,
double xradius,
double yradius) |
static ICircle |
circle(double x,
double y,
double z,
double xradius,
double yradius,
boolean approx) |
static ICircle |
circle(IVecI center,
double radius) |
static ICircle |
circle(IVecI center,
double radius,
boolean approx) |
static ICircle |
circle(IVecI center,
double xradius,
double yradius) |
static ICircle |
circle(IVecI center,
double xradius,
double yradius,
boolean approx) |
static ICircle |
circle(IVecI center,
IDoubleI radius) |
static ICircle |
circle(IVecI center,
IDoubleI radius,
boolean approx) |
static ICircle |
circle(IVecI center,
IDoubleI xradius,
IDoubleI yradius) |
static ICircle |
circle(IVecI center,
IDoubleI xradius,
IDoubleI yradius,
boolean approx) |
static ICircle |
circle(IVecI center,
IVecI normal,
double radius) |
static ICircle |
circle(IVecI center,
IVecI normal,
double radius,
boolean approx) |
static ICircle |
circle(IVecI center,
IVecI normal,
double xradius,
double yradius) |
static ICircle |
circle(IVecI center,
IVecI normal,
double xradius,
double yradius,
boolean approx) |
static ICircle |
circle(IVecI center,
IVecI normal,
IDoubleI radius)
circle
|
static ICircle |
circle(IVecI center,
IVecI normal,
IDoubleI radius,
boolean approx) |
static ICircle |
circle(IVecI center,
IVecI normal,
IDoubleI xradius,
IDoubleI yradius) |
static ICircle |
circle(IVecI center,
IVecI normal,
IDoubleI xradius,
IDoubleI yradius,
boolean approx) |
static ICircle |
circle(IVecI center,
IVecI xradiusVec,
IVecI yradiusVec) |
static ICircle |
circle(IVecI center,
IVecI xradiusVec,
IVecI yradiusVec,
boolean approx) |
static ICircle |
circle(IVecI center,
IVecI normal,
IVecI rollDir,
double radius) |
static ICircle |
circle(IVecI center,
IVecI normal,
IVecI rollDir,
double radius,
boolean approx) |
static ICircle |
circle(IVecI center,
IVecI normal,
IVecI rollDir,
double xradius,
double yradius) |
static ICircle |
circle(IVecI center,
IVecI normal,
IVecI rollDir,
double xradius,
double yradius,
boolean approx) |
static ICircle |
circle(IVecI center,
IVecI normal,
IVecI rollDir,
IDoubleI radius) |
static ICircle |
circle(IVecI center,
IVecI normal,
IVecI rollDir,
IDoubleI radius,
boolean approx) |
static ICircle |
circle(IVecI center,
IVecI normal,
IVecI rollDir,
IDoubleI xradius,
IDoubleI yradius) |
static ICircle |
circle(IVecI center,
IVecI normal,
IVecI rollDir,
IDoubleI xradius,
IDoubleI yradius,
boolean approx) |
static void |
clear() |
void |
clearServer() |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
java.awt.Color c) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
java.awt.Color c,
double alpha) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
java.awt.Color c,
float alpha) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
java.awt.Color c,
int alpha) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
double gray) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
double gray,
double alpha) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
double r,
double g,
double b) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
double r,
double g,
double b,
double a) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
float gray) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
float gray,
float alpha) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
float r,
float g,
float b) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
float r,
float g,
float b,
float a) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
IColor c) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
IColor c,
double alpha) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
IColor c,
float alpha) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
IColor c,
int alpha) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
int gray) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
int gray,
int alpha) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
int r,
int g,
int b) |
static java.util.ArrayList<IObject> |
clr(java.util.ArrayList<IObject> objs,
int r,
int g,
int b,
int a) |
static IObject[] |
clr(IObject[] objs,
java.awt.Color c) |
static IObject[] |
clr(IObject[] objs,
java.awt.Color c,
double alpha) |
static IObject[] |
clr(IObject[] objs,
java.awt.Color c,
float alpha) |
static IObject[] |
clr(IObject[] objs,
java.awt.Color c,
int alpha) |
static IObject[] |
clr(IObject[] objs,
double gray) |
static IObject[] |
clr(IObject[] objs,
double gray,
double alpha) |
static IObject[] |
clr(IObject[] objs,
double r,
double g,
double b) |
static IObject[] |
clr(IObject[] objs,
double r,
double g,
double b,
double a) |
static IObject[] |
clr(IObject[] objs,
float gray) |
static IObject[] |
clr(IObject[] objs,
float gray,
float alpha) |
static IObject[] |
clr(IObject[] objs,
float r,
float g,
float b) |
static IObject[] |
clr(IObject[] objs,
float r,
float g,
float b,
float a) |
static IObject[] |
clr(IObject[] objs,
IColor c) |
static IObject[] |
clr(IObject[] objs,
IColor c,
double alpha) |
static IObject[] |
clr(IObject[] objs,
IColor c,
float alpha) |
static IObject[] |
clr(IObject[] objs,
IColor c,
int alpha) |
static IObject[] |
clr(IObject[] objs,
int gray) |
static IObject[] |
clr(IObject[] objs,
int gray,
int alpha) |
static IObject[] |
clr(IObject[] objs,
int r,
int g,
int b) |
static IObject[] |
clr(IObject[] objs,
int r,
int g,
int b,
int a) |
static IObject |
clr(IObject obj,
java.awt.Color c) |
static IObject |
clr(IObject obj,
java.awt.Color c,
double alpha) |
static IObject |
clr(IObject obj,
java.awt.Color c,
float alpha) |
static IObject |
clr(IObject obj,
java.awt.Color c,
int alpha) |
static IObject |
clr(IObject obj,
double gray) |
static IObject |
clr(IObject obj,
double gray,
double alpha) |
static IObject |
clr(IObject obj,
double r,
double g,
double b) |
static IObject |
clr(IObject obj,
double r,
double g,
double b,
double a) |
static IObject |
clr(IObject obj,
float gray) |
static IObject |
clr(IObject obj,
float gray,
float alpha) |
static IObject |
clr(IObject obj,
float r,
float g,
float b) |
static IObject |
clr(IObject obj,
float r,
float g,
float b,
float a) |
static IObject |
clr(IObject obj,
IColor c) |
static IObject |
clr(IObject obj,
IColor c,
double alpha) |
static IObject |
clr(IObject obj,
IColor c,
float alpha) |
static IObject |
clr(IObject obj,
IColor c,
int alpha) |
static IObject |
clr(IObject obj,
int gray) |
static IObject |
clr(IObject obj,
int gray,
int alpha) |
static IObject |
clr(IObject obj,
int r,
int g,
int b) |
static IObject |
clr(IObject obj,
int r,
int g,
int b,
int a) |
static ICylinder |
cone(IVecI pt1,
IVecI pt2,
double radius) |
static ICylinder |
cone(IVecI pt1,
IVecI pt2,
IDoubleI radius) |
static IVec[] |
copy(IVec... vecarray) |
static IVec2[] |
copy(IVec2... vecarray) |
static IVec2I[] |
copy(IVec2I... vecarray) |
static IVec4[] |
copy(IVec4... vecarray) |
static IVecI[] |
copy(IVecI... vecarray) |
static IVec[] |
cp(IVec... vecarray) |
static IVec2[] |
cp(IVec2... vecarray) |
static IVec2I[] |
cp(IVec2I... vecarray) |
static IVec4[] |
cp(IVec4... vecarray) |
static IVecI[] |
cp(IVecI... vecarray)
generic vector array copy
|
static ICurve |
crv(double[][] xyzValues) |
static ICurve |
crv(double[][] xyzValues,
boolean close) |
static ICurve |
crv(double[][] xyzValues,
int degree) |
static ICurve |
crv(double[][] xyzValues,
int degree,
boolean close) |
static ICurve |
crv(double x1,
double y1,
double z1,
double x2,
double y2,
double z2) |
static ICurve |
crv(ICurveI crv) |
static ICurve |
crv(int i)
get a curve in the current server; alias
|
static ICurve |
crv(IVecI pt)
this creates a line between a same point
|
static ICurve |
crv(IVecI[] cpts) |
static ICurve |
crv(IVecI[] cpts,
boolean close) |
static ICurve |
crv(IVecI[] cpts,
int degree) |
static ICurve |
crv(IVecI[] cpts,
int degree,
boolean close) |
static ICurve |
crv(IVecI[] cpts,
int degree,
double[] knots) |
static ICurve |
crv(IVecI[] cpts,
int degree,
double[] knots,
double ustart,
double uend)
curve short name : crv
|
static ICurve |
crv(IVecI pt1,
IVecI pt2) |
static int |
crvNum()
number of curves in the current server; alias
|
static ICurve[] |
crvs()
get all curves in the current server; alias
|
static IG |
cur()
Find the IG instance which is likely to be the current.
|
static IG |
current()
alias of cur()
|
static ICurve |
curve(double[][] xyzValues) |
static ICurve |
curve(double[][] xyzValues,
boolean close) |
static ICurve |
curve(double[][] xyzValues,
int degree) |
static ICurve |
curve(double[][] xyzValues,
int degree,
boolean close) |
static ICurve |
curve(double x1,
double y1,
double z1,
double x2,
double y2,
double z2) |
static ICurve |
curve(ICurveI crv) |
static ICurve |
curve(int i)
get a curve in the current server
|
static ICurve |
curve(IVecI pt)
this creates a line between a same point
|
static ICurve |
curve(IVecI[] cpts) |
static ICurve |
curve(IVecI[] cpts,
boolean close) |
static ICurve |
curve(IVecI[] cpts,
int degree) |
static ICurve |
curve(IVecI[] cpts,
int degree,
boolean close) |
static ICurve |
curve(IVecI[] cpts,
int degree,
double[] knots) |
static ICurve |
curve(IVecI[] cpts,
int degree,
double[] knots,
double ustart,
double uend) |
static ICurve |
curve(IVecI pt1,
IVecI pt2) |
static int |
curveNum()
number of curves in the current server
|
static ICurve[] |
curves()
get all curves in the current server
|
static ICylinder |
cylinder(IVecI pt1,
IVecI pt2,
double radius) |
static ICylinder |
cylinder(IVecI pt1,
IVecI pt2,
double radius1,
double radius2) |
static ICylinder |
cylinder(IVecI pt1,
IVecI pt2,
IDoubleI radius) |
static ICylinder |
cylinder(IVecI pt1,
IVecI pt2,
IDoubleI radius1,
IDoubleI radius2) |
static void |
darkBG() |
static void |
debug()
turns on all debug output
|
static void |
debug(int level)
alias of debugLevel
|
static int |
debugLevel()
returns the current debugLevel
|
static void |
debugLevel(int level)
change the debug level of IOut
|
static void |
defaultBG() |
static IG |
defaultThread()
object to be used to lock in "synchronized" statement
|
static void |
del(java.util.ArrayList<IObject> o) |
static void |
del(java.lang.Class cls) |
static void |
del(IObject o) |
static void |
del(IObject[] o) |
static void |
delAll() |
void |
deleteLayer(ILayer layer) |
void |
deleteLayer(java.lang.String layerName) |
static void |
delLayer(ILayer layer) |
static void |
delLayer(java.lang.String layerName) |
static void |
disableErrorPrefix()
disable error print prefix (executing method name)
|
static void |
disablePrintPrefix()
disble print prefix (executing method name)
|
static int |
duration()
get duration of dynamics update
|
static void |
duration(int dur)
set duration of dynamics update
|
IDynamicServer |
dynamicServer() |
static IDynamicServer |
dynamicThread()
object to be used to lock in "synchronized" statement
|
static ICircle |
ellipse(double x,
double y,
double z,
double xradius,
double yradius) |
static ICircle |
ellipse(IVecI center,
double xradius,
double yradius) |
static ICircle |
ellipse(IVecI center,
IDoubleI xradius,
IDoubleI yradius) |
static ICircle |
ellipse(IVecI center,
IVecI xradiusVec,
IVecI yradiusVec)
ellipse (alias of some of circle)
|
static void |
enabeErrorPrefix()
enable error print prefix (executing method name)
|
static void |
enabePrintPrefix()
enable print prefix (executing method name)
|
static boolean |
eq(double v1,
double v2)
create 3D array of any class.
|
static boolean |
eq(double v1,
double v2,
double tolerance) |
static void |
err()
Error print method only with header and new line.
|
static void |
err(java.lang.Object obj)
Error print method with header and new line.
|
static void |
error(java.lang.Object obj)
Error print method without header nor new line.
|
static ISurface |
extrude(ICurveI profile,
double extrudeDepth) |
static ISurface |
extrude(ICurveI profile,
ICurveI rail) |
static ISurface |
extrude(ICurveI profile,
IDoubleI extrudeDepth) |
static ISurface |
extrude(ICurveI profile,
IVecI extrudeDir) |
static ISurface |
extrude(IVecI[] profile,
double extrudeDepth)
one directional extrusion
|
static ISurface |
extrude(IVecI[] profile,
ICurve rail) |
static ISurface |
extrude(IVecI[] profile,
IDoubleI extrudeDepth) |
static ISurface |
extrude(IVecI[] profile,
int profileDeg,
boolean closeProfile,
double extrudeDepth) |
static ISurface |
extrude(IVecI[] profile,
int profileDeg,
boolean closeProfile,
ICurve rail) |
static ISurface |
extrude(IVecI[] profile,
int profileDeg,
boolean closeProfile,
IDoubleI extrudeDepth) |
static ISurface |
extrude(IVecI[] profile,
int profileDeg,
boolean closeProfile,
IVecI extrudeDir) |
static ISurface |
extrude(IVecI[] profile,
int profileDeg,
boolean closeProfile,
IVecI[] rail,
int railDeg,
boolean closeRail) |
static ISurface |
extrude(IVecI[] profile,
int profileDeg,
double extrudeDepth) |
static ISurface |
extrude(IVecI[] profile,
int profileDeg,
double[] profileKnots,
ICurve rail) |
static ISurface |
extrude(IVecI[] profile,
int profileDeg,
double[] profileKnots,
IVecI extrudeDir) |
static ISurface |
extrude(IVecI[] profile,
int profileDeg,
double[] profileKnots,
IVecI[] rail,
int railDeg,
double[] railKnots) |
static ISurface |
extrude(IVecI[] profile,
int profileDeg,
ICurve rail) |
static ISurface |
extrude(IVecI[] profile,
int profileDeg,
IDoubleI extrudeDepth) |
static ISurface |
extrude(IVecI[] profile,
int profileDeg,
IVecI extrudeDir) |
static ISurface |
extrude(IVecI[] profile,
int profileDeg,
IVecI[] rail,
int railDeg) |
static ISurface |
extrude(IVecI[] profile,
IVecI extrudeDir) |
static ISurface |
extrude(IVecI[] profile,
IVecI[] rail)
extrusion along path (profile control points are copied parallely)
|
static void |
fill()
set fill graphic mode
|
static void |
fillWire()
set fill+wireframe graphic mode
|
static void |
fillWireframe()
set fill+wireframe graphic mode
|
static void |
fillWithWireframe()
set fill+wireframe graphic mode
|
static ICurve |
flatten(ICurveI curve) |
static ICurve |
flatten(ICurveI curve,
IVecI planeDir) |
static ICurve |
flatten(ICurveI curve,
IVecI planeDir,
IVecI planePt)
flattening
|
static ISurface |
flatten(ISurfaceI surface) |
static ISurface |
flatten(ISurfaceI surface,
IVecI planeDir) |
static ISurface |
flatten(ISurfaceI surface,
IVecI planeDir,
IVecI planePt) |
static void |
focus() |
void |
focusView() |
java.lang.String |
formatOutputFilePath(java.lang.String file) |
static void |
front()
put front view on the full screen inside the window
|
static void |
front(double x,
double z) |
static void |
front(double x,
double y,
double z) |
static void |
front(double x,
double y,
double z,
double axonRatio) |
static IVec |
frontDir()
get camera direction vector in front view pane
|
static igeo.gui.IPane |
frontPane()
put front pane on the full screen inside the window if the panel is IGridPanel
|
static double |
frontPitch()
get camera direction pitch angle in front view pane
|
static IVec |
frontPos()
get camera position in front view pane
|
static double |
frontRoll()
get camera direction roll angle in front view pane
|
static IVec |
frontTarget()
get camera target position in front view pane
|
static void |
frontView() |
static void |
frontView(double x,
double z) |
static void |
frontView(double x,
double y,
double z) |
static void |
frontView(double x,
double y,
double z,
double axonRatio) |
static double |
frontYaw()
get camera direction yaw angle in front view pane
|
static IGeometry |
geo(int i)
get a geometry in the current server
|
static IGeometry[] |
geometries()
get all geometry objects in the current server
|
static IGeometry |
geometry(int i)
get a geometry in the current server
|
static int |
geometryNum()
number of geometries in the cubrrent server
|
static int |
geoNum()
alias of geometryNum()
|
static IGeometry[] |
geos()
get all geometry objects in the current server
|
ILayer[] |
getAllLayers() |
java.lang.String |
getBasePath() |
IBrep |
getBrep(int i) |
int |
getBrepNum() |
IBrep[] |
getBreps() |
ICurve |
getCurve(int i) |
int |
getCurveNum() |
ICurve[] |
getCurves() |
int |
getDuration() |
IGeometry[] |
getGeometries() |
IGeometry |
getGeometry(int i) |
int |
getGeometryNum() |
static IG |
getIG(igeo.gui.IPanelI owner)
Find IG instance linked with the specified IPanel instance.
|
java.lang.String |
getInputFile() |
ILayer |
getLayer(int i) |
ILayer |
getLayer(java.lang.String layerName) |
int |
getLayerNum() |
IMesh |
getMesh(int i) |
IMesh[] |
getMeshes() |
int |
getMeshNum() |
IObject |
getObject(java.lang.Class cls,
int i) |
IObject |
getObject(int i) |
int |
getObjectNum() |
int |
getObjectNum(java.lang.Class cls) |
IObject[] |
getObjects() |
IObject[] |
getObjects(java.lang.Class cls) |
java.lang.String |
getOutputFile() |
IPoint |
getPoint(int i) |
int |
getPointNum() |
IPoint[] |
getPoints() |
IPolycurve |
getPolycurve(int i) |
int |
getPolycurveNum() |
IPolycurve[] |
getPolycurves() |
ISurface |
getSurface(int i) |
int |
getSurfaceNum() |
ISurface[] |
getSurfaces() |
IText |
getText(int i) |
int |
getTextNum() |
IText[] |
getTexts() |
int |
getTime() |
static IVec |
getViewDir(igeo.gui.IPane pane)
get camera direction out of pane
|
static double |
getViewPitch(igeo.gui.IPane pane)
get camera directio pitch angle out of pane
|
static IVec |
getViewPos(igeo.gui.IPane pane)
get camera position out of pane
|
static double |
getViewRoll(igeo.gui.IPane pane)
get camera directio roll angle out of pane
|
static IVec |
getViewTarget(igeo.gui.IPane pane)
get camera target position out of pane
|
static double |
getViewYaw(igeo.gui.IPane pane)
get camera directio yaw angle out of pane
|
static void |
graphicMode(igeo.gui.IGraphicMode mode) |
static igeo.gui.IPane |
gridPane(int xindex,
int yindex)
put the specified pane on the full screen inside the window if the panel is IGridPanel with 2x2 grid
|
static java.util.ArrayList<IObject> |
hide(java.util.ArrayList<IObject> objs) |
static IObject |
hide(IObject obj) |
static IObject[] |
hide(IObject[] objs) |
static java.util.ArrayList<IObject> |
hsb(java.util.ArrayList<IObject> objs,
double h,
double s,
double b) |
static java.util.ArrayList<IObject> |
hsb(java.util.ArrayList<IObject> objs,
double h,
double s,
double b,
double a) |
static java.util.ArrayList<IObject> |
hsb(java.util.ArrayList<IObject> objs,
float h,
float s,
float b) |
static java.util.ArrayList<IObject> |
hsb(java.util.ArrayList<IObject> objs,
float h,
float s,
float b,
float a) |
static IObject[] |
hsb(IObject[] objs,
double h,
double s,
double b) |
static IObject[] |
hsb(IObject[] objs,
double h,
double s,
double b,
double a) |
static IObject[] |
hsb(IObject[] objs,
float h,
float s,
float b) |
static IObject[] |
hsb(IObject[] objs,
float h,
float s,
float b,
float a) |
static IObject |
hsb(IObject obj,
double h,
double s,
double b) |
static IObject |
hsb(IObject obj,
double h,
double s,
double b,
double a) |
static IObject |
hsb(IObject obj,
float h,
float s,
float b) |
static IObject |
hsb(IObject obj,
float h,
float s,
float b,
float a) |
static IG |
init()
Initialize whole IG system in non-graphic mode.
|
static IG |
init(igeo.gui.IPanelI owner)
Initialize whole IG system in graphic mode.
|
static void |
initRand() |
static void |
initRand(int seed)
random number
|
static void |
initRandByTime() |
static java.lang.String |
inputFile() |
static void |
inputFile(java.lang.String filename) |
boolean |
isDynamicsRunning()
check if dynamics is running
|
static boolean |
isGL() |
boolean |
isOnline() |
static boolean |
isRunning()
check if dynamics is running
|
static ILayer |
layer(int i) |
static ILayer |
layer(java.lang.String layerName) |
static int |
layerNum() |
static ILayer[] |
layers() |
static void |
left()
put left view on the full screen inside the window
|
static void |
left(double y,
double z) |
static void |
left(double x,
double y,
double z) |
static void |
left(double x,
double y,
double z,
double axonRatio) |
static IVec |
leftDir()
get camera direction vector in left view pane
|
static igeo.gui.IPane |
leftPane()
left pane is identical with front pane in IGridPanel
|
static double |
leftPitch()
get camera direction pitch angle in left view pane
|
static IVec |
leftPos()
get camera position in left view pane
|
static double |
leftRoll()
get camera direction roll angle in left view pane
|
static IVec |
leftTarget()
get camera target position in left view pane
|
static void |
leftView() |
static void |
leftView(double y,
double z) |
static void |
leftView(double x,
double y,
double z) |
static void |
leftView(double x,
double y,
double z,
double axonRatio) |
static double |
leftYaw()
get camera direction yaw angle in left view pane
|
static void |
lightBG() |
static ICurve |
line(double x1,
double y1,
double z1,
double x2,
double y2,
double z2) |
static ICurve |
line(IVecI pt)
this creates a line between a same point
|
static ICurve |
line(IVecI pt1,
IVecI pt2)
line : type of curve.
|
static ISurface |
loft(ICurveI[] curves)
loft
|
static ISurface |
loft(ICurveI[] curves,
int deg) |
static ISurface |
loft(ICurveI[] curves,
int deg,
boolean close) |
static ISurface |
loft(ICurveI curve1,
ICurveI curve2) |
static ISurface |
loft(IVecI[][] pts) |
static ISurface |
loft(IVecI[][] pts,
boolean closeLoft,
boolean closePts) |
static ISurface |
loft(IVecI[][] pts,
int loftDeg,
int ptsDeg) |
static ISurface |
loft(IVecI[][] pts,
int loftDeg,
int ptsDeg,
boolean closeLoft,
boolean closePts) |
static ISurface |
loft(IVecI[] pts1,
IVecI[] pts2) |
static ISurface |
loft(IVecI[] pts1,
IVecI[] pts2,
boolean closePts) |
static ISurface |
loft(IVecI[] pts1,
IVecI[] pts2,
int ptsDeg) |
static ISurface |
loft(IVecI[] pts1,
IVecI[] pts2,
int ptsDeg,
boolean closePts) |
static ISurface |
loft(IVecI[] pts1,
IVecI[] pts2,
IVecI[] pts3) |
static ISurface |
loft(IVecI[] pts1,
IVecI[] pts2,
IVecI[] pts3,
boolean closePts) |
static ISurface |
loft(IVecI[] pts1,
IVecI[] pts2,
IVecI[] pts3,
int loftDeg,
int ptsDeg) |
static ISurface |
loft(IVecI[] pts1,
IVecI[] pts2,
IVecI[] pts3,
int loftDeg,
int ptsDeg,
boolean closePts) |
static ISurface |
loftX(ICurveI[] curves)
loft with sorted curves in x
|
static ISurface |
loftX(ICurveI[] curves,
int deg) |
static ISurface |
loftX(ICurveI[] curves,
int deg,
boolean close) |
static ISurface |
loftY(ICurveI[] curves)
loft with sorted curves in y
|
static ISurface |
loftY(ICurveI[] curves,
int deg) |
static ISurface |
loftY(ICurveI[] curves,
int deg,
boolean close) |
static ISurface |
loftZ(ICurveI[] curves)
loft with sorted curves in z
|
static ISurface |
loftZ(ICurveI[] curves,
int deg) |
static ISurface |
loftZ(ICurveI[] curves,
int deg,
boolean close) |
static int |
majorVersion() |
static IMesh |
mesh() |
static IMesh |
mesh(java.util.ArrayList<ICurveI> lines) |
static IMesh |
mesh(java.util.ArrayList<IVertex> v,
java.util.ArrayList<IEdge> e,
java.util.ArrayList<IFace> f) |
static IMesh |
mesh(double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double x3,
double y3,
double z3) |
static IMesh |
mesh(double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double x3,
double y3,
double z3,
double x4,
double y4,
double z4) |
static IMesh |
mesh(ICurveI[] lines) |
static IMesh |
mesh(IFace[] fcs) |
static IMesh |
mesh(IMesh m) |
static IMesh |
mesh(IMeshGeo m) |
static IMesh |
mesh(int i)
get a mesh in the current server
|
static IMesh |
mesh(IVec[] vert) |
static IMesh |
mesh(IVec[][] matrix) |
static IMesh |
mesh(IVec[][] matrix,
boolean triangulateDir) |
static IMesh |
mesh(IVec[][] matrix,
int unum,
int vnum,
boolean triangulateDir) |
static IMesh |
mesh(IVecI v1,
IVecI v2,
IVecI v3) |
static IMesh |
mesh(IVecI v1,
IVecI v2,
IVecI v3,
IVecI v4) |
static IMesh |
mesh(IVertex[] vert) |
static IMesh |
mesh(IVertex[] vtx,
IEdge[] edg,
IFace[] fcs) |
static IMesh |
mesh(IVertex v1,
IVertex v2,
IVertex v3) |
static IMesh |
mesh(IVertex v1,
IVertex v2,
IVertex v3,
IVertex v4) |
static IMesh |
meshBox(double x,
double y,
double z,
double size)
creating mesh box
|
static IMesh |
meshBox(double x,
double y,
double z,
double width,
double height,
double depth) |
static IMesh |
meshBox(IVecI[][][] corners) |
static IMesh |
meshBox(IVecI origin,
double size) |
static IMesh |
meshBox(IVecI origin,
double width,
double height,
double depth) |
static IMesh |
meshBox(IVecI origin,
IVecI xvec,
IVecI yvec,
IVecI zvec) |
static IMesh |
meshBox(IVecI pt1,
IVecI pt2,
IVecI pt3,
IVecI pt4,
IVecI pt5,
IVecI pt6,
IVecI pt7,
IVecI pt8) |
static IMesh |
meshBox(IVertex[][][] corners) |
static IMesh[] |
meshes()
get all meshes in the current server
|
static IMesh |
meshFromTriangles(IVecI[][] trianglePts)
create polygon mesh out of array of triangle points which is array of 3 IVec
|
static int |
meshNum()
number of meshes in the current server
|
static IMesh |
meshPolygonStick(ICurveI railCurve,
double radius,
int polygonVertexNum) |
static IMesh |
meshPolygonStick(ICurveI railCurve,
double radius,
int polygonVertexNum,
int railSegmentNum) |
static IMesh |
meshPolygonStick(IVecI pt1,
IVecI pt2,
double radius1,
double radius2,
int polygonVertexNum)
creates closed mesh stick with polygon profile
|
static IMesh |
meshPolygonStick(IVecI pt1,
IVecI pt2,
double radius1,
double radius2,
int polygonVertexNum,
IVecI heightDir)
creates closed mesh stick with polygon profile
|
static IMesh |
meshPolygonStick(IVecI pt1,
IVecI pt2,
double radius,
int polygonVertexNum)
creates closed mesh stick with polygon profile
|
static IMesh |
meshPolygonStick(IVecI pt1,
IVecI pt2,
double radius,
int polygonVertexNum,
IVecI heightDir)
creates closed mesh stick with polygon profile
|
static IMesh |
meshRectPipe(IVecI pt1,
IVecI pt2,
double width,
double height)
creating open mesh pipe.
|
static IMesh |
meshRectPipe(IVecI pt1,
IVecI pt2,
double width,
double height,
IVecI heightDir)
creating open mesh pipe with 2 points and with and height
|
static IMesh |
meshRectPipe(IVecI pt1,
IVecI pt2,
IVecI udir,
IVecI vdir)
open pipe mesh
|
static IMesh |
meshRectStick(IVecI pt1,
IVecI pt2,
double width,
double height)
creating closed mesh stick.
|
static IMesh |
meshRectStick(IVecI pt1,
IVecI pt2,
double width,
double height,
IVecI heightDir)
creating closed mesh stick with 2 points and with and height
|
static IMesh |
meshRectStick(IVecI pt1,
IVecI pt2,
IVecI udir,
IVecI vdir) |
static IMesh |
meshRoundStick(ICurveI railCurve,
double radius)
round stick
|
static IMesh |
meshRoundStick(ICurveI railCurve,
double radius,
int railSegmentNum)
round stick
|
static IMesh |
meshRoundStick(IVecI pt1,
IVecI pt2,
double radius)
round stick (alias of stick())
|
static IMesh |
meshRoundStick(IVecI pt1,
IVecI pt2,
double radius1,
double radius2)
round stick (alias of stick())
|
static IMesh |
meshSphere(IVecI center,
double radius)
mesh sphere
|
static IMesh |
meshSphere(IVecI center,
double zradius,
double xyradius)
mesh sphere
|
static IMesh |
meshSphere(IVecI center,
double zradius,
double xyradius,
int resolution)
mesh sphere
|
static IMesh |
meshSphere(IVecI center,
double radius,
int resolution)
mesh sphere
|
static IMesh |
meshSphere(IVecI center,
IVecI topDir)
mesh sphere
|
static IMesh |
meshSphere(IVecI center,
IVecI topDir,
double radius)
mesh sphere
|
static IMesh |
meshSphere(IVecI center,
IVecI topDir,
double topRadius,
double sideRadius)
mesh sphere
|
static IMesh |
meshSphere(IVecI center,
IVecI topDir,
double topRadius,
double sideRadius,
int resolution)
mesh sphere
|
static IMesh |
meshSphere(IVecI center,
IVecI topDir,
double radius,
int resolution)
mesh sphere
|
static IMesh |
meshSphere(IVecI center,
IVecI topDir,
int resolution)
mesh sphere
|
static IMesh |
meshSphere(IVecI center,
IVecI topDir,
IVecI sideDir)
mesh sphere
|
static IMesh |
meshSphere(IVecI center,
IVecI topDir,
IVecI sideDir,
int resolution)
mesh sphere
|
static IMesh |
meshSquarePipe(IVecI pt1,
IVecI pt2,
double width)
creating open mesh stick.
|
static IMesh |
meshSquarePipe(IVecI pt1,
IVecI pt2,
double width,
IVecI heightDir)
creating open mesh pipe with square profile.
|
static IMesh |
meshSquareStick(ICurveI railCurve,
double radius)
square stick
|
static IMesh |
meshSquareStick(ICurveI railCurve,
double radius,
int railSegmentNum)
square stick
|
static IMesh |
meshSquareStick(IVecI pt1,
IVecI pt2,
double width)
creating closed mesh stick.
|
static IMesh |
meshSquareStick(IVecI pt1,
IVecI pt2,
double width,
IVecI heightDir)
creating closed mesh stick with square profile.
|
static IMesh |
meshStick(ICurveI railCurve,
double radius)
round stick
|
static IMesh |
meshStick(ICurveI railCurve,
double radius,
int railSegmentNum)
round stick
|
static IMesh |
meshStick(IVecI pt1,
IVecI pt2,
double radius)
round stick
|
static IMesh |
meshStick(IVecI pt1,
IVecI pt2,
double radius1,
double radius2)
round stick
|
static IMesh |
meshTetrahedron(IVecI[] vtx) |
static IMesh |
meshTetrahedron(IVecI v1,
IVecI v2,
IVecI v3,
IVecI v4) |
static IMesh |
meshTetrahedron(IVertex[] vtx) |
static IMesh |
meshTetrahedron(IVertex v1,
IVertex v2,
IVertex v3,
IVertex v4) |
static IMeshType |
meshType()
get the current mesh type (class of vertex, edge, face)
|
static void |
meshType(IMeshType type)
set mesh type (class of vertex, edge, face)
|
static int |
minorVersion() |
static void |
noGraphic() |
static IObject |
obj(java.lang.Class cls,
int i)
get a object of the specified class in the current server; alias
|
static IObject |
obj(int i)
get a object in the current server; alias
|
static IObject |
object(java.lang.Class cls,
int i)
get a object of the specified class in the current server
|
static IObject |
object(int i)
get a object in the current server
|
static int |
objectNum()
number of objects in the current server
|
static int |
objectNum(java.lang.Class cls)
number of objects of the specified class in the current server
|
static IObject[] |
objects()
get all objects in the current server
|
static IObject[] |
objects(java.lang.Class cls)
get all objects of the specified class in the current server
|
static int |
objNum()
number of objects in the current server; alias
|
static int |
objNum(java.lang.Class cls)
number of objects of the specified class in the current server; alias
|
static IObject[] |
objs()
get all objects in the current server; alias
|
static IObject[] |
objs(java.lang.Class cls)
get all objects of the specified class in the current server; alias
|
static ICurve |
offset(ICurveI curve,
double width) |
static ICurve |
offset(ICurveI curve,
double width,
IVecI planeNormal)
offset curve
|
static ICurve |
offset(ICurveI curve,
IDoubleI width) |
static ICurve |
offset(ICurveI curve,
IDoubleI width,
IVecI planeNormal) |
static IVec[] |
offset(IVec[] pts,
double width)
offset points.
|
static IVec[] |
offset(IVec[] pts,
double width,
boolean close) |
static IVec[] |
offset(IVec[] pts,
double width,
IVecI planeNormal)
offset points with specific normal direction
|
static IVec[] |
offset(IVec[] pts,
double width,
IVecI[] normals)
offset points with specific normal vector for each point
|
static IVec[] |
offset(IVec[] pts,
double width,
IVecI[] normals,
boolean close) |
static IVec[] |
offset(IVec[] pts,
double width,
IVecI planeNormal,
boolean close) |
static IVecI[] |
offset(IVecI[] pts,
double width) |
static IVecI[] |
offset(IVecI[] pts,
double width,
boolean close) |
static IVecI[] |
offset(IVecI[] pts,
double width,
IVecI planeNormal) |
static IVecI[] |
offset(IVecI[] pts,
double width,
IVecI[] normals) |
static IVecI[] |
offset(IVecI[] pts,
double width,
IVecI[] normals,
boolean close) |
static IVecI[] |
offset(IVecI[] pts,
double width,
IVecI planeNormal,
boolean close) |
static IVecI[] |
offset(IVecI[] pts,
IDoubleI width) |
static IVecI[] |
offset(IVecI[] pts,
IDoubleI width,
boolean close) |
static IVecI[] |
offset(IVecI[] pts,
IDoubleI width,
IVecI planeNormal) |
static IVecI[] |
offset(IVecI[] pts,
IDoubleI width,
IVecI[] normals) |
static IVecI[] |
offset(IVecI[] pts,
IDoubleI width,
IVecI[] normals,
boolean close) |
static IVecI[] |
offset(IVecI[] pts,
IDoubleI width,
IVecI planeNormal,
boolean close) |
static IObject[] |
open(java.lang.String file) |
java.util.ArrayList<IObject> |
openFile(java.lang.String file) |
static java.lang.String |
outputFile() |
static void |
outputFile(java.lang.String filename)
to set the name first and save later (likely by key event)
|
static void |
p()
Print method only with header and new line.
|
static void |
p(java.lang.Object obj)
Print method with header and new line.
|
static void |
pause()
pause dynamics update.
|
void |
pauseDynamics() |
static boolean |
pct(double percent) |
static boolean |
percent(double percent) |
static void |
pers() |
static void |
pers(double perspectiveAngle) |
static void |
pers(double x,
double y,
double z) |
static void |
pers(double x,
double y,
double z,
double perspectiveAngle) |
static void |
pers(double x,
double y,
double z,
double yaw,
double pitch) |
static void |
pers(double x,
double y,
double z,
double yaw,
double pitch,
double perspectiveAngle) |
static void |
pers(IVecI pos,
IVecI dir) |
static void |
pers(IVecI pos,
IVecI dir,
double perspectiveAngle) |
static IVec |
persDir()
get camera direction vector in perspective view pane
|
static void |
perspective()
put perspective view on the full screen inside the window
|
static void |
perspective(double perspectiveAngle)
put perspective view on the full screen inside the window
|
static void |
perspective(double x,
double y,
double z) |
static void |
perspective(double x,
double y,
double z,
double perspectiveAngle) |
static void |
perspective(double x,
double y,
double z,
double yaw,
double pitch) |
static void |
perspective(double x,
double y,
double z,
double yaw,
double pitch,
double perspectiveAngle) |
static void |
perspective(IVecI pos,
IVecI dir) |
static void |
perspective(IVecI pos,
IVecI dir,
double perspectiveAngle) |
static igeo.gui.IPane |
perspectivePane()
put perspective pane on the full screen inside the window if the panel is IGridPanel
|
static void |
perspectiveView() |
static void |
perspectiveView(double perspectiveAngle) |
static void |
perspectiveView(double x,
double y,
double z) |
static void |
perspectiveView(double x,
double y,
double z,
double perspectiveAngle) |
static void |
perspectiveView(double x,
double y,
double z,
double yaw,
double pitch) |
static void |
perspectiveView(double x,
double y,
double z,
double yaw,
double pitch,
double perspectiveAngle) |
static void |
perspectiveView(IVecI pos,
IVecI dir) |
static void |
perspectiveView(IVecI pos,
IVecI dir,
double perspectiveAngle) |
static double |
persPitch()
get camera direction pitch angle in perspective view pane
|
static IVec |
persPos()
get camera position in perspective view pane
|
static double |
persRoll()
get camera direction roll angle in perspective view pane
|
static IVec |
persTarget()
get camera target position in perspective view pane
|
static double |
persYaw()
get camera direction yaw angle in perspective view pane
|
static ISurface |
pipe(ICurveI rail,
double radius) |
static ISurface |
pipe(IVecI[] rail,
double radius) |
static ISurface |
pipe(IVecI[] rail,
int railDeg,
boolean close,
double radius) |
static ISurface |
pipe(IVecI[] rail,
int railDeg,
double radius) |
static ISurface |
pipe(IVecI[] rail,
int railDeg,
double[] railKnots,
double radius) |
static ISurface |
pipe(IVecI pt1,
IVecI pt2,
double radius)
pipe
|
static ISurface |
plane(double x,
double y,
double z,
double xwidth,
double yheight) |
static ISurface |
plane(IVecI corner,
double xwidth,
double yheight) |
static ISurface |
plane(IVecI corner,
IVecI widthVec,
IVecI heightVec) |
static IPoint |
point(double x,
double y) |
static IPoint |
point(double x,
double y,
double z) |
static IPoint |
point(int i)
get a point in the current server
|
static IPoint |
point(IVec v) |
static IPoint |
point(IVecI v)
point creation
|
static ISurface |
pointLoft(ICurveI profile,
IVecI center)
surface by lofting profile into the specified point
|
static ISurface |
pointLoft(IVecI[] cps,
int deg,
double[] knots,
IVecI center)
surface by lofting profile into the specified point
|
static int |
pointNum()
number of points in the current server
|
static IPoint[] |
points()
get all points in the current server
|
static IPolycurve |
polycurve(int i)
get a polycurve in the current server
Note that IPolycurve contains multiple ICurve and they show up in curves() as well.
|
static int |
polycurveNum()
number of polycurves in the current server.
|
static IPolycurve[] |
polycurves()
get all curves in the current server
Note that IPolycurve contains multiple ICurve and they show up in curves() as well.
|
static void |
print(java.lang.Object obj)
Print method without header nor new line
This is a wrapper of IOut.p(), which is
also a wrapper of System.out.print().
|
static ISurface |
profileSurface(ICurveI profile)
surface defined by closed profile.if the profile is flat, planar surface is created.
|
static ISurface |
profileSurface(IVecI[] cps,
int deg,
double[] knots)
surface defined by closed profile.if the profile is flat, planar surface is created.
|
static IPoint |
pt(double x,
double y) |
static IPoint |
pt(double x,
double y,
double z) |
static IPoint |
pt(int i)
get a point in the current server; alias
|
static IPoint |
pt(IVec v) |
static IPoint |
pt(IVecI v)
point creation shorter name
|
static int |
ptNum()
number of points in the current server; alias
|
static IPoint[] |
pts()
get all points in the current server; alias
|
static ISurface |
radialSurface(ICurveI profile)
surface by lofting profile into the center of the profile
|
static ISurface |
radialSurface(IVecI[] cps,
int deg,
double[] knots)
surface by lofting profile into the center of the profile
|
static double |
rand() |
static double |
rand(double max) |
static double |
rand(double min,
double max) |
static float |
rand(float max) |
static float |
rand(float min,
float max) |
static int |
rand(int max) |
static int |
rand(int min,
int max) |
static <T> T |
rand(java.util.List<T> array) |
static <T> T |
rand(T[] array) |
static IColor |
randClr() |
static IColor |
randClr(float alpha) |
static IColor |
randClr(int alpha) |
static IColor |
randColor() |
static IColor |
randColor(float alpha) |
static IColor |
randColor(int alpha) |
static IVec |
randDir() |
static IVec |
randDir(double len) |
static IVec |
randDir(IVecI perpendicularAxis) |
static IVec |
randDir(IVecI perpendicularAxis,
double length) |
static IColor |
randGray() |
static IColor |
randGray(float alpha) |
static IColor |
randGray(int alpha) |
static boolean |
randPct(double percent) |
static boolean |
randPercent(double percent) |
static IVec |
randPt() |
static IVec |
randPt(double max) |
static IVec |
randPt(double min,
double max) |
static IVec |
randPt(double maxx,
double maxy,
double maxz) |
static IVec |
randPt(double minx,
double miny,
double maxx,
double maxy) |
static IVec |
randPt(double minx,
double miny,
double minz,
double maxx,
double maxy,
double maxz) |
static double |
rate()
alias of updateRate()
|
static void |
rate(double second)
alias of updateRate()
|
static ICurve |
rect(double x,
double y,
double z,
double xwidth,
double yheight) |
static ICurve |
rect(IVecI corner,
double xwidth,
double yheight)
rectangle
|
static ICurve |
rect(IVecI corner,
IVecI width,
IVecI height) |
static ISurface |
rectPipe(ICurveI rail,
double width,
double height) |
static ISurface |
rectPipe(ICurveI rail,
double left,
double right,
double bottom,
double top) |
static ISurface |
rectPipe(IVecI[] rail,
double width,
double height) |
static ISurface |
rectPipe(IVecI[] rail,
double left,
double right,
double bottom,
double top) |
static ISurface |
rectPipe(IVecI[] rail,
int deg,
boolean close,
double width,
double height) |
static ISurface |
rectPipe(IVecI[] rail,
int deg,
boolean close,
double left,
double right,
double bottom,
double top) |
static ISurface |
rectPipe(IVecI[] rail,
int deg,
double[] knots,
double width,
double height) |
static ISurface |
rectPipe(IVecI[] rail,
int deg,
double[] knots,
double left,
double right,
double bottom,
double top) |
static ISurface |
rectPipe(IVecI[] rail,
int deg,
double width,
double height) |
static ISurface |
rectPipe(IVecI[] rail,
int deg,
double left,
double right,
double bottom,
double top) |
static ISurface |
rectPipe(IVecI pt1,
IVecI pt2,
double width,
double height) |
static ISurface |
rectPipe(IVecI pt1,
IVecI pt2,
double left,
double right,
double bottom,
double top) |
static ISurface |
rectPipe(IVecI pt1,
IVecI pt2,
IVecI widthDir,
double width,
double height) |
static ISurface |
rectPipe(IVecI pt1,
IVecI pt2,
IVecI widthDir,
double left,
double right,
double bottom,
double top) |
static void |
resume()
resume dynamics update.
|
void |
resumeDynamics() |
static int |
revisionVersion() |
static void |
right()
put right view on the full screen inside the window
|
static void |
right(double y,
double z) |
static void |
right(double x,
double y,
double z) |
static void |
right(double x,
double y,
double z,
double axonRatio) |
static IVec |
rightDir()
get camera direction vector in right view pane
|
static igeo.gui.IPane |
rightPane()
put right pane on the full screen inside the window if the panel is IGridPanel
|
static double |
rightPitch()
get camera direction pitch angle in right view pane
|
static IVec |
rightPos()
get camera position in right view pane
|
static double |
rightRoll()
get camera direction roll angle in right view pane
|
static IVec |
rightTarget()
get camera target position in right view pane
|
static void |
rightView() |
static void |
rightView(double y,
double z) |
static void |
rightView(double x,
double y,
double z) |
static void |
rightView(double x,
double y,
double z,
double axonRatio) |
static double |
rightYaw()
get camera direction yaw angle in right view pane
|
boolean |
save() |
static boolean |
save(java.lang.String file) |
boolean |
saveFile(java.lang.String file) |
static void |
seed(int seed) |
static void |
seedByTime() |
static void |
seedRand() |
IServer |
server() |
java.lang.String |
setBasePath(java.lang.String path) |
static void |
setCurrent(IG ig) |
static void |
setCurrent(igeo.gui.IPanelI owner) |
void |
setDuration(int dur) |
void |
setInputFile(java.lang.String filename) |
void |
setInputWrapper(igeo.io.IInputWrapper wrapper) |
void |
setOnline(boolean f) |
void |
setOutputFile(java.lang.String filename) |
static void |
setPrint(IPrintWrapper pw)
redirect print to print wrapper
|
static void |
setPrint(IPrintWrapper pw,
IPrintWrapper errpw)
redirect print to print wrapper
|
static void |
setPrint(IPrintWrapper pw,
IPrintWrapper errpw,
IPrintWrapper debugpw)
redirect print to print wrapper
|
static void |
setPrintStream(java.io.PrintStream ps)
redirect print to print stream
|
static void |
setPrintStream(java.io.PrintStream ps,
java.io.PrintStream errps)
redirect print to print stream
|
static void |
setPrintStream(java.io.PrintStream ps,
java.io.PrintStream errps,
java.io.PrintStream debugps)
redirect print to print stream
|
void |
setTime(int tm) |
static java.util.ArrayList<IObject> |
show(java.util.ArrayList<IObject> objs) |
static IObject |
show(IObject obj) |
static IObject[] |
show(IObject[] objs) |
static void |
showTime()
enable printing time to console
|
static void |
showTime(boolean flag)
enable/disable printing time to console
|
static double |
speed()
alias of updateRate()
|
static void |
speed(double second)
alias of updateRate()
|
static ISphere |
sphere(double x,
double y,
double z,
double radius)
sphere
|
static ISphere |
sphere(IVecI center,
double radius) |
static ISphere |
sphere(IVecI center,
IDoubleI radius) |
static ISurface |
squarePipe(ICurveI rail,
double size) |
static ISurface |
squarePipe(IVecI[] rail,
double size) |
static ISurface |
squarePipe(IVecI[] rail,
int deg,
boolean close,
double size) |
static ISurface |
squarePipe(IVecI[] rail,
int deg,
double size) |
static ISurface |
squarePipe(IVecI[] rail,
int deg,
double[] knots,
double size) |
static ISurface |
squarePipe(IVecI pt1,
IVecI pt2,
double size) |
static ISurface |
squarePipe(IVecI pt1,
IVecI pt2,
IVecI widthDir,
double size) |
static ISurface |
srf(double[][][] xyzValues) |
static ISurface |
srf(double[][][] xyzValues,
boolean closeU,
boolean closeV) |
static ISurface |
srf(double[][][] xyzValues,
int udeg,
int vdeg) |
static ISurface |
srf(double[][][] xyzValues,
int udeg,
int vdeg,
boolean closeU,
boolean closeV) |
static ISurface |
srf(double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double x3,
double y3,
double z3) |
static ISurface |
srf(double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double x3,
double y3,
double z3,
double x4,
double y4,
double z4) |
static ISurface |
srf(ICurveI trimCurve)
planar surface with trim
|
static ISurface |
srf(ICurveI[] trimCurves) |
static ISurface |
srf(ICurveI outerTrimCurve,
ICurveI innerTrimCurve) |
static ISurface |
srf(ICurveI outerTrimCurve,
ICurveI[] innerTrimCurves) |
static ISurface |
srf(int i)
get a surface in the current server; alias
|
static ISurface |
srf(ISurfaceI srf) |
static ISurface |
srf(IVecI[] trimCrvPts) |
static ISurface |
srf(IVecI[][] cpts) |
static ISurface |
srf(IVecI[][] cpts,
boolean closeU,
boolean closeV) |
static ISurface |
srf(IVecI[][] cpts,
int udegree,
int vdegree) |
static ISurface |
srf(IVecI[][] cpts,
int udegree,
int vdegree,
boolean closeU,
boolean closeV) |
static ISurface |
srf(IVecI[][] cpts,
int udegree,
int vdegree,
boolean closeU,
double[] vk) |
static ISurface |
srf(IVecI[][] cpts,
int udegree,
int vdegree,
double[] uk,
boolean closeV) |
static ISurface |
srf(IVecI[][] cpts,
int udegree,
int vdegree,
double[] uknots,
double[] vknots) |
static ISurface |
srf(IVecI[][] cpts,
int udegree,
int vdegree,
double[] uknots,
double[] vknots,
double ustart,
double uend,
double vstart,
double vend)
srf : short name of surfaces
|
static ISurface |
srf(IVecI[] trimCrvPts,
int trimCrvDeg) |
static ISurface |
srf(IVecI[] trimCrvPts,
int trimCrvDeg,
double[] trimCrvKnots) |
static ISurface |
srf(IVecI pt1,
IVecI pt2,
IVecI pt3) |
static ISurface |
srf(IVecI pt1,
IVecI pt2,
IVecI pt3,
IVecI pt4) |
static int |
srfNum()
number of surfaces in the current server; alias
|
static ISurface[] |
srfs()
get all surfaces in the current server; alias
|
static void |
start()
start dynamics update.
|
void |
startDynamics() |
static void |
stop()
stop dynamics update.
|
void |
stopDynamics() |
static ISurface |
surface(double[][][] xyzValues) |
static ISurface |
surface(double[][][] xyzValues,
boolean closeU,
boolean closeV) |
static ISurface |
surface(double[][][] xyzValues,
int udeg,
int vdeg) |
static ISurface |
surface(double[][][] xyzValues,
int udeg,
int vdeg,
boolean closeU,
boolean closeV) |
static ISurface |
surface(double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double x3,
double y3,
double z3) |
static ISurface |
surface(double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double x3,
double y3,
double z3,
double x4,
double y4,
double z4) |
static ISurface |
surface(ICurveI trimCurve) |
static ISurface |
surface(ICurveI[] trimCurves) |
static ISurface |
surface(ICurveI outerTrimCurve,
ICurveI innerTrimCurve) |
static ISurface |
surface(ICurveI outerTrimCurve,
ICurveI[] innerTrimCurves) |
static ISurface |
surface(int i)
get a surface in the current server
|
static ISurface |
surface(ISurfaceI srf) |
static ISurface |
surface(IVecI[] trimCrvPts) |
static ISurface |
surface(IVecI[][] cpts) |
static ISurface |
surface(IVecI[][] cpts,
boolean closeU,
boolean closeV) |
static ISurface |
surface(IVecI[][] cpts,
int udegree,
int vdegree) |
static ISurface |
surface(IVecI[][] cpts,
int udegree,
int vdegree,
boolean closeU,
boolean closeV) |
static ISurface |
surface(IVecI[][] cpts,
int udegree,
int vdegree,
boolean closeU,
double[] vk) |
static ISurface |
surface(IVecI[][] cpts,
int udegree,
int vdegree,
double[] uk,
boolean closeV) |
static ISurface |
surface(IVecI[][] cpts,
int udegree,
int vdegree,
double[] uknots,
double[] vknots) |
static ISurface |
surface(IVecI[][] cpts,
int udegree,
int vdegree,
double[] uknots,
double[] vknots,
double ustart,
double uend,
double vstart,
double vend)
surfaces
|
static ISurface |
surface(IVecI[] trimCrvPts,
int trimCrvDeg) |
static ISurface |
surface(IVecI[] trimCrvPts,
int trimCrvDeg,
double[] trimCrvKnots) |
static ISurface |
surface(IVecI pt1,
IVecI pt2,
IVecI pt3) |
static ISurface |
surface(IVecI pt1,
IVecI pt2,
IVecI pt3,
IVecI pt4) |
static int |
surfaceNum()
number of surfaces in the current server
|
static ISurface[] |
surfaces()
get all surfaces in the current server
|
static ISurface |
sweep(ICurveI profile,
ICurveI rail) |
static ISurface |
sweep(ICurveI profile,
IVecI[] rail) |
static ISurface |
sweep(ICurveI profile,
IVecI[] rail,
int railDeg) |
static ISurface |
sweep(ICurveI profile,
IVecI[] rail,
int railDeg,
boolean closeRail) |
static ISurface |
sweep(ICurveI profile,
IVecI profileCenter,
ICurveI rail) |
static ISurface |
sweep(ICurveI profile,
IVecI profileCenter,
IVecI[] rail) |
static ISurface |
sweep(ICurveI profile,
IVecI profileCenter,
IVecI[] rail,
int railDeg) |
static ISurface |
sweep(ICurveI profile,
IVecI profileCenter,
IVecI[] rail,
int railDeg,
boolean closeRail) |
static ISurface |
sweep(ICurveI profile,
IVecI profileCenter,
IVecI profileDir,
ICurveI rail) |
static ISurface |
sweep(ICurveI profile,
IVecI profileCenter,
IVecI profileDir,
IVecI[] rail) |
static ISurface |
sweep(ICurveI profile,
IVecI profileCenter,
IVecI profileDir,
IVecI[] rail,
int railDeg) |
static ISurface |
sweep(ICurveI profile,
IVecI profileCenter,
IVecI profileDir,
IVecI[] rail,
int railDeg,
boolean closeRail) |
static ISurface |
sweep(IVecI[] profile,
ICurveI rail) |
static ISurface |
sweep(IVecI[] profile,
int profileDeg,
boolean closeProfile,
ICurveI rail) |
static ISurface |
sweep(IVecI[] profile,
int profileDeg,
boolean closeProfile,
IVecI[] rail,
int railDeg,
boolean closeRail) |
static ISurface |
sweep(IVecI[] profile,
int profileDeg,
boolean closeProfile,
IVecI profileCenter,
ICurveI rail) |
static ISurface |
sweep(IVecI[] profile,
int profileDeg,
boolean closeProfile,
IVecI profileCenter,
IVecI[] rail,
int railDeg,
boolean closeRail) |
static ISurface |
sweep(IVecI[] profile,
int profileDeg,
boolean closeProfile,
IVecI profileCenter,
IVecI profileDir,
ICurveI rail) |
static ISurface |
sweep(IVecI[] profile,
int profileDeg,
boolean closeProfile,
IVecI profileCenter,
IVecI profileDir,
IVecI[] rail,
int railDeg,
boolean closeRail) |
static ISurface |
sweep(IVecI[] profile,
int profileDeg,
double[] profileKnots,
IVecI[] rail,
int railDeg,
double[] railKnots) |
static ISurface |
sweep(IVecI[] profile,
int profileDeg,
double[] profileKnots,
IVecI profileCenter,
IVecI[] rail,
int railDeg,
double[] railKnots)
sweep.
|
static ISurface |
sweep(IVecI[] profile,
int profileDeg,
double[] profileKnots,
IVecI profileCenter,
IVecI profileDir,
IVecI[] rail,
int railDeg,
double[] railKnots)
sweep.
|
static ISurface |
sweep(IVecI[] profile,
int profileDeg,
ICurveI rail) |
static ISurface |
sweep(IVecI[] profile,
int profileDeg,
IVecI[] rail,
int railDeg) |
static ISurface |
sweep(IVecI[] profile,
int profileDeg,
IVecI profileCenter,
ICurveI rail) |
static ISurface |
sweep(IVecI[] profile,
int profileDeg,
IVecI profileCenter,
IVecI[] rail,
int railDeg) |
static ISurface |
sweep(IVecI[] profile,
int profileDeg,
IVecI profileCenter,
IVecI profileDir,
ICurveI rail) |
static ISurface |
sweep(IVecI[] profile,
int profileDeg,
IVecI profileCenter,
IVecI profileDir,
IVecI[] rail,
int railDeg) |
static ISurface |
sweep(IVecI[] profile,
IVecI[] rail)
sweep (profile is redirected perpendicular to rail and centered(actually just on bisector of control points))
|
static ISurface |
sweep(IVecI[] profile,
IVecI profileCenter,
ICurveI rail) |
static ISurface |
sweep(IVecI[] profile,
IVecI profileCenter,
IVecI[] rail) |
static ISurface |
sweep(IVecI[] profile,
IVecI profileCenter,
IVecI profileDir,
ICurveI rail) |
static ISurface |
sweep(IVecI[] profile,
IVecI profileCenter,
IVecI profileDir,
IVecI[] rail) |
static IText |
text(int i)
get a text in the current server
|
static int |
textNum()
number of texts in the current server
|
static IText[] |
texts()
get all texts in the current server
|
static int |
time()
get current time count of dynamics update
|
static void |
time(int tm)
set current time count of dynamics update.
|
static void |
top()
put top view on the full screen inside the window
|
static void |
top(double x,
double y) |
static void |
top(double x,
double y,
double z) |
static void |
top(double x,
double y,
double z,
double axonRatio) |
static IVec |
topDir()
get camera direction vector in top view pane
|
static igeo.gui.IPane |
topPane()
put top pane on the full screen inside the window if the panel is IGridPanel
|
static double |
topPitch()
get camera direction pitch angle in top view pane
|
static IVec |
topPos()
get camera position in top view pane
|
static double |
topRoll()
get camera direction roll angle in top view pane
|
static IVec |
topTarget()
get camera target position in top view pane
|
static void |
topView() |
static void |
topView(double x,
double y) |
static void |
topView(double x,
double y,
double z) |
static void |
topView(double x,
double y,
double z,
double axonRatio) |
static double |
topYaw()
get camera direction yaw angle in top view pane
|
static void |
trans()
alias of transparent()
|
static void |
transFill()
set transparent fill graphic mode
|
static void |
transparent()
set transparent fill graphic mode
|
static void |
transparentFill()
set transparent fill graphic mode
|
static void |
transparentFillWithWireframe()
set transparent fill+wireframe graphic mode
|
static void |
transparentWireframe()
set transparent fill+wireframe graphic mode
|
static void |
transWire()
alias of wireframeTransparent()
|
static IUnit |
unit()
getting unit of current IG server
|
static void |
unit(IUnit.Type u)
setting unit of current IG server
|
static void |
unit(IUnit u)
setting unit of current IG server
|
static void |
unit(java.lang.String unitName)
setting unit of current IG server
|
static double |
updateRate()
getting update rate time interval in second
|
static void |
updateRate(double second)
setting update rate time interval in second
|
static double |
updateSpeed()
alias of updateRate()
|
static void |
updateSpeed(double second)
alias of updateRate()
|
static IDynamicServer |
updateThread()
alias of dynamicThread()
|
static IVec |
v()
vector shorter name
|
static IVec |
v(double x,
double y) |
static IVec |
v(double x,
double y,
double z) |
static IVec[] |
v(double x,
double y,
double z,
double... xyzvals)
vector array shorter name
|
static IVec |
v(IDoubleI x,
IDoubleI y) |
static IVec |
v(IDoubleI x,
IDoubleI y,
IDoubleI z) |
static IVec[] |
v(IDoubleI x,
IDoubleI y,
IDoubleI z,
IDoubleI... xyzvals) |
static IVec[] |
v(IVec... v) |
static IVec |
v(IVec v) |
static IVec[][] |
v(IVec[]... v)
IVec 2d array
|
static IVec[][][] |
v(IVec[][]... v)
IVec 3d array
|
static IVec[] |
v(IVec2I... v) |
static IVec |
v(IVec2I v) |
static IVecI[] |
v(IVecI... v) |
static IVec |
v(IVecI v) |
static IVecI[][] |
v(IVecI[]... v) |
static IVecI[][][] |
v(IVecI[][]... v) |
static IVec2 |
v2()
2d vector shorter name
|
static IVec2 |
v2(double x,
double y) |
static IVec2[] |
v2(double x,
double y,
double... xyvals) |
static IVec2 |
v2(IDoubleI x,
IDoubleI y) |
static IVec2[] |
v2(IDoubleI x,
IDoubleI y,
IDoubleI... xyvals) |
static IVec2[] |
v2(IVec... v)
IVec2 array from IVec (projection)
|
static IVec2[] |
v2(IVec2... v) |
static IVec2 |
v2(IVec2 v) |
static IVec2[][] |
v2(IVec2[]... v)
IVec4 2d array
|
static IVec2[][][] |
v2(IVec2[][]... v)
IVec4 3d array
|
static IVec2I[] |
v2(IVec2I... v) |
static IVec2I[][] |
v2(IVec2I[]... v) |
static IVec2I[][][] |
v2(IVec2I[][]... v) |
static IVec2I[] |
v2(IVecI... v)
IVec2I array from IVecI (projection)
|
static IVec2 |
v2(IVecI v) |
static IVec4 |
v4()
4d vector shorter name
|
static IVec4 |
v4(double x,
double y,
double z,
double w) |
static IVec4[] |
v4(double x,
double y,
double z,
double w,
double... xyzwvals) |
static IVec4 |
v4(IDoubleI x,
IDoubleI y,
IDoubleI z,
IDoubleI w) |
static IVec4[] |
v4(IDoubleI x,
IDoubleI y,
IDoubleI z,
IDoubleI w,
IDoubleI... xyzwvals) |
static IVec4[] |
v4(IVec4... v) |
static IVec4 |
v4(IVec4 v) |
static IVec4[][] |
v4(IVec4[]... v)
IVec4 2d array
|
static IVec4[][][] |
v4(IVec4[][]... v)
IVec4 3d array
|
static IVec4I[] |
v4(IVec4I... v) |
static IVec4I[][] |
v4(IVec4I[]... v) |
static IVec4I[][][] |
v4(IVec4I[][]... v) |
static IVec4 |
v4(IVec v,
double w) |
static IVec4 |
v4(IVecI v) |
static IVec4 |
v4(IVecI v,
double w) |
static IVec4 |
v4(IVecI v,
IDoubleI w) |
static IVec |
vec()
creating vector
|
static IVec |
vec(double x,
double y) |
static IVec |
vec(double x,
double y,
double z) |
static IVec[] |
vec(double x,
double y,
double z,
double... xyzvals)
vector array
|
static IVec |
vec(IDoubleI x,
IDoubleI y) |
static IVec |
vec(IDoubleI x,
IDoubleI y,
IDoubleI z) |
static IVec[] |
vec(IDoubleI x,
IDoubleI y,
IDoubleI z,
IDoubleI... xyzvals) |
static IVec[] |
vec(IVec... v) |
static IVec |
vec(IVec v) |
static IVec[][] |
vec(IVec[]... v) |
static IVec[][][] |
vec(IVec[][]... v) |
static IVec[] |
vec(IVec2I... v) |
static IVec |
vec(IVec2I v) |
static IVecI[] |
vec(IVecI... v) |
static IVec |
vec(IVecI v) |
static IVecI[][] |
vec(IVecI[]... v) |
static IVecI[][][] |
vec(IVecI[][]... v) |
static IVec2 |
vec2()
creating 2 dimensional vector
|
static IVec2 |
vec2(double x,
double y) |
static IVec2[] |
vec2(double x,
double y,
double... xyvals)
vector (IVec2) array
|
static IVec2 |
vec2(IDoubleI x,
IDoubleI y) |
static IVec2[] |
vec2(IDoubleI x,
IDoubleI y,
IDoubleI... xyvals) |
static IVec2[] |
vec2(IVec... v)
IVec2 2d array from IVecI
|
static IVec2[] |
vec2(IVec2... v) |
static IVec2 |
vec2(IVec2 v) |
static IVec2[][] |
vec2(IVec2[]... v)
IVec2 2d array
|
static IVec2[][][] |
vec2(IVec2[][]... v)
IVec2 3d array
|
static IVec2I[] |
vec2(IVec2I... v) |
static IVec2I[][] |
vec2(IVec2I[]... v) |
static IVec2I[][][] |
vec2(IVec2I[][]... v) |
static IVec2I[] |
vec2(IVecI... v)
IVec2 2d array from IVecI
|
static IVec2 |
vec2(IVecI v) |
static IVec4 |
vec4()
creating 4 dimensional vector with weight
|
static IVec4 |
vec4(double x,
double y,
double z,
double w) |
static IVec4[] |
vec4(double x,
double y,
double z,
double w,
double... xyzwvals)
vector (IVec4) array
|
static IVec4 |
vec4(IDoubleI x,
IDoubleI y,
IDoubleI z,
IDoubleI w) |
static IVec4[] |
vec4(IDoubleI x,
IDoubleI y,
IDoubleI z,
IDoubleI w,
IDoubleI... xyzwvals) |
static IVec4[] |
vec4(IVec4... v) |
static IVec4 |
vec4(IVec4 v) |
static IVec4[][] |
vec4(IVec4[]... v)
IVec4 2d array
|
static IVec4[][][] |
vec4(IVec4[][]... v)
IVec4 3d array
|
static IVec4I[] |
vec4(IVec4I... v) |
static IVec4I[][] |
vec4(IVec4I[]... v) |
static IVec4I[][][] |
vec4(IVec4I[][]... v) |
static IVec4 |
vec4(IVec v,
double w) |
static IVec4 |
vec4(IVecI v) |
static IVec4 |
vec4(IVecI v,
double w) |
static IVec4 |
vec4(IVecI v,
IDoubleI w) |
static IVec |
vector()
vector longer name
|
static IVec |
vector(double x,
double y) |
static IVec |
vector(double x,
double y,
double z) |
static IVec[] |
vector(double x,
double y,
double z,
double... xyzvals)
vector array longer name
|
static IVec |
vector(IDoubleI x,
IDoubleI y) |
static IVec |
vector(IDoubleI x,
IDoubleI y,
IDoubleI z) |
static IVec[] |
vector(IDoubleI x,
IDoubleI y,
IDoubleI z,
IDoubleI... xyzvals) |
static IVec[] |
vector(IVec... v) |
static IVec |
vector(IVec v) |
static IVec[][] |
vector(IVec[]... v) |
static IVec[][][] |
vector(IVec[][]... v) |
static IVec[] |
vector(IVec2I... v) |
static IVec |
vector(IVec2I v) |
static IVecI[] |
vector(IVecI... v) |
static IVec |
vector(IVecI v) |
static IVecI[][] |
vector(IVecI[]... v) |
static IVecI[][][] |
vector(IVecI[][]... v) |
static IVec2 |
vector2()
2d vector longer name
|
static IVec2 |
vector2(double x,
double y) |
static IVec2[] |
vector2(double x,
double y,
double... xyvals) |
static IVec2 |
vector2(IDoubleI x,
IDoubleI y) |
static IVec2[] |
vector2(IDoubleI x,
IDoubleI y,
IDoubleI... xyvals) |
static IVec2[] |
vector2(IVec2... v) |
static IVec2 |
vector2(IVec2 v) |
static IVec2[][] |
vector2(IVec2[]... v)
IVec4 2d array
|
static IVec2[][][] |
vector2(IVec2[][]... v)
IVec4 3d array
|
static IVec2I[] |
vector2(IVec2I... v) |
static IVec2I[][] |
vector2(IVec2I[]... v) |
static IVec2I[][][] |
vector2(IVec2I[][]... v) |
static IVec2 |
vector2(IVecI v) |
static IVec4 |
vector4()
4d vector longer name
|
static IVec4 |
vector4(double x,
double y,
double z,
double w) |
static IVec4[] |
vector4(double x,
double y,
double z,
double w,
double... xyzwvals) |
static IVec4 |
vector4(IDoubleI x,
IDoubleI y,
IDoubleI z,
IDoubleI w) |
static IVec4[] |
vector4(IDoubleI x,
IDoubleI y,
IDoubleI z,
IDoubleI w,
IDoubleI... xyzwvals) |
static IVec4[] |
vector4(IVec4... v) |
static IVec4 |
vector4(IVec4 v) |
static IVec4[][] |
vector4(IVec4[]... v)
IVec4 2d array
|
static IVec4[][][] |
vector4(IVec4[][]... v)
IVec4 3d array
|
static IVec4I[] |
vector4(IVec4I... v) |
static IVec4I[][] |
vector4(IVec4I[]... v) |
static IVec4I[][][] |
vector4(IVec4I[][]... v) |
static IVec4 |
vector4(IVec v,
double w) |
static IVec4 |
vector4(IVecI v) |
static IVec4 |
vector4(IVecI v,
double w) |
static IVec4 |
vector4(IVecI v,
IDoubleI w) |
static java.lang.String |
version() |
static java.util.Calendar |
versionDate() |
static igeo.gui.IView |
view(int paneIndex) |
static java.util.ArrayList<IObject> |
weight(java.util.ArrayList<IObject> objs,
double w) |
static java.util.ArrayList<IObject> |
weight(java.util.ArrayList<IObject> objs,
float w) |
static IObject[] |
weight(IObject[] objs,
double w) |
static IObject[] |
weight(IObject[] objs,
float w) |
static IObject |
weight(IObject obj,
double w) |
static IObject |
weight(IObject obj,
float w) |
static void |
whiteBG() |
static void |
wire()
alias of wireframe()
|
static void |
wireFill()
set fill+wireframe graphic mode
|
static void |
wireframe()
set wireframe graphic mode
|
static void |
wireframeFill()
set fill+wireframe graphic mode
|
static void |
wireframeTransparent()
set transparent fill+wireframe graphic mode
|
static void |
wireTrans()
alias of wireframeTransparent()
|
public static final java.lang.Object lock
public static final java.lang.String GL1
public static final java.lang.String GL2
public static final java.lang.String GL3
public static final java.lang.String GL
public static final java.lang.String P3D
public static final java.lang.String P3
public static final java.lang.String P
protected static java.util.ArrayList<IG> iglist
protected static int currentId
public static final IVec xaxis
public static final IVec yaxis
public static final IVec zaxis
public static final IVec origin
public static final IVec x
public static final IVec y
public static final IVec z
public static final IVec o
public IServer server
public igeo.gui.IPanelI panel
public java.lang.String inputFile
public java.lang.String outputFile
public java.lang.String basePath
public igeo.io.IInputWrapper inputWrapper
public boolean online
public static int majorVersion()
public static int minorVersion()
public static int buildVersion()
public static int revisionVersion()
public static java.util.Calendar versionDate()
public static java.lang.String version()
public static IG init()
public static IG init(igeo.gui.IPanelI owner)
public static IG current()
public static IG cur()
public static IG defaultThread()
public static IDynamicServer dynamicThread()
public static IDynamicServer updateThread()
public static void setCurrent(IG ig)
public static void setCurrent(igeo.gui.IPanelI owner)
public static IG getIG(igeo.gui.IPanelI owner)
public static IObject[] open(java.lang.String file)
public static boolean save(java.lang.String file)
public static void duration(int dur)
public static int duration()
public static void time(int tm)
public static int time()
public static void pause()
public static void resume()
public static boolean isRunning()
public static void start()
public static void stop()
public static void updateRate(double second)
public static void updateSpeed(double second)
public static void rate(double second)
public static void speed(double second)
public static double updateRate()
public static double updateSpeed()
public static double rate()
public static double speed()
public static IUnit unit()
public static void unit(IUnit u)
public static void unit(IUnit.Type u)
public static void unit(java.lang.String unitName)
public static void outputFile(java.lang.String filename)
public static java.lang.String outputFile()
public static void inputFile(java.lang.String filename)
public static java.lang.String inputFile()
public static IPoint[] points()
public static IPoint[] pts()
public static ICurve[] curves()
public static ICurve[] crvs()
public static IPolycurve[] polycurves()
public static ISurface[] surfaces()
public static ISurface[] srfs()
public static IMesh[] meshes()
public static IBrep[] breps()
public static IText[] texts()
public static IGeometry[] geometries()
public static IGeometry[] geos()
public static IObject[] objects(java.lang.Class cls)
public static IObject[] objs(java.lang.Class cls)
public static IObject[] objects()
public static IObject[] objs()
public static IPoint point(int i)
public static IPoint pt(int i)
public static ICurve curve(int i)
public static ICurve crv(int i)
public static IPolycurve polycurve(int i)
public static ISurface surface(int i)
public static ISurface srf(int i)
public static IMesh mesh(int i)
public static IBrep brep(int i)
public static IText text(int i)
public static IGeometry geometry(int i)
public static IGeometry geo(int i)
public static IObject object(java.lang.Class cls, int i)
public static IObject obj(java.lang.Class cls, int i)
public static IObject object(int i)
public static IObject obj(int i)
public static int pointNum()
public static int ptNum()
public static int curveNum()
public static int crvNum()
public static int polycurveNum()
public static int surfaceNum()
public static int srfNum()
public static int meshNum()
public static int brepNum()
public static int textNum()
public static int geometryNum()
public static int geoNum()
public static int objectNum(java.lang.Class cls)
public static int objNum(java.lang.Class cls)
public static int objectNum()
public static int objNum()
public static void del(IObject o)
public static void del(IObject[] o)
public static void del(java.util.ArrayList<IObject> o)
public static void del(java.lang.Class cls)
public static void delAll()
public static void clear()
public static ILayer layer(java.lang.String layerName)
public static ILayer layer(int i)
public static ILayer[] layers()
public static void delLayer(java.lang.String layerName)
public static void delLayer(ILayer layer)
public static int layerNum()
public static void focus()
public static boolean isGL()
public static void graphicMode(igeo.gui.IGraphicMode mode)
public static void wireframe()
public static void wire()
public static void fill()
public static void fillWithWireframe()
public static void fillWireframe()
public static void fillWire()
public static void wireframeFill()
public static void wireFill()
public static void transparentFill()
public static void transFill()
public static void transparent()
public static void trans()
public static void transparentFillWithWireframe()
public static void transparentWireframe()
public static void wireframeTransparent()
public static void wireTrans()
public static void transWire()
public static void noGraphic()
public static igeo.gui.IView view(int paneIndex)
public static igeo.gui.IPane gridPane(int xindex, int yindex)
public static igeo.gui.IPane topPane()
public static igeo.gui.IPane bottomPane()
public static igeo.gui.IPane perspectivePane()
public static igeo.gui.IPane axonometricPane()
public static igeo.gui.IPane frontPane()
public static igeo.gui.IPane backPane()
public static igeo.gui.IPane rightPane()
public static igeo.gui.IPane leftPane()
public static void top()
public static void top(double x, double y)
public static void top(double x, double y, double z)
public static void top(double x, double y, double z, double axonRatio)
public static void topView()
public static void topView(double x, double y)
public static void topView(double x, double y, double z)
public static void topView(double x, double y, double z, double axonRatio)
public static IVec topPos()
public static IVec topDir()
public static IVec topTarget()
public static double topYaw()
public static double topPitch()
public static double topRoll()
public static void bottom()
public static void bottom(double x, double y)
public static void bottom(double x, double y, double z)
public static void bottom(double x, double y, double z, double axonRatio)
public static void bottomView()
public static void bottomView(double x, double y)
public static void bottomView(double x, double y, double z)
public static void bottomView(double x, double y, double z, double axonRatio)
public static IVec bottomPos()
public static IVec bottomDir()
public static IVec bottomTarget()
public static double bottomYaw()
public static double bottomPitch()
public static double bottomRoll()
public static void perspective()
public static void perspective(double x, double y, double z)
public static void perspective(double x, double y, double z, double yaw, double pitch)
public static void perspectiveView()
public static void perspectiveView(double x, double y, double z)
public static void perspectiveView(double x, double y, double z, double yaw, double pitch)
public static void pers()
public static void pers(double x, double y, double z)
public static void pers(double x, double y, double z, double yaw, double pitch)
public static void perspective(double perspectiveAngle)
public static void perspective(double x, double y, double z, double perspectiveAngle)
public static void perspective(double x, double y, double z, double yaw, double pitch, double perspectiveAngle)
public static void perspectiveView(double perspectiveAngle)
public static void perspectiveView(double x, double y, double z, double perspectiveAngle)
public static void perspectiveView(double x, double y, double z, double yaw, double pitch, double perspectiveAngle)
public static void pers(double perspectiveAngle)
public static void pers(double x, double y, double z, double perspectiveAngle)
public static void pers(double x, double y, double z, double yaw, double pitch, double perspectiveAngle)
public static IVec getViewPos(igeo.gui.IPane pane)
public static IVec getViewDir(igeo.gui.IPane pane)
public static IVec getViewTarget(igeo.gui.IPane pane)
public static double getViewYaw(igeo.gui.IPane pane)
public static double getViewPitch(igeo.gui.IPane pane)
public static double getViewRoll(igeo.gui.IPane pane)
public static IVec persPos()
public static IVec persDir()
public static IVec persTarget()
public static double persYaw()
public static double persPitch()
public static double persRoll()
public static void axonometric()
public static void axonometric(double x, double y, double z)
public static void axonometric(double x, double y, double z, double axonRatio)
public static void axonometric(double x, double y, double z, double yaw, double pitch)
public static void axonometric(double x, double y, double z, double yaw, double pitch, double axonRatio)
public static void axonometricView()
public static void axonometricView(double x, double y, double z)
public static void axonometricView(double x, double y, double z, double axonRatio)
public static void axonometricView(double x, double y, double z, double yaw, double pitch)
public static void axonometricView(double x, double y, double z, double yaw, double pitch, double axonRatio)
public static void axon()
public static void axon(double x, double y, double z)
public static void axon(double x, double y, double z, double axonRatio)
public static void axon(double x, double y, double z, double yaw, double pitch)
public static void axon(double x, double y, double z, double yaw, double pitch, double axonRatio)
public static IVec axonPos()
public static IVec axonDir()
public static IVec axonTarget()
public static double axonYaw()
public static double axonPitch()
public static double axonRoll()
public static void front()
public static void front(double x, double z)
public static void front(double x, double y, double z)
public static void front(double x, double y, double z, double axonRatio)
public static void frontView()
public static void frontView(double x, double z)
public static void frontView(double x, double y, double z)
public static void frontView(double x, double y, double z, double axonRatio)
public static IVec frontPos()
public static IVec frontDir()
public static IVec frontTarget()
public static double frontYaw()
public static double frontPitch()
public static double frontRoll()
public static void back()
public static void back(double x, double z)
public static void back(double x, double y, double z)
public static void back(double x, double y, double z, double axonRatio)
public static void backView()
public static void backView(double x, double z)
public static void backView(double x, double y, double z)
public static void backView(double x, double y, double z, double axonRatio)
public static IVec backPos()
public static IVec backDir()
public static IVec backTarget()
public static double backYaw()
public static double backPitch()
public static double backRoll()
public static void right()
public static void right(double y, double z)
public static void right(double x, double y, double z)
public static void right(double x, double y, double z, double axonRatio)
public static void rightView()
public static void rightView(double y, double z)
public static void rightView(double x, double y, double z)
public static void rightView(double x, double y, double z, double axonRatio)
public static IVec rightPos()
public static IVec rightDir()
public static IVec rightTarget()
public static double rightYaw()
public static double rightPitch()
public static double rightRoll()
public static void left()
public static void left(double y, double z)
public static void left(double x, double y, double z)
public static void left(double x, double y, double z, double axonRatio)
public static void leftView()
public static void leftView(double y, double z)
public static void leftView(double x, double y, double z)
public static void leftView(double x, double y, double z, double axonRatio)
public static IVec leftPos()
public static IVec leftDir()
public static IVec leftTarget()
public static double leftYaw()
public static double leftPitch()
public static double leftRoll()
public static void bg(java.awt.Color c1, java.awt.Color c2, java.awt.Color c3, java.awt.Color c4)
public static void background(java.awt.Color c1, java.awt.Color c2, java.awt.Color c3, java.awt.Color c4)
public static void bg(java.awt.Color c)
public static void background(java.awt.Color c)
public static void bg(java.lang.String imageFilename)
public static void background(java.lang.String imageFilename)
public static void defaultBG()
public static void blueBG()
public static void lightBG()
public static void darkBG()
public static void whiteBG()
public static void blackBG()
public static void bg(int r1, int g1, int b1, int r2, int g2, int b2, int r3, int g3, int b3, int r4, int g4, int b4)
public static void background(int r1, int g1, int b1, int r2, int g2, int b2, int r3, int g3, int b3, int r4, int g4, int b4)
public static void bg(int r, int g, int b)
public static void background(int r, int g, int b)
public static void bg(int gray1, int gray2, int gray3, int gray4)
public static void background(int gray1, int gray2, int gray3, int gray4)
public static void bg(int gray)
public static void background(int gray)
public static void bg(float r1, float g1, float b1, float r2, float g2, float b2, float r3, float g3, float b3, float r4, float g4, float b4)
public static void background(float r1, float g1, float b1, float r2, float g2, float b2, float r3, float g3, float b3, float r4, float g4, float b4)
public static void bg(float r, float g, float b)
public static void background(float r, float g, float b)
public static void bg(float gray1, float gray2, float gray3, float gray4)
public static void background(float gray1, float gray2, float gray3, float gray4)
public static void bg(float gray)
public static void background(float gray)
public static void bg(double r1, double g1, double b1, double r2, double g2, double b2, double r3, double g3, double b3, double r4, double g4, double b4)
public static void background(double r1, double g1, double b1, double r2, double g2, double b2, double r3, double g3, double b3, double r4, double g4, double b4)
public static void bg(double r, double g, double b)
public static void background(double r, double g, double b)
public static void bg(double gray1, double gray2, double gray3, double gray4)
public static void background(double gray1, double gray2, double gray3, double gray4)
public static void bg(double gray)
public static void background(double gray)
public static void p(java.lang.Object obj)
public static void p()
public static void print(java.lang.Object obj)
public static void enabePrintPrefix()
public static void disablePrintPrefix()
public static void err(java.lang.Object obj)
public static void err()
public static void error(java.lang.Object obj)
public static void enabeErrorPrefix()
public static void disableErrorPrefix()
public static void debugLevel(int level)
public static void debug(int level)
public static void debug()
public static int debugLevel()
public static void showTime()
public static void showTime(boolean flag)
public static void setPrint(IPrintWrapper pw)
public static void setPrint(IPrintWrapper pw, IPrintWrapper errpw)
public static void setPrint(IPrintWrapper pw, IPrintWrapper errpw, IPrintWrapper debugpw)
public static void setPrintStream(java.io.PrintStream ps)
public static void setPrintStream(java.io.PrintStream ps, java.io.PrintStream errps)
public static void setPrintStream(java.io.PrintStream ps, java.io.PrintStream errps, java.io.PrintStream debugps)
public java.util.ArrayList<IObject> openFile(java.lang.String file)
public java.lang.String formatOutputFilePath(java.lang.String file)
public boolean saveFile(java.lang.String file)
public boolean save()
public void setInputFile(java.lang.String filename)
public void setOutputFile(java.lang.String filename)
public java.lang.String getInputFile()
public java.lang.String getOutputFile()
public java.lang.String getBasePath()
public java.lang.String setBasePath(java.lang.String path)
public void setOnline(boolean f)
public boolean isOnline()
public void setInputWrapper(igeo.io.IInputWrapper wrapper)
public ILayer getLayer(java.lang.String layerName)
public ILayer getLayer(int i)
public ILayer[] getAllLayers()
public void deleteLayer(java.lang.String layerName)
public void deleteLayer(ILayer layer)
public int getLayerNum()
public IPoint[] getPoints()
public ICurve[] getCurves()
public IPolycurve[] getPolycurves()
public ISurface[] getSurfaces()
public IMesh[] getMeshes()
public IBrep[] getBreps()
public IText[] getTexts()
public IGeometry[] getGeometries()
public IObject[] getObjects(java.lang.Class cls)
public IObject[] getObjects()
public IPoint getPoint(int i)
public ICurve getCurve(int i)
public IPolycurve getPolycurve(int i)
public ISurface getSurface(int i)
public IMesh getMesh(int i)
public IBrep getBrep(int i)
public IText getText(int i)
public IGeometry getGeometry(int i)
public IObject getObject(java.lang.Class cls, int i)
public IObject getObject(int i)
public int getPointNum()
public int getCurveNum()
public int getPolycurveNum()
public int getSurfaceNum()
public int getMeshNum()
public int getBrepNum()
public int getTextNum()
public int getGeometryNum()
public int getObjectNum(java.lang.Class cls)
public int getObjectNum()
public void focusView()
public IDynamicServer dynamicServer()
public void setDuration(int dur)
public int getDuration()
public void setTime(int tm)
public int getTime()
public void pauseDynamics()
public void resumeDynamics()
public boolean isDynamicsRunning()
public void startDynamics()
public void stopDynamics()
public void clearServer()
public static IPoint point(double x, double y, double z)
public static IPoint point(double x, double y)
public static IPoint pt(double x, double y, double z)
public static IPoint pt(double x, double y)
public static ICurve curve(IVecI[] cpts, int degree, double[] knots, double ustart, double uend)
public static ICurve curve(double x1, double y1, double z1, double x2, double y2, double z2)
public static ICurve curve(double[][] xyzValues)
public static ICurve curve(double[][] xyzValues, int degree)
public static ICurve curve(double[][] xyzValues, boolean close)
public static ICurve curve(double[][] xyzValues, int degree, boolean close)
public static ICurve crv(IVecI[] cpts, int degree, double[] knots, double ustart, double uend)
public static ICurve crv(double x1, double y1, double z1, double x2, double y2, double z2)
public static ICurve crv(double[][] xyzValues)
public static ICurve crv(double[][] xyzValues, int degree)
public static ICurve crv(double[][] xyzValues, boolean close)
public static ICurve crv(double[][] xyzValues, int degree, boolean close)
public static ICurve line(double x1, double y1, double z1, double x2, double y2, double z2)
public static ICurve rect(double x, double y, double z, double xwidth, double yheight)
public static ICircle circle(double x, double y, double z, double radius)
public static ICircle circle(double x, double y, double z, double xradius, double yradius)
public static ICircle circle(IVecI center, IVecI normal, IVecI rollDir, double xradius, double yradius)
public static ICircle circle(IVecI center, IVecI normal, IVecI rollDir, IDoubleI xradius, IDoubleI yradius)
public static ICircle circle(double x, double y, double z, double radius, boolean approx)
public static ICircle circle(IVecI center, IVecI normal, double xradius, double yradius, boolean approx)
public static ICircle circle(IVecI center, IVecI normal, IDoubleI xradius, IDoubleI yradius, boolean approx)
public static ICircle circle(IVecI center, IDoubleI xradius, IDoubleI yradius, boolean approx)
public static ICircle circle(double x, double y, double z, double xradius, double yradius, boolean approx)
public static ICircle circle(IVecI center, IVecI normal, IVecI rollDir, double radius, boolean approx)
public static ICircle circle(IVecI center, IVecI normal, IVecI rollDir, IDoubleI radius, boolean approx)
public static ICircle circle(IVecI center, IVecI normal, IVecI rollDir, double xradius, double yradius, boolean approx)
public static ICircle circle(IVecI center, IVecI normal, IVecI rollDir, IDoubleI xradius, IDoubleI yradius, boolean approx)
public static ICircle circle(IVecI center, IVecI xradiusVec, IVecI yradiusVec, boolean approx)
public static ICircle ellipse(IVecI center, IVecI xradiusVec, IVecI yradiusVec)
public static ICircle ellipse(double x, double y, double z, double xradius, double yradius)
public static IArc arc(double x, double y, double z, double startX, double startY, double startZ, double angle)
public static IVec[] offset(IVec[] pts, double width)
public static IVec[] offset(IVec[] pts, double width, IVecI planeNormal)
public static IVec[] offset(IVec[] pts, double width, IVecI[] normals)
public static ISurface surface(IVecI[][] cpts, int udegree, int vdegree, double[] uknots, double[] vknots, double ustart, double uend, double vstart, double vend)
public static ISurface surface(IVecI[][] cpts, int udegree, int vdegree, double[] uknots, double[] vknots)
public static ISurface surface(IVecI[][] cpts, int udegree, int vdegree, boolean closeU, boolean closeV)
public static ISurface surface(IVecI[][] cpts, int udegree, int vdegree, boolean closeU, double[] vk)
public static ISurface surface(IVecI[][] cpts, int udegree, int vdegree, double[] uk, boolean closeV)
public static ISurface surface(double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3, double x4, double y4, double z4)
public static ISurface surface(double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3)
public static ISurface surface(double[][][] xyzValues)
public static ISurface surface(double[][][] xyzValues, int udeg, int vdeg)
public static ISurface surface(double[][][] xyzValues, boolean closeU, boolean closeV)
public static ISurface surface(double[][][] xyzValues, int udeg, int vdeg, boolean closeU, boolean closeV)
public static ISurface srf(IVecI[][] cpts, int udegree, int vdegree, double[] uknots, double[] vknots, double ustart, double uend, double vstart, double vend)
public static ISurface srf(IVecI[][] cpts, int udegree, int vdegree, double[] uknots, double[] vknots)
public static ISurface srf(IVecI[][] cpts, int udegree, int vdegree, boolean closeU, boolean closeV)
public static ISurface srf(IVecI[][] cpts, int udegree, int vdegree, boolean closeU, double[] vk)
public static ISurface srf(IVecI[][] cpts, int udegree, int vdegree, double[] uk, boolean closeV)
public static ISurface srf(double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3, double x4, double y4, double z4)
public static ISurface srf(double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3)
public static ISurface srf(double[][][] xyzValues)
public static ISurface srf(double[][][] xyzValues, int udeg, int vdeg)
public static ISurface srf(double[][][] xyzValues, boolean closeU, boolean closeV)
public static ISurface srf(double[][][] xyzValues, int udeg, int vdeg, boolean closeU, boolean closeV)
public static IBox box(double x, double y, double z, double size)
public static IBox box(double x, double y, double z, double width, double height, double depth)
public static IBox box(IVecI pt1, IVecI pt2, IVecI pt3, IVecI pt4, IVecI pt5, IVecI pt6, IVecI pt7, IVecI pt8)
public static ISphere sphere(double x, double y, double z, double radius)
public static ISurface plane(double x, double y, double z, double xwidth, double yheight)
public static ISurface extrude(IVecI[] profile, double extrudeDepth)
public static ISurface extrude(IVecI[] profile, int profileDeg, boolean closeProfile, double extrudeDepth)
public static ISurface extrude(IVecI[] profile, int profileDeg, boolean closeProfile, IDoubleI extrudeDepth)
public static ISurface extrude(IVecI[] profile, int profileDeg, boolean closeProfile, IVecI extrudeDir)
public static ISurface extrude(IVecI[] profile, int profileDeg, double[] profileKnots, IVecI extrudeDir)
public static ISurface extrude(IVecI[] profile, int profileDeg, boolean closeProfile, ICurve rail)
public static ISurface extrude(IVecI[] profile, int profileDeg, double[] profileKnots, ICurve rail)
public static ISurface extrude(IVecI[] profile, IVecI[] rail)
public static ISurface extrude(IVecI[] profile, int profileDeg, boolean closeProfile, IVecI[] rail, int railDeg, boolean closeRail)
public static ISurface extrude(IVecI[] profile, int profileDeg, double[] profileKnots, IVecI[] rail, int railDeg, double[] railKnots)
public static ISurface sweep(IVecI[] profile, IVecI[] rail)
public static ISurface sweep(IVecI[] profile, IVecI profileCenter, IVecI profileDir, IVecI[] rail)
public static ISurface sweep(IVecI[] profile, int profileDeg, IVecI profileCenter, IVecI[] rail, int railDeg)
public static ISurface sweep(IVecI[] profile, int profileDeg, IVecI profileCenter, IVecI profileDir, IVecI[] rail, int railDeg)
public static ISurface sweep(IVecI[] profile, int profileDeg, boolean closeProfile, IVecI[] rail, int railDeg, boolean closeRail)
public static ISurface sweep(IVecI[] profile, int profileDeg, boolean closeProfile, IVecI profileCenter, IVecI[] rail, int railDeg, boolean closeRail)
public static ISurface sweep(IVecI[] profile, int profileDeg, boolean closeProfile, IVecI profileCenter, IVecI profileDir, IVecI[] rail, int railDeg, boolean closeRail)
public static ISurface sweep(IVecI[] profile, IVecI profileCenter, IVecI profileDir, ICurveI rail)
public static ISurface sweep(IVecI[] profile, int profileDeg, IVecI profileCenter, ICurveI rail)
public static ISurface sweep(IVecI[] profile, int profileDeg, IVecI profileCenter, IVecI profileDir, ICurveI rail)
public static ISurface sweep(IVecI[] profile, int profileDeg, boolean closeProfile, ICurveI rail)
public static ISurface sweep(IVecI[] profile, int profileDeg, boolean closeProfile, IVecI profileCenter, ICurveI rail)
public static ISurface sweep(IVecI[] profile, int profileDeg, boolean closeProfile, IVecI profileCenter, IVecI profileDir, ICurveI rail)
public static ISurface sweep(ICurveI profile, IVecI profileCenter, IVecI profileDir, IVecI[] rail)
public static ISurface sweep(ICurveI profile, IVecI profileCenter, IVecI profileDir, IVecI[] rail, int railDeg)
public static ISurface sweep(ICurveI profile, IVecI profileCenter, IVecI[] rail, int railDeg, boolean closeRail)
public static ISurface sweep(ICurveI profile, IVecI profileCenter, IVecI profileDir, IVecI[] rail, int railDeg, boolean closeRail)
public static ISurface sweep(ICurveI profile, IVecI profileCenter, IVecI profileDir, ICurveI rail)
public static ISurface sweep(IVecI[] profile, int profileDeg, double[] profileKnots, IVecI[] rail, int railDeg, double[] railKnots)
public static ISurface sweep(IVecI[] profile, int profileDeg, double[] profileKnots, IVecI profileCenter, IVecI[] rail, int railDeg, double[] railKnots)
profileCenter
- point on profile to be located at the points of railpublic static ISurface sweep(IVecI[] profile, int profileDeg, double[] profileKnots, IVecI profileCenter, IVecI profileDir, IVecI[] rail, int railDeg, double[] railKnots)
profileCenter
- point on profile to be located at the points of railprofileDir
- direction on profile to be aligned with the normal of railpublic static ISurface rectPipe(IVecI pt1, IVecI pt2, double width, double height)
width
- size in the direction of offset of railheight
- size in the direction of normal of railpublic static ISurface rectPipe(IVecI pt1, IVecI pt2, IVecI widthDir, double width, double height)
public static ISurface rectPipe(IVecI pt1, IVecI pt2, double left, double right, double bottom, double top)
public static ISurface rectPipe(IVecI pt1, IVecI pt2, IVecI widthDir, double left, double right, double bottom, double top)
public static ISurface rectPipe(IVecI[] rail, double left, double right, double bottom, double top)
public static ISurface rectPipe(IVecI[] rail, int deg, double left, double right, double bottom, double top)
public static ISurface rectPipe(IVecI[] rail, int deg, boolean close, double width, double height)
public static ISurface rectPipe(IVecI[] rail, int deg, boolean close, double left, double right, double bottom, double top)
public static ISurface rectPipe(ICurveI rail, double left, double right, double bottom, double top)
public static ISurface rectPipe(IVecI[] rail, int deg, double[] knots, double width, double height)
public static ISurface rectPipe(IVecI[] rail, int deg, double[] knots, double left, double right, double bottom, double top)
public static ISurface loft(IVecI[][] pts, int loftDeg, int ptsDeg, boolean closeLoft, boolean closePts)
public static ISurface loft(IVecI[] pts1, IVecI[] pts2, IVecI[] pts3, int loftDeg, int ptsDeg, boolean closePts)
public static IBrep cap(ISurfaceI surface)
public static ISurface profileSurface(IVecI[] cps, int deg, double[] knots)
public static ISurface profileSurface(ICurveI profile)
public static ISurface radialSurface(IVecI[] cps, int deg, double[] knots)
public static ISurface radialSurface(ICurveI profile)
public static ISurface pointLoft(IVecI[] cps, int deg, double[] knots, IVecI center)
public static ISurface pointLoft(ICurveI profile, IVecI center)
public static void meshType(IMeshType type)
public static IMeshType meshType()
public static IMesh mesh()
public static IMesh mesh(java.util.ArrayList<IVertex> v, java.util.ArrayList<IEdge> e, java.util.ArrayList<IFace> f)
public static IMesh mesh(double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3)
public static IMesh mesh(double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3, double x4, double y4, double z4)
public static IMesh meshFromTriangles(IVecI[][] trianglePts)
public static IMesh meshBox(double x, double y, double z, double size)
public static IMesh meshBox(double x, double y, double z, double width, double height, double depth)
public static IMesh meshBox(IVecI pt1, IVecI pt2, IVecI pt3, IVecI pt4, IVecI pt5, IVecI pt6, IVecI pt7, IVecI pt8)
public static IMesh meshSphere(IVecI center, IVecI topDir, IVecI sideDir, int resolution)
topDir
- length of vector is radius in vertical directionsideDir
- length of vector is radius in holizontal direction. sideDir is re-orthogonalized to topDirpublic static IMesh meshSphere(IVecI center, IVecI topDir, IVecI sideDir)
topDir
- length of vector is radius in vertical directionsideDir
- length of vector is radius in holizontal direction. sideDir is re-orthogonalized to topDirpublic static IMesh meshSphere(IVecI center, IVecI topDir, int resolution)
topDir
- length of vector is radius in vertical directionpublic static IMesh meshSphere(IVecI center, IVecI topDir)
topDir
- length of vector is radius in vertical directionpublic static IMesh meshSphere(IVecI center, IVecI topDir, double radius, int resolution)
public static IMesh meshSphere(IVecI center, IVecI topDir, double topRadius, double sideRadius, int resolution)
public static IMesh meshSphere(IVecI center, IVecI topDir, double topRadius, double sideRadius)
public static IMesh meshSphere(IVecI center, double zradius, double xyradius, int resolution)
public static IMesh meshSphere(IVecI center, double zradius, double xyradius)
public static IMesh meshRectStick(IVecI pt1, IVecI pt2, double width, double height, IVecI heightDir)
heightDir
- it provides reference to the direction of height but actual direction is re-calculated to be perpendicular to pt1-pt2 direction.public static IMesh meshRectStick(IVecI pt1, IVecI pt2, double width, double height)
public static IMesh meshSquareStick(IVecI pt1, IVecI pt2, double width, IVecI heightDir)
heightDir
- it provides reference to the direction of height but actual direction is re-calculated to be perpendicular to pt1-pt2 direction.public static IMesh meshSquareStick(IVecI pt1, IVecI pt2, double width)
public static IMesh meshPolygonStick(IVecI pt1, IVecI pt2, double radius, int polygonVertexNum)
pt1
- center of one side of a stickpt2
- center of another side of a stickpolygonVertexNum
- number of vertex of profile polygonpublic static IMesh meshPolygonStick(IVecI pt1, IVecI pt2, double radius, int polygonVertexNum, IVecI heightDir)
pt1
- center of one side of a stickpt2
- center of another side of a stickpolygonVertexNum
- number of vertex of profile polygonheightDir
- reference vector to locate one of vertex of polygon aligned with this directionpublic static IMesh meshPolygonStick(IVecI pt1, IVecI pt2, double radius1, double radius2, int polygonVertexNum)
pt1
- center of one side of a stickpt2
- center of another side of a stickpolygonVertexNum
- number of vertex of profile polygonpublic static IMesh meshPolygonStick(IVecI pt1, IVecI pt2, double radius1, double radius2, int polygonVertexNum, IVecI heightDir)
pt1
- center of one side of a stickpt2
- center of another side of a stickpolygonVertexNum
- number of vertex of profile polygonheightDir
- reference vector to locate one of vertex of polygon aligned with this directionpublic static IMesh meshPolygonStick(ICurveI railCurve, double radius, int polygonVertexNum, int railSegmentNum)
public static IMesh meshPolygonStick(ICurveI railCurve, double radius, int polygonVertexNum)
public static IMesh meshStick(IVecI pt1, IVecI pt2, double radius1, double radius2)
public static IMesh meshStick(ICurveI railCurve, double radius, int railSegmentNum)
public static IMesh meshRoundStick(IVecI pt1, IVecI pt2, double radius)
public static IMesh meshRoundStick(IVecI pt1, IVecI pt2, double radius1, double radius2)
public static IMesh meshRoundStick(ICurveI railCurve, double radius, int railSegmentNum)
public static IMesh meshSquareStick(ICurveI railCurve, double radius, int railSegmentNum)
public static IMesh meshRectPipe(IVecI pt1, IVecI pt2, IVecI udir, IVecI vdir)
public static IMesh meshRectPipe(IVecI pt1, IVecI pt2, double width, double height, IVecI heightDir)
heightDir
- it provides reference to the direction of height but actual direction is re-calculated to be perpendicular to pt1-pt2 direction.public static IMesh meshRectPipe(IVecI pt1, IVecI pt2, double width, double height)
public static IMesh meshSquarePipe(IVecI pt1, IVecI pt2, double width, IVecI heightDir)
heightDir
- it provides reference to the direction of height but actual direction is re-calculated to be perpendicular to pt1-pt2 direction.public static IMesh meshSquarePipe(IVecI pt1, IVecI pt2, double width)
public static IVec vec()
public static IVec vec(double x, double y, double z)
public static IVec vec(double x, double y)
public static IVec v()
public static IVec v(double x, double y, double z)
public static IVec v(double x, double y)
public static IVec vector()
public static IVec vector(double x, double y, double z)
public static IVec vector(double x, double y)
public static IVec4 vec4()
public static IVec4 vec4(double x, double y, double z, double w)
public static IVec4 v4()
public static IVec4 v4(double x, double y, double z, double w)
public static IVec4 vector4()
public static IVec4 vector4(double x, double y, double z, double w)
public static IVec2 vec2()
public static IVec2 vec2(double x, double y)
public static IVec2 v2()
public static IVec2 v2(double x, double y)
public static IVec2 vector2()
public static IVec2 vector2(double x, double y)
public static IVec[] vec(double x, double y, double z, double... xyzvals)
public static IVec[] v(double x, double y, double z, double... xyzvals)
public static IVec[] vector(double x, double y, double z, double... xyzvals)
public static IVec4[] vec4(double x, double y, double z, double w, double... xyzwvals)
public static IVec4[] vec4(IDoubleI x, IDoubleI y, IDoubleI z, IDoubleI w, IDoubleI... xyzwvals)
public static IVec4[] v4(double x, double y, double z, double w, double... xyzwvals)
public static IVec4[] vector4(double x, double y, double z, double w, double... xyzwvals)
public static IVec4[] vector4(IDoubleI x, IDoubleI y, IDoubleI z, IDoubleI w, IDoubleI... xyzwvals)
public static IVec2[] vec2(double x, double y, double... xyvals)
public static IVec2[] v2(double x, double y, double... xyvals)
public static IVec2[] vector2(double x, double y, double... xyvals)
public static <T> T[] array(T... vals)
public static <T> T[] array(int length, T... vals)
public static <T> T[][] array2(int length1, int length2, T... vals)
public static <T> T[][] array2(int length2, T... vals)
public static <T> T[][][] array3(int length1, int length2, int length3, T... vals)
public static <T> T[][][] array3(int length2, int length3, T... vals)
public static <T> T[] arr(T... vals)
public static <T> T[] arr(int length, T... vals)
public static <T> T[][] arr2(int length1, int length2, T... vals)
public static <T> T[][] arr2(int length2, T... vals)
public static <T> T[][][] arr3(int length1, int length2, int length3, T... vals)
public static <T> T[][][] arr3(int length2, int length3, T... vals)
public static <T> T[] a(T... vals)
public static <T> T[] a(int length, T... vals)
public static <T> T[][] a2(int length1, int length2, T... vals)
public static <T> T[][] a2(int length2, T... vals)
public static <T> T[][][] a3(int length1, int length2, int length3, T... vals)
public static <T> T[][][] a3(int length2, int length3, T... vals)
public static boolean eq(double v1, double v2)
public static boolean eq(double v1, double v2, double tolerance)
public static void initRand(int seed)
public static void initRandByTime()
public static void initRand()
public static void seed(int seed)
public static void seedByTime()
public static void seedRand()
public static double rand()
public static double rand(double max)
public static double rand(double min, double max)
public static float rand(float max)
public static float rand(float min, float max)
public static int rand(int max)
public static int rand(int min, int max)
public static IVec randPt()
public static IVec randPt(double max)
public static IVec randPt(double min, double max)
public static IVec randPt(double maxx, double maxy, double maxz)
public static IVec randPt(double minx, double miny, double maxx, double maxy)
public static IVec randPt(double minx, double miny, double minz, double maxx, double maxy, double maxz)
public static IVec randDir()
public static IVec randDir(double len)
public static IColor randClr()
public static IColor randClr(float alpha)
public static IColor randClr(int alpha)
public static IColor randColor()
public static IColor randColor(float alpha)
public static IColor randColor(int alpha)
public static IColor randGray()
public static IColor randGray(float alpha)
public static IColor randGray(int alpha)
public static <T> T rand(T[] array)
public static <T> T rand(java.util.List<T> array)
public static boolean randPercent(double percent)
public static boolean randPct(double percent)
public static boolean percent(double percent)
public static boolean pct(double percent)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, IColor c, int alpha)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, IColor c, float alpha)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, IColor c, double alpha)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, java.awt.Color c)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, java.awt.Color c, int alpha)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, java.awt.Color c, float alpha)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, java.awt.Color c, double alpha)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, int gray, int alpha)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, float gray, float alpha)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, double gray, double alpha)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, int r, int g, int b)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, double r, double g, double b)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, float r, float g, float b)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, int r, int g, int b, int a)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, double r, double g, double b, double a)
public static java.util.ArrayList<IObject> clr(java.util.ArrayList<IObject> objs, float r, float g, float b, float a)
public static java.util.ArrayList<IObject> hsb(java.util.ArrayList<IObject> objs, float h, float s, float b, float a)
public static java.util.ArrayList<IObject> hsb(java.util.ArrayList<IObject> objs, double h, double s, double b, double a)
public static java.util.ArrayList<IObject> hsb(java.util.ArrayList<IObject> objs, float h, float s, float b)
public static java.util.ArrayList<IObject> hsb(java.util.ArrayList<IObject> objs, double h, double s, double b)
public static java.util.ArrayList<IObject> weight(java.util.ArrayList<IObject> objs, double w)
public static java.util.ArrayList<IObject> weight(java.util.ArrayList<IObject> objs, float w)