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, weight
public 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 IObject
public ISurfaceGeo surface(int i)
public int surfaceNum()
public ISurfaceGeo[] surfaces()
public IBrep dup()
IObject
dup
in interface ITransformable
dup
in class IGeometry
public IVecI center()
public IBrep layer(ILayer l)
IGeometry
public IBrep layer(java.lang.String l)
IGeometry
public IBrep attr(IAttribute at)
IObject
public IBrep clr(IColor c, int alpha)
IObject
public IBrep clr(IColor c, float alpha)
IObject
public IBrep clr(IColor c, double alpha)
IObject
public IBrep clr(IObject o)
IObject
public 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 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 add(double x, double y, double z)
add
in interface ITransformable
add
in class IGeometry
public IBrep add(IDoubleI x, IDoubleI y, IDoubleI z)
add
in interface ITransformable
add
in class IGeometry
public IBrep add(IVecI v)
add
in interface ITransformable
add
in class IGeometry
public IBrep sub(double x, double y, double z)
sub
in interface ITransformable
sub
in class IGeometry
public IBrep sub(IDoubleI x, IDoubleI y, IDoubleI z)
sub
in interface ITransformable
sub
in class IGeometry
public IBrep sub(IVecI v)
sub
in interface ITransformable
sub
in class IGeometry
public IBrep mul(IDoubleI v)
mul
in interface ITransformable
mul
in class IGeometry
public IBrep mul(double v)
mul
in interface ITransformable
mul
in class IGeometry
public IBrep div(IDoubleI v)
div
in interface ITransformable
div
in class IGeometry
public IBrep div(double v)
div
in interface ITransformable
div
in class IGeometry
public IBrep neg()
neg
in interface ITransformable
neg
in class IGeometry
public IBrep flip()
flip
in interface ITransformable
flip
in class IGeometry
public IBrep add(IVecI v, double f)
add
in interface ITransformable
add
in class IGeometry
public IBrep add(IVecI v, IDoubleI f)
IGeometry
add
in interface ITransformable
add
in class IGeometry
public IBrep add(double f, IVecI v)
add
in interface ITransformable
add
in class IGeometry
public IBrep add(IDoubleI f, IVecI v)
IGeometry
add
in interface ITransformable
add
in class IGeometry
public IBrep rot(IDoubleI angle)
IGeometry
rot
in interface ITransformable
rot
in class IGeometry
public IBrep rot(double angle)
rot
in interface ITransformable
rot
in class IGeometry
public IBrep rot(IVecI axis, IDoubleI angle)
IGeometry
rot
in interface ITransformable
rot
in class IGeometry
public IBrep rot(IVecI axis, double angle)
rot
in interface ITransformable
rot
in class IGeometry
public IBrep rot(IVecI center, IVecI axis, IDoubleI angle)
IGeometry
rot
in interface ITransformable
rot
in class IGeometry
public IBrep rot(IVecI center, IVecI axis, double angle)
rot
in interface ITransformable
rot
in class IGeometry
public IBrep rot(IVecI axis, IVecI destDir)
rot
in interface ITransformable
rot
in class IGeometry
public IBrep rot(IVecI center, IVecI axis, IVecI destPt)
rot
in interface ITransformable
rot
in class IGeometry
public IBrep rot2(IDoubleI angle)
IGeometry
rot2
in interface ITransformable
rot2
in class IGeometry
public IBrep rot2(double angle)
IGeometry
rot2
in interface ITransformable
rot2
in class IGeometry
public IBrep rot2(IVecI center, IDoubleI angle)
IGeometry
rot2
in interface ITransformable
rot2
in class IGeometry
public IBrep rot2(IVecI center, double angle)
rot2
in interface ITransformable
rot2
in class IGeometry
public IBrep rot2(IVecI destDir)
rot2
in interface ITransformable
rot2
in class IGeometry
public IBrep rot2(IVecI center, IVecI destPt)
rot2
in interface ITransformable
rot2
in class IGeometry
public IBrep scale(IDoubleI f)
scale
in interface ITransformable
scale
in class IGeometry
public IBrep scale(double f)
scale
in interface ITransformable
scale
in class IGeometry
public IBrep scale(IVecI center, IDoubleI f)
scale
in interface ITransformable
scale
in class IGeometry
public IBrep scale(IVecI center, double f)
scale
in interface ITransformable
scale
in class IGeometry
public IBrep scale1d(IVecI axis, double f)
scale1d
in interface ITransformable
scale1d
in class IGeometry
public IBrep scale1d(IVecI axis, IDoubleI f)
scale1d
in interface ITransformable
scale1d
in class IGeometry
public IBrep scale1d(IVecI center, IVecI axis, double f)
scale1d
in interface ITransformable
scale1d
in class IGeometry
public IBrep scale1d(IVecI center, IVecI axis, IDoubleI f)
scale1d
in interface ITransformable
scale1d
in class IGeometry
public IBrep ref(IVecI planeDir)
ref
in interface ITransformable
ref
in class IGeometry
public IBrep ref(IVecI center, IVecI planeDir)
ref
in interface ITransformable
ref
in class IGeometry
public IBrep mirror(IVecI planeDir)
mirror
in interface ITransformable
mirror
in class IGeometry
public IBrep mirror(IVecI center, IVecI planeDir)
mirror
in interface ITransformable
mirror
in class IGeometry
public IBrep shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
shear
in class IGeometry
public IBrep shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear
in interface ITransformable
shear
in class IGeometry
public IBrep shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
shear
in class IGeometry
public IBrep shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear
in interface ITransformable
shear
in class IGeometry
public IBrep shearXY(double sxy, double syx)
shearXY
in interface ITransformable
shearXY
in class IGeometry
public IBrep shearXY(IDoubleI sxy, IDoubleI syx)
shearXY
in interface ITransformable
shearXY
in class IGeometry
public IBrep shearXY(IVecI center, double sxy, double syx)
shearXY
in interface ITransformable
shearXY
in class IGeometry
public IBrep shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
shearXY
in interface ITransformable
shearXY
in class IGeometry
public IBrep shearYZ(double syz, double szy)
shearYZ
in interface ITransformable
shearYZ
in class IGeometry
public IBrep shearYZ(IDoubleI syz, IDoubleI szy)
shearYZ
in interface ITransformable
shearYZ
in class IGeometry
public IBrep shearYZ(IVecI center, double syz, double szy)
shearYZ
in interface ITransformable
shearYZ
in class IGeometry
public IBrep shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
shearYZ
in interface ITransformable
shearYZ
in class IGeometry
public IBrep shearZX(double szx, double sxz)
shearZX
in interface ITransformable
shearZX
in class IGeometry
public IBrep shearZX(IDoubleI szx, IDoubleI sxz)
shearZX
in interface ITransformable
shearZX
in class IGeometry
public IBrep shearZX(IVecI center, double szx, double sxz)
shearZX
in interface ITransformable
shearZX
in class IGeometry
public IBrep shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
shearZX
in interface ITransformable
shearZX
in class IGeometry
public IBrep mv(double x, double y, double z)
mv
in interface ITransformable
mv
in class IGeometry
public IBrep mv(IDoubleI x, IDoubleI y, IDoubleI z)
mv
in interface ITransformable
mv
in class IGeometry
public IBrep mv(IVecI v)
mv
in interface ITransformable
mv
in class IGeometry
public IBrep cp()
cp
in interface ITransformable
cp
in class IGeometry
public IBrep cp(double x, double y, double z)
cp
in interface ITransformable
cp
in class IGeometry
public IBrep cp(IDoubleI x, IDoubleI y, IDoubleI z)
cp
in interface ITransformable
cp
in class IGeometry
public IBrep cp(IVecI v)
cp
in interface ITransformable
cp
in class IGeometry
public IBrep translate(double x, double y, double z)
translate
in interface ITransformable
translate
in class IGeometry
public IBrep translate(IDoubleI x, IDoubleI y, IDoubleI z)
translate
in interface ITransformable
translate
in class IGeometry
public IBrep translate(IVecI v)
translate
in interface ITransformable
translate
in class IGeometry
public IBrep transform(IMatrix3I mat)
transform
in interface ITransformable
transform
in class IGeometry
public IBrep transform(IMatrix4I mat)
transform
in interface ITransformable
transform
in class IGeometry
public IBrep transform(IVecI xvec, IVecI yvec, IVecI zvec)
transform
in interface ITransformable
transform
in class IGeometry