public class IMeshR extends IObject implements IMeshI
Constructor and Description |
---|
IMeshR(IMeshI m) |
IMeshR(IMeshR m) |
IMeshR(IServerI s,
IMeshI m) |
IMeshR(IServerI s,
IMeshR m) |
Modifier and Type | Method and Description |
---|---|
IMeshR |
add(double x,
double y,
double z)
ITransformable methods
|
IMeshR |
add(double f,
IVecI v)
scale add alias
|
IMeshR |
add(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IMeshR |
add(IDoubleI f,
IVecI v)
scale add alias
|
IMeshR |
add(IVecI v) |
IMeshR |
add(IVecI v,
double f)
scale add
|
IMeshR |
add(IVecI v,
IDoubleI f)
scale add
|
IVecI |
center()
center point of mesh
|
IMeshR |
close()
only setting value to closed.
|
IMeshR |
clr(java.awt.Color c) |
IMeshR |
clr(java.awt.Color c,
double alpha) |
IMeshR |
clr(java.awt.Color c,
float alpha) |
IMeshR |
clr(java.awt.Color c,
int alpha) |
IMeshR |
clr(double dgray) |
IMeshR |
clr(double dgray,
double dalpha) |
IMeshR |
clr(double dr,
double dg,
double db) |
IMeshR |
clr(double dr,
double dg,
double db,
double da) |
IMeshR |
clr(float fgray) |
IMeshR |
clr(float fgray,
float falpha) |
IMeshR |
clr(float fr,
float fg,
float fb) |
IMeshR |
clr(float fr,
float fg,
float fb,
float fa) |
IMeshR |
clr(IColor c)
to set an object color
|
IMeshR |
clr(IColor c,
double alpha)
to set color, with alpha value overwritten
|
IMeshR |
clr(IColor c,
float alpha)
to set color, with alpha value overwritten
|
IMeshR |
clr(IColor c,
int alpha)
to set color, with alpha value overwritten
|
IMeshR |
clr(int gray) |
IMeshR |
clr(int gray,
int alpha) |
IMeshR |
clr(int r,
int g,
int b) |
IMeshR |
clr(int r,
int g,
int b,
int a) |
IMeshR |
clr(IObject o)
to set the same color with the object
|
IMeshR |
cp()
cp() is alias of dup()
|
IMeshR |
cp(double x,
double y,
double z)
cp() is alias of dup().add()
|
IMeshR |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IMeshR |
cp(IVecI v) |
IGraphicObject |
createGraphic(igeo.gui.IGraphicMode m) |
IMeshR |
deleteEdge(IEdge e) |
IMeshR |
deleteEdge(IIntegerI i) |
IMeshR |
deleteEdge(int i) |
IMeshR |
deleteFace(IFace f) |
IMeshR |
deleteFace(IIntegerI i) |
IMeshR |
deleteFace(int i) |
IMeshR |
deleteVertex(IIntegerI i) |
IMeshR |
deleteVertex(int i) |
IMeshR |
deleteVertex(IVertex v) |
IMeshR |
div(double v) |
IMeshR |
div(IDoubleI v) |
IMeshR |
dup()
duplicate object
|
IEdge |
edge(IIntegerI i) |
IEdge |
edge(int i) |
int |
edgeNum() |
int |
edgeNum(ISwitchE e) |
IIntegerI |
edgeNum(ISwitchR r) |
java.util.ArrayList<IEdge> |
edges()
return all edges
|
IFace |
face(IIntegerI i) |
IFace |
face(int i) |
int |
faceNum() |
int |
faceNum(ISwitchE e) |
IIntegerI |
faceNum(ISwitchR r) |
java.util.ArrayList<IFace> |
faces()
return all faces
|
IMeshR |
flip()
alias of neg
|
IMeshGeo |
get() |
IMeshR |
hide() |
IMeshR |
hsb(double h,
double s,
double b) |
IMeshR |
hsb(double h,
double s,
double b,
double a) |
IMeshR |
hsb(float h,
float s,
float b) |
IMeshR |
hsb(float h,
float s,
float b,
float a) |
void |
initMesh(IServerI s) |
boolean |
isClosed() |
IMeshR |
layer(ILayer l)
Set layer by ILayer object
|
IMeshR |
mirror(IVecI planeDir)
mirror is alias of ref
|
IMeshR |
mirror(IVecI center,
IVecI planeDir) |
IMeshR |
mul(double v) |
IMeshR |
mul(IDoubleI v) |
IMeshR |
mv(double x,
double y,
double z)
mv() is alias of add()
|
IMeshR |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IMeshR |
mv(IVecI v) |
IMeshR |
name(java.lang.String nm) |
IMeshR |
neg() |
IMeshR |
ref(IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane
|
IMeshR |
ref(IVecI center,
IVecI planeDir) |
IMeshR |
rev()
alias of neg
|
IMeshR |
rot(double angle) |
IMeshR |
rot(IDoubleI angle)
rotation around z-axis and origin
|
IMeshR |
rot(IVecI axis,
double angle) |
IMeshR |
rot(IVecI axis,
IDoubleI angle)
rotation around axis vector
|
IMeshR |
rot(IVecI axis,
IVecI destDir)
rotate to destination direction vector
|
IMeshR |
rot(IVecI center,
IVecI axis,
double angle) |
IMeshR |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
rotation around axis vector and center
|
IMeshR |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotate to destination point location
|
IMeshR |
rot2(double angle)
rotation on xy-plane around origin; same with rot(double)
|
IMeshR |
rot2(IDoubleI angle)
rotation on xy-plane around origin; same with rot(IDoubleI)
|
IMeshR |
rot2(IVecI destDir)
rotation on xy-plane to destination direction vector
|
IMeshR |
rot2(IVecI center,
double angle) |
IMeshR |
rot2(IVecI center,
IDoubleI angle)
rotation on xy-plane around center
|
IMeshR |
rot2(IVecI center,
IVecI destPt)
rotation on xy-plane to destination point location
|
IMeshR |
scale(double f) |
IMeshR |
scale(IDoubleI f)
alias of mul
|
IMeshR |
scale(IVecI center,
double f) |
IMeshR |
scale(IVecI center,
IDoubleI f) |
IMeshR |
scale1d(IVecI axis,
double f)
scale only in 1 direction
|
IMeshR |
scale1d(IVecI axis,
IDoubleI f) |
IMeshR |
scale1d(IVecI center,
IVecI axis,
double f) |
IMeshR |
scale1d(IVecI center,
IVecI axis,
IDoubleI f) |
IMeshR |
setColor(java.awt.Color c) |
IMeshR |
setColor(java.awt.Color c,
int alpha) |
IMeshR |
setColor(double dgray) |
IMeshR |
setColor(double dgray,
double dalpha) |
IMeshR |
setColor(double dr,
double dg,
double db) |
IMeshR |
setColor(double dr,
double dg,
double db,
double da) |
IMeshR |
setColor(float fgray) |
IMeshR |
setColor(float fgray,
float falpha) |
IMeshR |
setColor(float fr,
float fg,
float fb) |
IMeshR |
setColor(float fr,
float fg,
float fb,
float fa) |
IMeshR |
setColor(int gray) |
IMeshR |
setColor(int gray,
int alpha) |
IMeshR |
setColor(int r,
int g,
int b) |
IMeshR |
setColor(int r,
int g,
int b,
int a) |
IMeshR |
setHSBColor(double h,
double s,
double b) |
IMeshR |
setHSBColor(double h,
double s,
double b,
double a) |
IMeshR |
setHSBColor(float h,
float s,
float b) |
IMeshR |
setHSBColor(float h,
float s,
float b,
float a) |
IMeshR |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation
|
IMeshR |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz) |
IMeshR |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz) |
IMeshR |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz) |
IMeshR |
shearXY(double sxy,
double syx) |
IMeshR |
shearXY(IDoubleI sxy,
IDoubleI syx) |
IMeshR |
shearXY(IVecI center,
double sxy,
double syx) |
IMeshR |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx) |
IMeshR |
shearYZ(double syz,
double szy) |
IMeshR |
shearYZ(IDoubleI syz,
IDoubleI szy) |
IMeshR |
shearYZ(IVecI center,
double syz,
double szy) |
IMeshR |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy) |
IMeshR |
shearZX(double szx,
double sxz) |
IMeshR |
shearZX(IDoubleI szx,
IDoubleI sxz) |
IMeshR |
shearZX(IVecI center,
double szx,
double sxz) |
IMeshR |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz) |
IMeshR |
show() |
IMeshR |
sub(double x,
double y,
double z) |
IMeshR |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IMeshR |
sub(IVecI v) |
IMeshR |
transform(IMatrix3I mat) |
IMeshR |
transform(IMatrix4I mat) |
IMeshR |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec) |
IMeshR |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate) |
IMeshR |
translate(double x,
double y,
double z)
translate() is alias of add()
|
IMeshR |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IMeshR |
translate(IVecI v) |
IVertex |
vertex(IIntegerI i) |
IVertex |
vertex(int i) |
int |
vertexNum() |
int |
vertexNum(ISwitchE e) |
IIntegerI |
vertexNum(ISwitchR r) |
java.util.ArrayList<IVertex> |
vertices()
return all vertices
|
IMeshR |
weight(double w) |
IMeshR |
weight(float w) |
addDynamics, addUserData, addUserData, alpha, alphaInt, attr, 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, isValid, isVisible, layer, layer, name, red, redInt, resetGraphic, saturation, server, setColor, setColor, setColor, setColor, setColor, setColor, setParameter, setTexture, syncColor, syncGraphic, syncVisibility, syncWeight, texture, updateGraphic, userData, userData, userData, userDataNum, visible, weight
public IMeshI mesh
public void initMesh(IServerI s)
public IGraphicObject createGraphic(igeo.gui.IGraphicMode m)
createGraphic
in class IObject
public java.util.ArrayList<IVertex> vertices()
public java.util.ArrayList<IEdge> edges()
public java.util.ArrayList<IFace> faces()
public IMeshR deleteVertex(int i)
deleteVertex
in interface IMeshI
public IMeshR deleteEdge(int i)
deleteEdge
in interface IMeshI
public IMeshR deleteFace(int i)
deleteFace
in interface IMeshI
public IMeshR deleteVertex(IIntegerI i)
deleteVertex
in interface IMeshI
public IMeshR deleteEdge(IIntegerI i)
deleteEdge
in interface IMeshI
public IMeshR deleteFace(IIntegerI i)
deleteFace
in interface IMeshI
public IMeshR deleteVertex(IVertex v)
deleteVertex
in interface IMeshI
public IMeshR deleteEdge(IEdge e)
deleteEdge
in interface IMeshI
public IMeshR deleteFace(IFace f)
deleteFace
in interface IMeshI
public IMeshR close()
public IMeshR layer(ILayer l)
IObject
public IMeshR clr(IColor c, int alpha)
IObject
public IMeshR clr(IColor c, float alpha)
IObject
public IMeshR clr(IColor c, double alpha)
IObject
public IMeshR clr(IObject o)
IObject
public IMeshR setColor(double dr, double dg, double db)
public IMeshR setColor(float fr, float fg, float fb, float fa)
public IMeshR setColor(double dr, double dg, double db, double da)
public IMeshR setHSBColor(float h, float s, float b, float a)
setHSBColor
in class IObject
public IMeshR setHSBColor(double h, double s, double b, double a)
setHSBColor
in class IObject
public IMeshR setHSBColor(float h, float s, float b)
setHSBColor
in class IObject
public IMeshR setHSBColor(double h, double s, double b)
setHSBColor
in class IObject
public IMeshR add(double x, double y, double z)
add
in interface ITransformable
public IMeshR add(IDoubleI x, IDoubleI y, IDoubleI z)
add
in interface ITransformable
public IMeshR add(IVecI v)
add
in interface ITransformable
public IMeshR sub(double x, double y, double z)
sub
in interface ITransformable
public IMeshR sub(IDoubleI x, IDoubleI y, IDoubleI z)
sub
in interface ITransformable
public IMeshR sub(IVecI v)
sub
in interface ITransformable
public IMeshR mul(IDoubleI v)
mul
in interface ITransformable
public IMeshR mul(double v)
mul
in interface ITransformable
public IMeshR div(IDoubleI v)
div
in interface ITransformable
public IMeshR div(double v)
div
in interface ITransformable
public IMeshR neg()
neg
in interface ITransformable
public IMeshR rev()
public IMeshR flip()
flip
in interface ITransformable
public IMeshR add(IVecI v, double f)
add
in interface ITransformable
public IMeshR add(IVecI v, IDoubleI f)
add
in interface ITransformable
public IMeshR add(double f, IVecI v)
add
in interface ITransformable
public IMeshR add(IDoubleI f, IVecI v)
add
in interface ITransformable
public IMeshR rot(IDoubleI angle)
rot
in interface ITransformable
public IMeshR rot(double angle)
rot
in interface ITransformable
public IMeshR rot(IVecI axis, IDoubleI angle)
rot
in interface ITransformable
public IMeshR rot(IVecI axis, double angle)
rot
in interface ITransformable
public IMeshR rot(IVecI center, IVecI axis, IDoubleI angle)
rot
in interface ITransformable
public IMeshR rot(IVecI center, IVecI axis, double angle)
rot
in interface ITransformable
public IMeshR rot(IVecI axis, IVecI destDir)
rot
in interface ITransformable
public IMeshR rot(IVecI center, IVecI axis, IVecI destPt)
rot
in interface ITransformable
public IMeshR rot2(IDoubleI angle)
rot2
in interface ITransformable
public IMeshR rot2(double angle)
rot2
in interface ITransformable
public IMeshR rot2(IVecI center, IDoubleI angle)
rot2
in interface ITransformable
public IMeshR rot2(IVecI center, double angle)
rot2
in interface ITransformable
public IMeshR rot2(IVecI destDir)
rot2
in interface ITransformable
public IMeshR rot2(IVecI center, IVecI destPt)
rot2
in interface ITransformable
public IMeshR scale(IDoubleI f)
scale
in interface ITransformable
public IMeshR scale(double f)
scale
in interface ITransformable
public IMeshR scale(IVecI center, IDoubleI f)
scale
in interface ITransformable
public IMeshR scale(IVecI center, double f)
scale
in interface ITransformable
public IMeshR scale1d(IVecI axis, double f)
scale1d
in interface ITransformable
public IMeshR scale1d(IVecI axis, IDoubleI f)
scale1d
in interface ITransformable
public IMeshR scale1d(IVecI center, IVecI axis, double f)
scale1d
in interface ITransformable
public IMeshR scale1d(IVecI center, IVecI axis, IDoubleI f)
scale1d
in interface ITransformable
public IMeshR ref(IVecI planeDir)
ref
in interface ITransformable
public IMeshR ref(IVecI center, IVecI planeDir)
ref
in interface ITransformable
public IMeshR mirror(IVecI planeDir)
mirror
in interface ITransformable
public IMeshR mirror(IVecI center, IVecI planeDir)
mirror
in interface ITransformable
public IMeshR shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
public IMeshR shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear
in interface ITransformable
public IMeshR shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
public IMeshR shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear
in interface ITransformable
public IMeshR shearXY(double sxy, double syx)
shearXY
in interface ITransformable
public IMeshR shearXY(IDoubleI sxy, IDoubleI syx)
shearXY
in interface ITransformable
public IMeshR shearXY(IVecI center, double sxy, double syx)
shearXY
in interface ITransformable
public IMeshR shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
shearXY
in interface ITransformable
public IMeshR shearYZ(double syz, double szy)
shearYZ
in interface ITransformable
public IMeshR shearYZ(IDoubleI syz, IDoubleI szy)
shearYZ
in interface ITransformable
public IMeshR shearYZ(IVecI center, double syz, double szy)
shearYZ
in interface ITransformable
public IMeshR shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
shearYZ
in interface ITransformable
public IMeshR shearZX(double szx, double sxz)
shearZX
in interface ITransformable
public IMeshR shearZX(IDoubleI szx, IDoubleI sxz)
shearZX
in interface ITransformable
public IMeshR shearZX(IVecI center, double szx, double sxz)
shearZX
in interface ITransformable
public IMeshR shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
shearZX
in interface ITransformable
public IMeshR mv(double x, double y, double z)
mv
in interface ITransformable
public IMeshR mv(IDoubleI x, IDoubleI y, IDoubleI z)
mv
in interface ITransformable
public IMeshR mv(IVecI v)
mv
in interface ITransformable
public IMeshR cp()
public IMeshR cp(double x, double y, double z)
cp
in interface IMeshI
cp
in interface ITransformable
public IMeshR cp(IDoubleI x, IDoubleI y, IDoubleI z)
cp
in interface IMeshI
cp
in interface ITransformable
public IMeshR cp(IVecI v)
cp
in interface IMeshI
cp
in interface ITransformable
public IMeshR translate(double x, double y, double z)
translate
in interface ITransformable
public IMeshR translate(IDoubleI x, IDoubleI y, IDoubleI z)
translate
in interface ITransformable
public IMeshR translate(IVecI v)
translate
in interface ITransformable
public IMeshR transform(IMatrix3I mat)
transform
in interface ITransformable
public IMeshR transform(IMatrix4I mat)
transform
in interface ITransformable
public IMeshR transform(IVecI xvec, IVecI yvec, IVecI zvec)
transform
in interface ITransformable