public class IBox extends IBrep
| Constructor and Description |
|---|
IBox(double x,
double y,
double z,
double size)
object methods
|
IBox(double x,
double y,
double z,
double w,
double h,
double d) |
IBox(IBox box) |
IBox(IServerI s,
double x,
double y,
double z,
double size) |
IBox(IServerI s,
double x,
double y,
double z,
double w,
double h,
double d) |
IBox(IServerI s,
IBox box) |
IBox(IServerI s,
IVecI[][][] corners) |
IBox(IServerI s,
IVecI origin,
double size) |
IBox(IServerI s,
IVecI origin,
double width,
double height,
double depth) |
IBox(IServerI s,
IVecI origin,
IVecI xvec,
IVecI yvec,
IVecI zvec) |
IBox(IServerI s,
IVecI pt1,
IVecI pt2,
IVecI pt3,
IVecI pt4,
IVecI pt5,
IVecI pt6,
IVecI pt7,
IVecI pt8)
order of points in the argument is going round at the bottom and going round at the top
|
IBox(IVecI[][][] corners) |
IBox(IVecI origin,
double size) |
IBox(IVecI origin,
double width,
double height,
double depth) |
IBox(IVecI origin,
IVecI xvec,
IVecI yvec,
IVecI zvec) |
IBox(IVecI pt1,
IVecI pt2,
IVecI pt3,
IVecI pt4,
IVecI pt5,
IVecI pt6,
IVecI pt7,
IVecI pt8)
order of points in the argument is going round at the bottom and going round at the top
|
| Modifier and Type | Method and Description |
|---|---|
IBox |
add(double x,
double y,
double z)
implementation of ITransformable interface
|
IBox |
add(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IBox |
add(IVecI v) |
IBox |
add(IVecI v,
double f)
scale add
|
IBox |
add(IVecI v,
IDoubleI f)
scale add
|
IBox |
clr(java.awt.Color c) |
IBox |
clr(java.awt.Color c,
int alpha) |
IBox |
clr(double dgray) |
IBox |
clr(double dgray,
double dalpha) |
IBox |
clr(double dr,
double dg,
double db) |
IBox |
clr(double dr,
double dg,
double db,
double da) |
IBox |
clr(float fgray) |
IBox |
clr(float fgray,
float falpha) |
IBox |
clr(float fr,
float fg,
float fb) |
IBox |
clr(float fr,
float fg,
float fb,
float fa) |
IBox |
clr(IColor c)
to set an object color
|
IBox |
clr(IColor c,
double alpha)
to set color, with alpha value overwritten
|
IBox |
clr(IColor c,
float alpha)
to set color, with alpha value overwritten
|
IBox |
clr(IColor c,
int alpha)
to set color, with alpha value overwritten
|
IBox |
clr(int gray) |
IBox |
clr(int gray,
int alpha) |
IBox |
clr(int r,
int g,
int b) |
IBox |
clr(int r,
int g,
int b,
int a) |
IBox |
clr(IObject o)
to set the same color with the object
|
IBox |
cp()
cp() is alias of dup()
|
IBox |
cp(double x,
double y,
double z)
cp() is alias of dup().add()
|
IBox |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IBox |
cp(IVecI v) |
IBox |
div(double v) |
IBox |
div(IDoubleI v) |
IBox |
dup()
duplicate object
|
IBox |
flip()
alias of neg
|
static ISurfaceGeo[] |
getBoxFaces(IVecI[][][] corners)
static methods
|
IBox |
hide() |
IBox |
hsb(double h,
double s,
double b) |
IBox |
hsb(double h,
double s,
double b,
double a) |
IBox |
hsb(float h,
float s,
float b) |
IBox |
hsb(float h,
float s,
float b,
float a) |
IBox |
layer(ILayer l)
Set layer by ILayer object
|
IBox |
mirror(IVecI planeDir)
mirror is alias of ref
|
IBox |
mirror(IVecI center,
IVecI planeDir) |
IBox |
mul(double v) |
IBox |
mul(IDoubleI v) |
IBox |
mv(double x,
double y,
double z)
mv() is alias of add()
|
IBox |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IBox |
mv(IVecI v) |
IBox |
name(java.lang.String nm) |
IBox |
neg() |
IBox |
ref(IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane
|
IBox |
ref(IVecI center,
IVecI planeDir) |
IBox |
rot(IVecI axis,
double angle) |
IBox |
rot(IVecI axis,
IDoubleI angle)
rotation around axis vector
|
IBox |
rot(IVecI axis,
IVecI destDir)
rotate to destination direction vector
|
IBox |
rot(IVecI center,
IVecI axis,
double angle) |
IBox |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
rotation around axis vector and center
|
IBox |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotate to destination point location
|
IBox |
scale(double f) |
IBox |
scale(IDoubleI f)
alias of mul
|
IBox |
scale(IVecI center,
double f) |
IBox |
scale(IVecI center,
IDoubleI f) |
IBox |
scale1d(IVecI axis,
double f)
scale only in 1 direction
|
IBox |
scale1d(IVecI axis,
IDoubleI f) |
IBox |
scale1d(IVecI center,
IVecI axis,
double f) |
IBox |
scale1d(IVecI center,
IVecI axis,
IDoubleI f) |
IBox |
setColor(java.awt.Color c) |
IBox |
setColor(java.awt.Color c,
int alpha) |
IBox |
setColor(double dgray) |
IBox |
setColor(double dgray,
double dalpha) |
IBox |
setColor(double dr,
double dg,
double db) |
IBox |
setColor(double dr,
double dg,
double db,
double da) |
IBox |
setColor(float fgray) |
IBox |
setColor(float fr,
float fg,
float fb) |
IBox |
setColor(float fr,
float fg,
float fb,
float fa) |
IBox |
setColor(float fgray,
int falpha) |
IBox |
setColor(int gray) |
IBox |
setColor(int gray,
int alpha) |
IBox |
setColor(int r,
int g,
int b) |
IBox |
setColor(int r,
int g,
int b,
int a) |
IBox |
setHSBColor(double h,
double s,
double b) |
IBox |
setHSBColor(double h,
double s,
double b,
double a) |
IBox |
setHSBColor(float h,
float s,
float b) |
IBox |
setHSBColor(float h,
float s,
float b,
float a) |
IBox |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation
|
IBox |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz) |
IBox |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz) |
IBox |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz) |
IBox |
shearXY(double sxy,
double syx) |
IBox |
shearXY(IDoubleI sxy,
IDoubleI syx) |
IBox |
shearXY(IVecI center,
double sxy,
double syx) |
IBox |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx) |
IBox |
shearYZ(double syz,
double szy) |
IBox |
shearYZ(IDoubleI syz,
IDoubleI szy) |
IBox |
shearYZ(IVecI center,
double syz,
double szy) |
IBox |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy) |
IBox |
shearZX(double szx,
double sxz) |
IBox |
shearZX(IDoubleI szx,
IDoubleI sxz) |
IBox |
shearZX(IVecI center,
double szx,
double sxz) |
IBox |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz) |
IBox |
show() |
IBox |
sub(double x,
double y,
double z) |
IBox |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IBox |
sub(IVecI v) |
IBox |
transform(IMatrix3I mat) |
IBox |
transform(IMatrix4I mat) |
IBox |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec) |
IBox |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate) |
IBox |
translate(double x,
double y,
double z)
translate() is alias of add()
|
IBox |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IBox |
translate(IVecI v) |
IBox |
weight(double w) |
IBox |
weight(float w) |
add, add, attr, center, checkDuplicatedPoints, clr, clr, createGraphic, initBrep, initBrepWithCurve, initBrepWithPoint, initBrepWithSurface, initBrepWithSurfaceGeo, isValid, layer, rot, rot, rot2, rot2, rot2, rot2, rot2, rot2, setColor, setColor, setColor, setColor, setColor, setColor, surface, surfaceNum, surfacesaddDynamics, addUserData, addUserData, alpha, alphaInt, attr, attr, awtColor, blue, blueInt, brightness, castStringHashMap, clearDynamics, clearGraphics, clr, defaultAttribute, del, deletDynamics, deleteDynamics, deleteDynamics, deleteGraphic, dynamicsNum, getAWTColor, getColor, getDynamics, getGraphic, getGraphic, getParameter, graphicsNum, gray, grayInt, green, greenInt, grey, greyInt, hue, initGraphic, initObject, isVisible, layer, name, red, redInt, resetGraphic, saturation, server, setParameter, setTexture, syncColor, syncGraphic, syncVisibility, syncWeight, texture, updateGraphic, userData, userData, userData, userDataNum, visible, weightpublic IBox(double x,
double y,
double z,
double size)
public IBox(double x,
double y,
double z,
double w,
double h,
double d)
public IBox(IVecI origin, double size)
public IBox(IVecI origin, double width, double height, double depth)
public IBox(IVecI pt1, IVecI pt2, IVecI pt3, IVecI pt4, IVecI pt5, IVecI pt6, IVecI pt7, IVecI pt8)
public IBox(IVecI[][][] corners)
public IBox(IServerI s, double x, double y, double z, double size)
public IBox(IServerI s, double x, double y, double z, double w, double h, double d)
public IBox(IServerI s, IVecI pt1, IVecI pt2, IVecI pt3, IVecI pt4, IVecI pt5, IVecI pt6, IVecI pt7, IVecI pt8)
public IBox(IBox box)
public static ISurfaceGeo[] getBoxFaces(IVecI[][][] corners)
public IBox dup()
IObjectdup in interface ITransformabledup in class IBreppublic IBox layer(ILayer l)
IGeometrypublic IBox clr(IColor c, int alpha)
IObjectpublic IBox clr(IColor c, float alpha)
IObjectpublic IBox clr(IColor c, double alpha)
IObjectpublic IBox clr(IObject o)
IObjectpublic IBox setColor(float fr, float fg, float fb, float fa)
public IBox setColor(double dr, double dg, double db, double da)
public IBox setHSBColor(float h, float s, float b, float a)
setHSBColor in class IBreppublic IBox setHSBColor(double h, double s, double b, double a)
setHSBColor in class IBreppublic IBox setHSBColor(float h, float s, float b)
setHSBColor in class IBreppublic IBox setHSBColor(double h, double s, double b)
setHSBColor in class IBreppublic IBox add(double x, double y, double z)
add in interface ITransformableadd in class IBreppublic IBox add(IDoubleI x, IDoubleI y, IDoubleI z)
add in interface ITransformableadd in class IBreppublic IBox add(IVecI v)
add in interface ITransformableadd in class IBreppublic IBox sub(double x, double y, double z)
sub in interface ITransformablesub in class IBreppublic IBox sub(IDoubleI x, IDoubleI y, IDoubleI z)
sub in interface ITransformablesub in class IBreppublic IBox sub(IVecI v)
sub in interface ITransformablesub in class IBreppublic IBox mul(IDoubleI v)
mul in interface ITransformablemul in class IBreppublic IBox mul(double v)
mul in interface ITransformablemul in class IBreppublic IBox div(IDoubleI v)
div in interface ITransformablediv in class IBreppublic IBox div(double v)
div in interface ITransformablediv in class IBreppublic IBox neg()
neg in interface ITransformableneg in class IBreppublic IBox flip()
flip in interface ITransformableflip in class IBreppublic IBox add(IVecI v, double f)
add in interface ITransformableadd in class IBreppublic IBox add(IVecI v, IDoubleI f)
IGeometryadd in interface ITransformableadd in class IBreppublic IBox rot(IVecI axis, IDoubleI angle)
IGeometryrot in interface ITransformablerot in class IBreppublic IBox rot(IVecI axis, double angle)
rot in interface ITransformablerot in class IBreppublic IBox rot(IVecI center, IVecI axis, IDoubleI angle)
IGeometryrot in interface ITransformablerot in class IBreppublic IBox rot(IVecI center, IVecI axis, double angle)
rot in interface ITransformablerot in class IBreppublic IBox rot(IVecI axis, IVecI destDir)
rot in interface ITransformablerot in class IBreppublic IBox rot(IVecI center, IVecI axis, IVecI destPt)
rot in interface ITransformablerot in class IBreppublic IBox scale(IDoubleI f)
scale in interface ITransformablescale in class IBreppublic IBox scale(double f)
scale in interface ITransformablescale in class IBreppublic IBox scale(IVecI center, IDoubleI f)
scale in interface ITransformablescale in class IBreppublic IBox scale(IVecI center, double f)
scale in interface ITransformablescale in class IBreppublic IBox scale1d(IVecI axis, double f)
scale1d in interface ITransformablescale1d in class IBreppublic IBox scale1d(IVecI axis, IDoubleI f)
scale1d in interface ITransformablescale1d in class IBreppublic IBox scale1d(IVecI center, IVecI axis, double f)
scale1d in interface ITransformablescale1d in class IBreppublic IBox scale1d(IVecI center, IVecI axis, IDoubleI f)
scale1d in interface ITransformablescale1d in class IBreppublic IBox ref(IVecI planeDir)
ref in interface ITransformableref in class IBreppublic IBox ref(IVecI center, IVecI planeDir)
ref in interface ITransformableref in class IBreppublic IBox mirror(IVecI planeDir)
mirror in interface ITransformablemirror in class IBreppublic IBox mirror(IVecI center, IVecI planeDir)
mirror in interface ITransformablemirror in class IBreppublic IBox shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
shear in interface ITransformableshear in class IBreppublic IBox shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear in interface ITransformableshear in class IBreppublic IBox shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
shear in interface ITransformableshear in class IBreppublic IBox shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear in interface ITransformableshear in class IBreppublic IBox shearXY(double sxy, double syx)
shearXY in interface ITransformableshearXY in class IBreppublic IBox shearXY(IDoubleI sxy, IDoubleI syx)
shearXY in interface ITransformableshearXY in class IBreppublic IBox shearXY(IVecI center, double sxy, double syx)
shearXY in interface ITransformableshearXY in class IBreppublic IBox shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
shearXY in interface ITransformableshearXY in class IBreppublic IBox shearYZ(double syz, double szy)
shearYZ in interface ITransformableshearYZ in class IBreppublic IBox shearYZ(IDoubleI syz, IDoubleI szy)
shearYZ in interface ITransformableshearYZ in class IBreppublic IBox shearYZ(IVecI center, double syz, double szy)
shearYZ in interface ITransformableshearYZ in class IBreppublic IBox shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
shearYZ in interface ITransformableshearYZ in class IBreppublic IBox shearZX(double szx, double sxz)
shearZX in interface ITransformableshearZX in class IBreppublic IBox shearZX(IDoubleI szx, IDoubleI sxz)
shearZX in interface ITransformableshearZX in class IBreppublic IBox shearZX(IVecI center, double szx, double sxz)
shearZX in interface ITransformableshearZX in class IBreppublic IBox shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
shearZX in interface ITransformableshearZX in class IBreppublic IBox mv(double x, double y, double z)
mv in interface ITransformablemv in class IBreppublic IBox mv(IDoubleI x, IDoubleI y, IDoubleI z)
mv in interface ITransformablemv in class IBreppublic IBox mv(IVecI v)
mv in interface ITransformablemv in class IBreppublic IBox cp()
cp in interface ITransformablecp in class IBreppublic IBox cp(double x, double y, double z)
cp in interface ITransformablecp in class IBreppublic IBox cp(IDoubleI x, IDoubleI y, IDoubleI z)
cp in interface ITransformablecp in class IBreppublic IBox cp(IVecI v)
cp in interface ITransformablecp in class IBreppublic IBox translate(double x, double y, double z)
translate in interface ITransformabletranslate in class IBreppublic IBox translate(IDoubleI x, IDoubleI y, IDoubleI z)
translate in interface ITransformabletranslate in class IBreppublic IBox translate(IVecI v)
translate in interface ITransformabletranslate in class IBreppublic IBox transform(IMatrix3I mat)
transform in interface ITransformabletransform in class IBreppublic IBox transform(IMatrix4I mat)
transform in interface ITransformabletransform in class IBreppublic IBox transform(IVecI xvec, IVecI yvec, IVecI zvec)
transform in interface ITransformabletransform in class IBrep