|
|||||||||
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)
|
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()
|
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, blue, blueInt, clearDynamics, clearGraphics, clr, clr, del, deletDynamics, deleteDynamics, deleteDynamics, deleteGraphic, dynamicsNum, getColor, getDynamics, getGraphic, getGraphic, getParameter, graphicsNum, green, greenInt, initGraphic, initObject, isVisible, layer, name, red, redInt, resetGraphic, server, setParameter, syncColor, 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 IGraphicObject createGraphic(IGraphicMode m)
createGraphic
in class IObject
public ISurfaceGeo surface(int i)
public int surfaceNum()
public IBrep dup()
IObject
dup
in interface ITransformable
dup
in class IGeometry
public boolean isValid()
isValid
in class IObject
public IBrep name(java.lang.String nm)
name
in class IObject
public IBrep layer(ILayer l)
IGeometry
layer
in class IGeometry
public IBrep layer(java.lang.String l)
IGeometry
layer
in class IGeometry
public IBrep attr(IAttribute at)
attr
in class IGeometry
public IBrep hide()
hide
in class IGeometry
public IBrep show()
show
in class IGeometry
public IBrep clr(java.awt.Color c)
clr
in class IGeometry
public IBrep clr(java.awt.Color c, int alpha)
IObject
clr
in class IGeometry
public IBrep clr(int gray)
clr
in class IGeometry
public IBrep clr(float fgray)
clr
in class IGeometry
public 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 IGeometry
public IBrep setColor(java.awt.Color c)
setColor
in class IGeometry
public IBrep setColor(java.awt.Color c, int alpha)
setColor
in class IGeometry
public IBrep setColor(int gray)
setColor
in class IGeometry
public IBrep setColor(float fgray)
setColor
in class IGeometry
public 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 IGeometry
public IBrep weight(double w)
weight
in class IGeometry
public IBrep weight(float w)
weight
in class IGeometry
public IBrep add(double x, double y, double z)
add
in interface ITransformable
public IBrep add(IDoubleI x, IDoubleI y, IDoubleI z)
add
in interface ITransformable
public IBrep add(IVecI v)
add
in interface ITransformable
public IBrep sub(double x, double y, double z)
sub
in interface ITransformable
public IBrep sub(IDoubleI x, IDoubleI y, IDoubleI z)
sub
in interface ITransformable
public IBrep sub(IVecI v)
sub
in interface ITransformable
public IBrep mul(IDoubleI v)
mul
in interface ITransformable
public IBrep mul(double v)
mul
in interface ITransformable
public IBrep div(IDoubleI v)
div
in interface ITransformable
public IBrep div(double v)
div
in interface ITransformable
public IBrep neg()
neg
in interface ITransformable
public IBrep flip()
flip
in interface ITransformable
public IBrep add(IVecI v, double f)
add
in interface ITransformable
public IBrep add(IVecI v, IDoubleI f)
ITransformable
add
in interface ITransformable
public IBrep add(double f, IVecI v)
add
in interface ITransformable
public IBrep add(IDoubleI f, IVecI v)
ITransformable
add
in interface ITransformable
public IBrep rot(IDoubleI angle)
ITransformable
rot
in interface ITransformable
public IBrep rot(double angle)
rot
in interface ITransformable
public IBrep rot(IVecI axis, IDoubleI angle)
ITransformable
rot
in interface ITransformable
public IBrep rot(IVecI axis, double angle)
rot
in interface ITransformable
public IBrep rot(IVecI center, IVecI axis, IDoubleI angle)
ITransformable
rot
in interface ITransformable
public IBrep rot(IVecI center, IVecI axis, double angle)
rot
in interface ITransformable
public IBrep rot(IVecI axis, IVecI destDir)
rot
in interface ITransformable
public IBrep rot(IVecI center, IVecI axis, IVecI destPt)
rot
in interface ITransformable
public IBrep rot2(IDoubleI angle)
ITransformable
rot2
in interface ITransformable
public IBrep rot2(double angle)
ITransformable
rot2
in interface ITransformable
public IBrep rot2(IVecI center, IDoubleI angle)
ITransformable
rot2
in interface ITransformable
public IBrep rot2(IVecI center, double angle)
rot2
in interface ITransformable
public IBrep rot2(IVecI destDir)
rot2
in interface ITransformable
public IBrep rot2(IVecI center, IVecI destPt)
rot2
in interface ITransformable
public IBrep scale(IDoubleI f)
scale
in interface ITransformable
public IBrep scale(double f)
scale
in interface ITransformable
public IBrep scale(IVecI center, IDoubleI f)
scale
in interface ITransformable
public IBrep scale(IVecI center, double f)
scale
in interface ITransformable
public IBrep scale1d(IVecI axis, double f)
scale1d
in interface ITransformable
public IBrep scale1d(IVecI axis, IDoubleI f)
scale1d
in interface ITransformable
public IBrep scale1d(IVecI center, IVecI axis, double f)
scale1d
in interface ITransformable
public IBrep scale1d(IVecI center, IVecI axis, IDoubleI f)
scale1d
in interface ITransformable
public IBrep ref(IVecI planeDir)
ref
in interface ITransformable
public IBrep ref(IVecI center, IVecI planeDir)
ref
in interface ITransformable
public IBrep mirror(IVecI planeDir)
mirror
in interface ITransformable
public IBrep mirror(IVecI center, IVecI planeDir)
mirror
in interface ITransformable
public IBrep shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
public IBrep shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear
in interface ITransformable
public IBrep shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
public IBrep shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear
in interface ITransformable
public IBrep shearXY(double sxy, double syx)
shearXY
in interface ITransformable
public IBrep shearXY(IDoubleI sxy, IDoubleI syx)
shearXY
in interface ITransformable
public IBrep shearXY(IVecI center, double sxy, double syx)
shearXY
in interface ITransformable
public IBrep shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
shearXY
in interface ITransformable
public IBrep shearYZ(double syz, double szy)
shearYZ
in interface ITransformable
public IBrep shearYZ(IDoubleI syz, IDoubleI szy)
shearYZ
in interface ITransformable
public IBrep shearYZ(IVecI center, double syz, double szy)
shearYZ
in interface ITransformable
public IBrep shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
shearYZ
in interface ITransformable
public IBrep shearZX(double szx, double sxz)
shearZX
in interface ITransformable
public IBrep shearZX(IDoubleI szx, IDoubleI sxz)
shearZX
in interface ITransformable
public IBrep shearZX(IVecI center, double szx, double sxz)
shearZX
in interface ITransformable
public IBrep shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
shearZX
in interface ITransformable
public IBrep mv(double x, double y, double z)
mv
in interface ITransformable
public IBrep mv(IDoubleI x, IDoubleI y, IDoubleI z)
mv
in interface ITransformable
public IBrep mv(IVecI v)
mv
in interface ITransformable
public IBrep cp()
cp
in interface ITransformable
cp
in class IGeometry
public IBrep cp(double x, double y, double z)
cp
in interface ITransformable
public IBrep cp(IDoubleI x, IDoubleI y, IDoubleI z)
cp
in interface ITransformable
public IBrep cp(IVecI v)
cp
in interface ITransformable
public IBrep translate(double x, double y, double z)
translate
in interface ITransformable
public IBrep translate(IDoubleI x, IDoubleI y, IDoubleI z)
translate
in interface ITransformable
public IBrep translate(IVecI v)
translate
in interface ITransformable
public IBrep transform(IMatrix3I mat)
transform
in interface ITransformable
public IBrep transform(IMatrix4I mat)
transform
in interface ITransformable
public IBrep transform(IVecI xvec, IVecI yvec, IVecI zvec)
transform
in interface ITransformable
public IBrep transform(IVecI xvec, IVecI yvec, IVecI zvec, IVecI translate)
transform
in interface ITransformable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |