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, surfaces
addDynamics, 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, weight
public 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()
IObject
dup
in interface ITransformable
dup
in class IBrep
public IBox layer(ILayer l)
IGeometry
public IBox clr(IColor c, int alpha)
IObject
public IBox clr(IColor c, float alpha)
IObject
public IBox clr(IColor c, double alpha)
IObject
public IBox clr(IObject o)
IObject
public 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 IBrep
public IBox setHSBColor(double h, double s, double b, double a)
setHSBColor
in class IBrep
public IBox setHSBColor(float h, float s, float b)
setHSBColor
in class IBrep
public IBox setHSBColor(double h, double s, double b)
setHSBColor
in class IBrep
public IBox add(double x, double y, double z)
add
in interface ITransformable
add
in class IBrep
public IBox add(IDoubleI x, IDoubleI y, IDoubleI z)
add
in interface ITransformable
add
in class IBrep
public IBox add(IVecI v)
add
in interface ITransformable
add
in class IBrep
public IBox sub(double x, double y, double z)
sub
in interface ITransformable
sub
in class IBrep
public IBox sub(IDoubleI x, IDoubleI y, IDoubleI z)
sub
in interface ITransformable
sub
in class IBrep
public IBox sub(IVecI v)
sub
in interface ITransformable
sub
in class IBrep
public IBox mul(IDoubleI v)
mul
in interface ITransformable
mul
in class IBrep
public IBox mul(double v)
mul
in interface ITransformable
mul
in class IBrep
public IBox div(IDoubleI v)
div
in interface ITransformable
div
in class IBrep
public IBox div(double v)
div
in interface ITransformable
div
in class IBrep
public IBox neg()
neg
in interface ITransformable
neg
in class IBrep
public IBox flip()
flip
in interface ITransformable
flip
in class IBrep
public IBox add(IVecI v, double f)
add
in interface ITransformable
add
in class IBrep
public IBox add(IVecI v, IDoubleI f)
IGeometry
add
in interface ITransformable
add
in class IBrep
public IBox rot(IVecI axis, IDoubleI angle)
IGeometry
rot
in interface ITransformable
rot
in class IBrep
public IBox rot(IVecI axis, double angle)
rot
in interface ITransformable
rot
in class IBrep
public IBox rot(IVecI center, IVecI axis, IDoubleI angle)
IGeometry
rot
in interface ITransformable
rot
in class IBrep
public IBox rot(IVecI center, IVecI axis, double angle)
rot
in interface ITransformable
rot
in class IBrep
public IBox rot(IVecI axis, IVecI destDir)
rot
in interface ITransformable
rot
in class IBrep
public IBox rot(IVecI center, IVecI axis, IVecI destPt)
rot
in interface ITransformable
rot
in class IBrep
public IBox scale(IDoubleI f)
scale
in interface ITransformable
scale
in class IBrep
public IBox scale(double f)
scale
in interface ITransformable
scale
in class IBrep
public IBox scale(IVecI center, IDoubleI f)
scale
in interface ITransformable
scale
in class IBrep
public IBox scale(IVecI center, double f)
scale
in interface ITransformable
scale
in class IBrep
public IBox scale1d(IVecI axis, double f)
scale1d
in interface ITransformable
scale1d
in class IBrep
public IBox scale1d(IVecI axis, IDoubleI f)
scale1d
in interface ITransformable
scale1d
in class IBrep
public IBox scale1d(IVecI center, IVecI axis, double f)
scale1d
in interface ITransformable
scale1d
in class IBrep
public IBox scale1d(IVecI center, IVecI axis, IDoubleI f)
scale1d
in interface ITransformable
scale1d
in class IBrep
public IBox ref(IVecI planeDir)
ref
in interface ITransformable
ref
in class IBrep
public IBox ref(IVecI center, IVecI planeDir)
ref
in interface ITransformable
ref
in class IBrep
public IBox mirror(IVecI planeDir)
mirror
in interface ITransformable
mirror
in class IBrep
public IBox mirror(IVecI center, IVecI planeDir)
mirror
in interface ITransformable
mirror
in class IBrep
public IBox shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
shear
in class IBrep
public IBox shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear
in interface ITransformable
shear
in class IBrep
public IBox shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
shear
in class IBrep
public IBox shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear
in interface ITransformable
shear
in class IBrep
public IBox shearXY(double sxy, double syx)
shearXY
in interface ITransformable
shearXY
in class IBrep
public IBox shearXY(IDoubleI sxy, IDoubleI syx)
shearXY
in interface ITransformable
shearXY
in class IBrep
public IBox shearXY(IVecI center, double sxy, double syx)
shearXY
in interface ITransformable
shearXY
in class IBrep
public IBox shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
shearXY
in interface ITransformable
shearXY
in class IBrep
public IBox shearYZ(double syz, double szy)
shearYZ
in interface ITransformable
shearYZ
in class IBrep
public IBox shearYZ(IDoubleI syz, IDoubleI szy)
shearYZ
in interface ITransformable
shearYZ
in class IBrep
public IBox shearYZ(IVecI center, double syz, double szy)
shearYZ
in interface ITransformable
shearYZ
in class IBrep
public IBox shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
shearYZ
in interface ITransformable
shearYZ
in class IBrep
public IBox shearZX(double szx, double sxz)
shearZX
in interface ITransformable
shearZX
in class IBrep
public IBox shearZX(IDoubleI szx, IDoubleI sxz)
shearZX
in interface ITransformable
shearZX
in class IBrep
public IBox shearZX(IVecI center, double szx, double sxz)
shearZX
in interface ITransformable
shearZX
in class IBrep
public IBox shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
shearZX
in interface ITransformable
shearZX
in class IBrep
public IBox mv(double x, double y, double z)
mv
in interface ITransformable
mv
in class IBrep
public IBox mv(IDoubleI x, IDoubleI y, IDoubleI z)
mv
in interface ITransformable
mv
in class IBrep
public IBox mv(IVecI v)
mv
in interface ITransformable
mv
in class IBrep
public IBox cp()
cp
in interface ITransformable
cp
in class IBrep
public IBox cp(double x, double y, double z)
cp
in interface ITransformable
cp
in class IBrep
public IBox cp(IDoubleI x, IDoubleI y, IDoubleI z)
cp
in interface ITransformable
cp
in class IBrep
public IBox cp(IVecI v)
cp
in interface ITransformable
cp
in class IBrep
public IBox translate(double x, double y, double z)
translate
in interface ITransformable
translate
in class IBrep
public IBox translate(IDoubleI x, IDoubleI y, IDoubleI z)
translate
in interface ITransformable
translate
in class IBrep
public IBox translate(IVecI v)
translate
in interface ITransformable
translate
in class IBrep
public IBox transform(IMatrix3I mat)
transform
in interface ITransformable
transform
in class IBrep
public IBox transform(IMatrix4I mat)
transform
in interface ITransformable
transform
in class IBrep
public IBox transform(IVecI xvec, IVecI yvec, IVecI zvec)
transform
in interface ITransformable
transform
in class IBrep