public class IBrep extends IGeometry implements ITransformable
| Modifier and Type | Field and Description |
|---|---|
boolean |
solid
seams defines connection of surfaces (?)
|
ISurfaceGeo[] |
surfaces |
| Constructor and Description |
|---|
IBrep(IBrep brep) |
IBrep(ICurveI[] outlines) |
IBrep(ICurveI[] outlines,
ICurveI[][] holes) |
IBrep(IServerI s,
IBrep brep) |
IBrep(IServerI s,
ICurveI[] outlines) |
IBrep(IServerI s,
ICurveI[] outlines,
ICurveI[][] holes) |
IBrep(IServerI s,
ISurface[] srfs) |
IBrep(IServerI s,
ISurfaceGeo[] srfs) |
IBrep(IServerI s,
IVecI[][] outlinePoints) |
IBrep(ISurface[] srfs) |
IBrep(ISurfaceGeo[] srfs) |
IBrep(IVecI[][] outlinePoints) |
| Modifier and Type | Method and Description |
|---|---|
IBrep |
add(double x,
double y,
double z)
implementation of ITransformable interface
|
IBrep |
add(double f,
IVecI v)
scale add alias
|
IBrep |
add(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IBrep |
add(IDoubleI f,
IVecI v)
scale add alias
|
IBrep |
add(IVecI v) |
IBrep |
add(IVecI v,
double f)
scale add
|
IBrep |
add(IVecI v,
IDoubleI f)
scale add
|
IBrep |
attr(IAttribute at)
set attributes
|
IVecI |
center()
calculate center by taking average of centers of all surfaces
|
void |
checkDuplicatedPoints() |
IBrep |
clr(java.awt.Color c) |
IBrep |
clr(java.awt.Color c,
double alpha) |
IBrep |
clr(java.awt.Color c,
float alpha) |
IBrep |
clr(java.awt.Color c,
int alpha) |
IBrep |
clr(double dgray) |
IBrep |
clr(double dgray,
double dalpha) |
IBrep |
clr(double dr,
double dg,
double db) |
IBrep |
clr(double dr,
double dg,
double db,
double da) |
IBrep |
clr(float fgray) |
IBrep |
clr(float fgray,
float falpha) |
IBrep |
clr(float fr,
float fg,
float fb) |
IBrep |
clr(float fr,
float fg,
float fb,
float fa) |
IBrep |
clr(IColor c)
to set an object color
|
IBrep |
clr(IColor c,
double alpha)
to set color, with alpha value overwritten
|
IBrep |
clr(IColor c,
float alpha)
to set color, with alpha value overwritten
|
IBrep |
clr(IColor c,
int alpha)
to set color, with alpha value overwritten
|
IBrep |
clr(int gray) |
IBrep |
clr(int gray,
int alpha) |
IBrep |
clr(int r,
int g,
int b) |
IBrep |
clr(int r,
int g,
int b,
int a) |
IBrep |
clr(IObject o)
to set the same color with the object
|
IBrep |
cp()
cp() is alias of dup()
|
IBrep |
cp(double x,
double y,
double z)
cp() is alias of dup().add()
|
IBrep |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IBrep |
cp(IVecI v) |
IGraphicObject |
createGraphic(igeo.gui.IGraphicMode m) |
IBrep |
div(double v) |
IBrep |
div(IDoubleI v) |
IBrep |
dup()
duplicate object
|
IBrep |
flip()
alias of neg
|
IBrep |
hide() |
IBrep |
hsb(double h,
double s,
double b) |
IBrep |
hsb(double h,
double s,
double b,
double a) |
IBrep |
hsb(float h,
float s,
float b) |
IBrep |
hsb(float h,
float s,
float b,
float a) |
void |
initBrep(IServerI s) |
void |
initBrepWithCurve(IServerI s,
ICurveI[] outlines,
ICurveI[][] holes) |
void |
initBrepWithPoint(IServerI s,
IVecI[][] points) |
void |
initBrepWithSurface(IServerI s,
ISurface[] srfs) |
void |
initBrepWithSurfaceGeo(IServerI s,
ISurfaceGeo[] srfs) |
boolean |
isValid()
checking parameters validity.
|
IBrep |
layer(ILayer l)
Set layer by ILayer object
|
IBrep |
layer(java.lang.String l)
Set layer by layer name.
|
IBrep |
mirror(IVecI planeDir)
mirror is alias of ref
|
IBrep |
mirror(IVecI center,
IVecI planeDir) |
IBrep |
mul(double v) |
IBrep |
mul(IDoubleI v) |
IBrep |
mv(double x,
double y,
double z)
mv() is alias of add()
|
IBrep |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IBrep |
mv(IVecI v) |
IBrep |
name(java.lang.String nm) |
IBrep |
neg() |
IBrep |
ref(IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane
|
IBrep |
ref(IVecI center,
IVecI planeDir) |
IBrep |
rot(double angle) |
IBrep |
rot(IDoubleI angle)
rotation around z-axis and origin
|
IBrep |
rot(IVecI axis,
double angle) |
IBrep |
rot(IVecI axis,
IDoubleI angle)
rotation around axis vector
|
IBrep |
rot(IVecI axis,
IVecI destDir)
rotate to destination direction vector
|
IBrep |
rot(IVecI center,
IVecI axis,
double angle) |
IBrep |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
rotation around axis vector and center
|
IBrep |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotate to destination point location
|
IBrep |
rot2(double angle)
rotation on xy-plane around origin; same with rot(double)
|
IBrep |
rot2(IDoubleI angle)
rotation on xy-plane around origin; same with rot(IDoubleI)
|
IBrep |
rot2(IVecI destDir)
rotation on xy-plane to destination direction vector
|
IBrep |
rot2(IVecI center,
double angle) |
IBrep |
rot2(IVecI center,
IDoubleI angle)
rotation on xy-plane around center
|
IBrep |
rot2(IVecI center,
IVecI destPt)
rotation on xy-plane to destination point location
|
IBrep |
scale(double f) |
IBrep |
scale(IDoubleI f)
alias of mul
|
IBrep |
scale(IVecI center,
double f) |
IBrep |
scale(IVecI center,
IDoubleI f) |
IBrep |
scale1d(IVecI axis,
double f)
scale only in 1 direction
|
IBrep |
scale1d(IVecI axis,
IDoubleI f) |
IBrep |
scale1d(IVecI center,
IVecI axis,
double f) |
IBrep |
scale1d(IVecI center,
IVecI axis,
IDoubleI f) |
IBrep |
setColor(java.awt.Color c) |
IBrep |
setColor(java.awt.Color c,
double alpha) |
IBrep |
setColor(java.awt.Color c,
float alpha) |
IBrep |
setColor(java.awt.Color c,
int alpha) |
IBrep |
setColor(double dgray) |
IBrep |
setColor(double dgray,
double dalpha) |
IBrep |
setColor(double dr,
double dg,
double db) |
IBrep |
setColor(double dr,
double dg,
double db,
double da) |
IBrep |
setColor(float fgray) |
IBrep |
setColor(float fr,
float fg,
float fb) |
IBrep |
setColor(float fr,
float fg,
float fb,
float fa) |
IBrep |
setColor(float fgray,
int falpha) |
IBrep |
setColor(IColor c) |
IBrep |
setColor(IColor c,
double alpha) |
IBrep |
setColor(IColor c,
float alpha) |
IBrep |
setColor(IColor c,
int alpha) |
IBrep |
setColor(int gray) |
IBrep |
setColor(int gray,
int alpha) |
IBrep |
setColor(int r,
int g,
int b) |
IBrep |
setColor(int r,
int g,
int b,
int a) |
IBrep |
setHSBColor(double h,
double s,
double b) |
IBrep |
setHSBColor(double h,
double s,
double b,
double a) |
IBrep |
setHSBColor(float h,
float s,
float b) |
IBrep |
setHSBColor(float h,
float s,
float b,
float a) |
IBrep |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation
|
IBrep |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz) |
IBrep |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz) |
IBrep |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz) |
IBrep |
shearXY(double sxy,
double syx) |
IBrep |
shearXY(IDoubleI sxy,
IDoubleI syx) |
IBrep |
shearXY(IVecI center,
double sxy,
double syx) |
IBrep |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx) |
IBrep |
shearYZ(double syz,
double szy) |
IBrep |
shearYZ(IDoubleI syz,
IDoubleI szy) |
IBrep |
shearYZ(IVecI center,
double syz,
double szy) |
IBrep |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy) |
IBrep |
shearZX(double szx,
double sxz) |
IBrep |
shearZX(IDoubleI szx,
IDoubleI sxz) |
IBrep |
shearZX(IVecI center,
double szx,
double sxz) |
IBrep |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz) |
IBrep |
show() |
IBrep |
sub(double x,
double y,
double z) |
IBrep |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IBrep |
sub(IVecI v) |
ISurfaceGeo |
surface(int i) |
int |
surfaceNum() |
ISurfaceGeo[] |
surfaces() |
IBrep |
transform(IMatrix3I mat) |
IBrep |
transform(IMatrix4I mat) |
IBrep |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec) |
IBrep |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate) |
IBrep |
translate(double x,
double y,
double z)
translate() is alias of add()
|
IBrep |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IBrep |
translate(IVecI v) |
IBrep |
weight(double w) |
IBrep |
weight(float w) |
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, weightpublic ISurfaceGeo[] surfaces
public boolean solid
public IBrep(IServerI s, ISurfaceGeo[] srfs)
public IBrep(ISurfaceGeo[] srfs)
public IBrep(IBrep brep)
public IBrep(ISurface[] srfs)
public IBrep(ICurveI[] outlines)
public IBrep(IVecI[][] outlinePoints)
public void initBrep(IServerI s)
public void initBrepWithSurfaceGeo(IServerI s, ISurfaceGeo[] srfs)
public void checkDuplicatedPoints()
public IGraphicObject createGraphic(igeo.gui.IGraphicMode m)
createGraphic in class IObjectpublic ISurfaceGeo surface(int i)
public int surfaceNum()
public ISurfaceGeo[] surfaces()
public IBrep dup()
IObjectdup in interface ITransformabledup in class IGeometrypublic IVecI center()
public IBrep layer(ILayer l)
IGeometrypublic IBrep layer(java.lang.String l)
IGeometrypublic IBrep attr(IAttribute at)
IObjectpublic IBrep clr(IColor c, int alpha)
IObjectpublic IBrep clr(IColor c, float alpha)
IObjectpublic IBrep clr(IColor c, double alpha)
IObjectpublic IBrep clr(IObject o)
IObjectpublic IBrep setColor(float fgray, int falpha)
public IBrep setColor(double dr, double dg, double db)
public IBrep setColor(float fr, float fg, float fb, float fa)
public IBrep setColor(double dr, double dg, double db, double da)
public IBrep setHSBColor(float h, float s, float b, float a)
setHSBColor in class IGeometrypublic IBrep setHSBColor(double h, double s, double b, double a)
setHSBColor in class IGeometrypublic IBrep setHSBColor(float h, float s, float b)
setHSBColor in class IGeometrypublic IBrep setHSBColor(double h, double s, double b)
setHSBColor in class IGeometrypublic IBrep add(double x, double y, double z)
add in interface ITransformableadd in class IGeometrypublic IBrep add(IDoubleI x, IDoubleI y, IDoubleI z)
add in interface ITransformableadd in class IGeometrypublic IBrep add(IVecI v)
add in interface ITransformableadd in class IGeometrypublic IBrep sub(double x, double y, double z)
sub in interface ITransformablesub in class IGeometrypublic IBrep sub(IDoubleI x, IDoubleI y, IDoubleI z)
sub in interface ITransformablesub in class IGeometrypublic IBrep sub(IVecI v)
sub in interface ITransformablesub in class IGeometrypublic IBrep mul(IDoubleI v)
mul in interface ITransformablemul in class IGeometrypublic IBrep mul(double v)
mul in interface ITransformablemul in class IGeometrypublic IBrep div(IDoubleI v)
div in interface ITransformablediv in class IGeometrypublic IBrep div(double v)
div in interface ITransformablediv in class IGeometrypublic IBrep neg()
neg in interface ITransformableneg in class IGeometrypublic IBrep flip()
flip in interface ITransformableflip in class IGeometrypublic IBrep add(IVecI v, double f)
add in interface ITransformableadd in class IGeometrypublic IBrep add(IVecI v, IDoubleI f)
IGeometryadd in interface ITransformableadd in class IGeometrypublic IBrep add(double f, IVecI v)
add in interface ITransformableadd in class IGeometrypublic IBrep add(IDoubleI f, IVecI v)
IGeometryadd in interface ITransformableadd in class IGeometrypublic IBrep rot(IDoubleI angle)
IGeometryrot in interface ITransformablerot in class IGeometrypublic IBrep rot(double angle)
rot in interface ITransformablerot in class IGeometrypublic IBrep rot(IVecI axis, IDoubleI angle)
IGeometryrot in interface ITransformablerot in class IGeometrypublic IBrep rot(IVecI axis, double angle)
rot in interface ITransformablerot in class IGeometrypublic IBrep rot(IVecI center, IVecI axis, IDoubleI angle)
IGeometryrot in interface ITransformablerot in class IGeometrypublic IBrep rot(IVecI center, IVecI axis, double angle)
rot in interface ITransformablerot in class IGeometrypublic IBrep rot(IVecI axis, IVecI destDir)
rot in interface ITransformablerot in class IGeometrypublic IBrep rot(IVecI center, IVecI axis, IVecI destPt)
rot in interface ITransformablerot in class IGeometrypublic IBrep rot2(IDoubleI angle)
IGeometryrot2 in interface ITransformablerot2 in class IGeometrypublic IBrep rot2(double angle)
IGeometryrot2 in interface ITransformablerot2 in class IGeometrypublic IBrep rot2(IVecI center, IDoubleI angle)
IGeometryrot2 in interface ITransformablerot2 in class IGeometrypublic IBrep rot2(IVecI center, double angle)
rot2 in interface ITransformablerot2 in class IGeometrypublic IBrep rot2(IVecI destDir)
rot2 in interface ITransformablerot2 in class IGeometrypublic IBrep rot2(IVecI center, IVecI destPt)
rot2 in interface ITransformablerot2 in class IGeometrypublic IBrep scale(IDoubleI f)
scale in interface ITransformablescale in class IGeometrypublic IBrep scale(double f)
scale in interface ITransformablescale in class IGeometrypublic IBrep scale(IVecI center, IDoubleI f)
scale in interface ITransformablescale in class IGeometrypublic IBrep scale(IVecI center, double f)
scale in interface ITransformablescale in class IGeometrypublic IBrep scale1d(IVecI axis, double f)
scale1d in interface ITransformablescale1d in class IGeometrypublic IBrep scale1d(IVecI axis, IDoubleI f)
scale1d in interface ITransformablescale1d in class IGeometrypublic IBrep scale1d(IVecI center, IVecI axis, double f)
scale1d in interface ITransformablescale1d in class IGeometrypublic IBrep scale1d(IVecI center, IVecI axis, IDoubleI f)
scale1d in interface ITransformablescale1d in class IGeometrypublic IBrep ref(IVecI planeDir)
ref in interface ITransformableref in class IGeometrypublic IBrep ref(IVecI center, IVecI planeDir)
ref in interface ITransformableref in class IGeometrypublic IBrep mirror(IVecI planeDir)
mirror in interface ITransformablemirror in class IGeometrypublic IBrep mirror(IVecI center, IVecI planeDir)
mirror in interface ITransformablemirror in class IGeometrypublic IBrep shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
shear in interface ITransformableshear in class IGeometrypublic IBrep shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear in interface ITransformableshear in class IGeometrypublic IBrep shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
shear in interface ITransformableshear in class IGeometrypublic IBrep shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear in interface ITransformableshear in class IGeometrypublic IBrep shearXY(double sxy, double syx)
shearXY in interface ITransformableshearXY in class IGeometrypublic IBrep shearXY(IDoubleI sxy, IDoubleI syx)
shearXY in interface ITransformableshearXY in class IGeometrypublic IBrep shearXY(IVecI center, double sxy, double syx)
shearXY in interface ITransformableshearXY in class IGeometrypublic IBrep shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
shearXY in interface ITransformableshearXY in class IGeometrypublic IBrep shearYZ(double syz, double szy)
shearYZ in interface ITransformableshearYZ in class IGeometrypublic IBrep shearYZ(IDoubleI syz, IDoubleI szy)
shearYZ in interface ITransformableshearYZ in class IGeometrypublic IBrep shearYZ(IVecI center, double syz, double szy)
shearYZ in interface ITransformableshearYZ in class IGeometrypublic IBrep shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
shearYZ in interface ITransformableshearYZ in class IGeometrypublic IBrep shearZX(double szx, double sxz)
shearZX in interface ITransformableshearZX in class IGeometrypublic IBrep shearZX(IDoubleI szx, IDoubleI sxz)
shearZX in interface ITransformableshearZX in class IGeometrypublic IBrep shearZX(IVecI center, double szx, double sxz)
shearZX in interface ITransformableshearZX in class IGeometrypublic IBrep shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
shearZX in interface ITransformableshearZX in class IGeometrypublic IBrep mv(double x, double y, double z)
mv in interface ITransformablemv in class IGeometrypublic IBrep mv(IDoubleI x, IDoubleI y, IDoubleI z)
mv in interface ITransformablemv in class IGeometrypublic IBrep mv(IVecI v)
mv in interface ITransformablemv in class IGeometrypublic IBrep cp()
cp in interface ITransformablecp in class IGeometrypublic IBrep cp(double x, double y, double z)
cp in interface ITransformablecp in class IGeometrypublic IBrep cp(IDoubleI x, IDoubleI y, IDoubleI z)
cp in interface ITransformablecp in class IGeometrypublic IBrep cp(IVecI v)
cp in interface ITransformablecp in class IGeometrypublic IBrep translate(double x, double y, double z)
translate in interface ITransformabletranslate in class IGeometrypublic IBrep translate(IDoubleI x, IDoubleI y, IDoubleI z)
translate in interface ITransformabletranslate in class IGeometrypublic IBrep translate(IVecI v)
translate in interface ITransformabletranslate in class IGeometrypublic IBrep transform(IMatrix3I mat)
transform in interface ITransformabletransform in class IGeometrypublic IBrep transform(IMatrix4I mat)
transform in interface ITransformabletransform in class IGeometrypublic IBrep transform(IVecI xvec, IVecI yvec, IVecI zvec)
transform in interface ITransformabletransform in class IGeometry