|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectigeo.IObject
igeo.IGeometry
igeo.IBrep
public class IBrep
Class BRep (Boundary Representation) of IObject. Implementation of BRep is not complete yet. To be completed later.
| Field Summary | |
|---|---|
boolean |
solid
seams defines connection of surfaces (?) |
ISurfaceGeo[] |
surfaces
|
| Fields inherited from class igeo.IObject |
|---|
attribute, dynamics, graphics, parameter, server |
| Constructor Summary | |
|---|---|
IBrep(IBrep brep)
|
|
IBrep(IServerI s,
IBrep brep)
|
|
IBrep(IServerI s,
ISurfaceGeo[] srfs)
|
|
IBrep(ISurfaceGeo[] srfs)
|
|
| Method Summary | |
|---|---|
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,
int alpha)
to set color, with alpha value overwritten |
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(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 |
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(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)
|
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,
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(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)
|
| Methods inherited from class igeo.IGeometry |
|---|
setColor |
| Methods inherited from class igeo.IObject |
|---|
addDynamics, alpha, alphaInt, attr, attr, blue, blueInt, clearDynamics, clearGraphics, clr, clr, del, deletDynamics, deleteDynamics, deleteDynamics, deleteGraphic, dynamicsNum, getColor, getDynamics, getGraphic, getGraphic, getParameter, graphicsNum, gray, grayInt, green, greenInt, greyInt, initGraphic, initObject, isVisible, layer, name, red, redInt, resetGraphic, server, setParameter, syncColor, syncGraphic, syncWeight, updateGraphic, visible, weight |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ISurfaceGeo[] surfaces
public boolean solid
| Constructor Detail |
|---|
public IBrep(ISurfaceGeo[] srfs)
public IBrep(IServerI s,
ISurfaceGeo[] srfs)
public IBrep(IBrep brep)
public IBrep(IServerI s,
IBrep brep)
| Method Detail |
|---|
public void initBrep(IServerI s)
public void checkDuplicatedPoints()
public IGraphicObject createGraphic(IGraphicMode m)
createGraphic in class IObjectpublic ISurfaceGeo surface(int i)
public int surfaceNum()
public ISurfaceGeo[] surfaces()
public IBrep dup()
IObject
dup in interface ITransformabledup in class IGeometrypublic IVecI center()
center in class IGeometrypublic boolean isValid()
isValid in class IObjectpublic IBrep name(java.lang.String nm)
name in class IObjectpublic IBrep layer(ILayer l)
IGeometry
layer in class IGeometrypublic IBrep layer(java.lang.String l)
IGeometry
layer in class IGeometrypublic IBrep attr(IAttribute at)
IObject
attr in class IGeometrypublic IBrep hide()
hide in class IGeometrypublic IBrep show()
show in class IGeometrypublic IBrep clr(java.awt.Color c)
clr in class IGeometry
public IBrep clr(java.awt.Color c,
int alpha)
IObject
clr in class IGeometrypublic IBrep clr(int gray)
clr in class IGeometrypublic IBrep clr(float fgray)
clr in class IGeometrypublic IBrep clr(double dgray)
clr in class IGeometry
public IBrep clr(int gray,
int alpha)
clr in class IGeometry
public IBrep clr(float fgray,
float falpha)
clr in class IGeometry
public IBrep clr(double dgray,
double dalpha)
clr in class IGeometry
public IBrep clr(int r,
int g,
int b)
clr in class IGeometry
public IBrep clr(float fr,
float fg,
float fb)
clr in class IGeometry
public IBrep clr(double dr,
double dg,
double db)
clr in class IGeometry
public IBrep clr(int r,
int g,
int b,
int a)
clr in class IGeometry
public IBrep clr(float fr,
float fg,
float fb,
float fa)
clr in class IGeometry
public IBrep clr(double dr,
double dg,
double db,
double da)
clr in class IGeometry
public IBrep hsb(float h,
float s,
float b,
float a)
hsb in class IGeometry
public IBrep hsb(double h,
double s,
double b,
double a)
hsb in class IGeometry
public IBrep hsb(float h,
float s,
float b)
hsb in class IGeometry
public IBrep hsb(double h,
double s,
double b)
hsb in class IGeometrypublic IBrep setColor(java.awt.Color c)
setColor in class IGeometry
public IBrep setColor(java.awt.Color c,
int alpha)
setColor in class IGeometrypublic IBrep setColor(int gray)
setColor in class IGeometrypublic IBrep setColor(float fgray)
setColor in class IGeometrypublic IBrep setColor(double dgray)
setColor in class IGeometry
public IBrep setColor(int gray,
int alpha)
setColor in class IGeometry
public IBrep setColor(float fgray,
int falpha)
public IBrep setColor(double dgray,
double dalpha)
setColor in class IGeometry
public IBrep setColor(int r,
int g,
int b)
setColor in class IGeometry
public IBrep setColor(float fr,
float fg,
float fb)
setColor in class IGeometry
public IBrep setColor(double dr,
double dg,
double db)
setColor in class IGeometry
public IBrep setColor(int r,
int g,
int b,
int a)
setColor in class IGeometry
public IBrep setColor(float fr,
float fg,
float fb,
float fa)
setColor in class IGeometry
public IBrep setColor(double dr,
double dg,
double db,
double da)
setColor in class IGeometry
public IBrep setHSBColor(float h,
float s,
float b,
float a)
setHSBColor in class IGeometry
public IBrep setHSBColor(double h,
double s,
double b,
double a)
setHSBColor in class IGeometry
public IBrep setHSBColor(float h,
float s,
float b)
setHSBColor in class IGeometry
public IBrep setHSBColor(double h,
double s,
double b)
setHSBColor in class IGeometrypublic IBrep weight(double w)
weight in class IGeometrypublic IBrep weight(float w)
weight in class IGeometry
public IBrep add(double x,
double y,
double z)
add in interface ITransformableadd in class IGeometry
public 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 IGeometry
public IBrep sub(double x,
double y,
double z)
sub in interface ITransformablesub in class IGeometry
public 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 IGeometry
public IBrep add(IVecI v,
double f)
add in interface ITransformableadd in class IGeometry
public IBrep add(IVecI v,
IDoubleI f)
IGeometry
add in interface ITransformableadd in class IGeometry
public IBrep add(double f,
IVecI v)
add in interface ITransformableadd in class IGeometry
public IBrep add(IDoubleI f,
IVecI v)
IGeometry
add in interface ITransformableadd in class IGeometrypublic IBrep rot(IDoubleI angle)
IGeometry
rot in interface ITransformablerot in class IGeometrypublic IBrep rot(double angle)
rot in interface ITransformablerot in class IGeometry
public IBrep rot(IVecI axis,
IDoubleI angle)
IGeometry
rot in interface ITransformablerot in class IGeometry
public IBrep rot(IVecI axis,
double angle)
rot in interface ITransformablerot in class IGeometry
public IBrep rot(IVecI center,
IVecI axis,
IDoubleI angle)
IGeometry
rot in interface ITransformablerot in class IGeometry
public IBrep rot(IVecI center,
IVecI axis,
double angle)
rot in interface ITransformablerot in class IGeometry
public IBrep rot(IVecI axis,
IVecI destDir)
rot in interface ITransformablerot in class IGeometry
public IBrep rot(IVecI center,
IVecI axis,
IVecI destPt)
rot in interface ITransformablerot in class IGeometrypublic IBrep rot2(IDoubleI angle)
IGeometry
rot2 in interface ITransformablerot2 in class IGeometrypublic IBrep rot2(double angle)
IGeometry
rot2 in interface ITransformablerot2 in class IGeometry
public IBrep rot2(IVecI center,
IDoubleI angle)
IGeometry
rot2 in interface ITransformablerot2 in class IGeometry
public IBrep rot2(IVecI center,
double angle)
rot2 in interface ITransformablerot2 in class IGeometrypublic IBrep rot2(IVecI destDir)
rot2 in interface ITransformablerot2 in class IGeometry
public 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 IGeometry
public IBrep scale(IVecI center,
IDoubleI f)
scale in interface ITransformablescale in class IGeometry
public IBrep scale(IVecI center,
double f)
scale in interface ITransformablescale in class IGeometry
public IBrep scale1d(IVecI axis,
double f)
scale1d in interface ITransformablescale1d in class IGeometry
public IBrep scale1d(IVecI axis,
IDoubleI f)
scale1d in interface ITransformablescale1d in class IGeometry
public IBrep scale1d(IVecI center,
IVecI axis,
double f)
scale1d in interface ITransformablescale1d in class IGeometry
public 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 IGeometry
public IBrep ref(IVecI center,
IVecI planeDir)
ref in interface ITransformableref in class IGeometrypublic IBrep mirror(IVecI planeDir)
mirror in interface ITransformablemirror in class IGeometry
public IBrep mirror(IVecI center,
IVecI planeDir)
mirror in interface ITransformablemirror in class IGeometry
public IBrep shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear in interface ITransformableshear in class IGeometry
public IBrep shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear in interface ITransformableshear in class IGeometry
public IBrep shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear in interface ITransformableshear in class IGeometry
public IBrep shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear in interface ITransformableshear in class IGeometry
public IBrep shearXY(double sxy,
double syx)
shearXY in interface ITransformableshearXY in class IGeometry
public IBrep shearXY(IDoubleI sxy,
IDoubleI syx)
shearXY in interface ITransformableshearXY in class IGeometry
public IBrep shearXY(IVecI center,
double sxy,
double syx)
shearXY in interface ITransformableshearXY in class IGeometry
public IBrep shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
shearXY in interface ITransformableshearXY in class IGeometry
public IBrep shearYZ(double syz,
double szy)
shearYZ in interface ITransformableshearYZ in class IGeometry
public IBrep shearYZ(IDoubleI syz,
IDoubleI szy)
shearYZ in interface ITransformableshearYZ in class IGeometry
public IBrep shearYZ(IVecI center,
double syz,
double szy)
shearYZ in interface ITransformableshearYZ in class IGeometry
public IBrep shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
shearYZ in interface ITransformableshearYZ in class IGeometry
public IBrep shearZX(double szx,
double sxz)
shearZX in interface ITransformableshearZX in class IGeometry
public IBrep shearZX(IDoubleI szx,
IDoubleI sxz)
shearZX in interface ITransformableshearZX in class IGeometry
public IBrep shearZX(IVecI center,
double szx,
double sxz)
shearZX in interface ITransformableshearZX in class IGeometry
public IBrep shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
shearZX in interface ITransformableshearZX in class IGeometry
public IBrep mv(double x,
double y,
double z)
mv in interface ITransformablemv in class IGeometry
public 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 IGeometry
public IBrep cp(double x,
double y,
double z)
cp in interface ITransformablecp in class IGeometry
public 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 IGeometry
public IBrep translate(double x,
double y,
double z)
translate in interface ITransformabletranslate in class IGeometry
public 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 IGeometry
public IBrep transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
transform in interface ITransformabletransform in class IGeometry
public IBrep transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
transform in interface ITransformabletransform in class IGeometry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||