public class IMesh extends IGeometry implements IMeshI
| Modifier and Type | Field and Description |
|---|---|
boolean |
enableFaceColor |
boolean |
enableVertexColor |
IMeshGeo |
mesh |
| Constructor and Description |
|---|
IMesh() |
IMesh(java.util.ArrayList<IVertex> v,
java.util.ArrayList<IEdge> e,
java.util.ArrayList<IFace> f) |
IMesh(double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double x3,
double y3,
double z3) |
IMesh(double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double x3,
double y3,
double z3,
double x4,
double y4,
double z4) |
IMesh(ICurveI[] lines) |
IMesh(IFace[] fcs) |
IMesh(IMesh m) |
IMesh(IMeshGeo m) |
IMesh(IServerI s) |
IMesh(IServerI s,
java.util.ArrayList<IVertex> v,
java.util.ArrayList<IEdge> e,
java.util.ArrayList<IFace> f) |
IMesh(IServerI s,
double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double x3,
double y3,
double z3) |
IMesh(IServerI s,
double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double x3,
double y3,
double z3,
double x4,
double y4,
double z4) |
IMesh(IServerI s,
ICurveI[] lines) |
IMesh(IServerI s,
IFace[] fcs) |
IMesh(IServerI s,
IMesh m) |
IMesh(IServerI s,
IMeshGeo m) |
IMesh(IServerI s,
ISurfaceI[] faces)
each input surface builds one 3 or 4 point face.
|
IMesh(IServerI s,
IVec[] vert) |
IMesh(IServerI s,
IVec[][] matrix) |
IMesh(IServerI s,
IVec[][] matrix,
boolean triangulateDir) |
IMesh(IServerI s,
IVec[][] matrix,
boolean triangulateDir,
IMeshType creator) |
IMesh(IServerI s,
IVec[][] matrix,
int unum,
int vnum,
boolean triangulateDir) |
IMesh(IServerI s,
IVec[][] matrix,
int unum,
int vnum,
boolean triangulateDir,
IMeshType creator) |
IMesh(IServerI s,
IVecI v1,
IVecI v2,
IVecI v3) |
IMesh(IServerI s,
IVecI v1,
IVecI v2,
IVecI v3,
IVecI v4) |
IMesh(IServerI s,
IVertex[] vert) |
IMesh(IServerI s,
IVertex[] vtx,
IEdge[] edg,
IFace[] fcs) |
IMesh(IServerI s,
IVertex v1,
IVertex v2,
IVertex v3) |
IMesh(IServerI s,
IVertex v1,
IVertex v2,
IVertex v3,
IVertex v4) |
IMesh(ISurfaceI[] faces)
each input surface builds one 3 or 4 point face.
|
IMesh(IVec[] vert) |
IMesh(IVec[][] matrix) |
IMesh(IVec[][] matrix,
boolean triangulateDir) |
IMesh(IVec[][] matrix,
boolean triangulateDir,
IMeshType creator) |
IMesh(IVec[][] matrix,
int unum,
int vnum,
boolean triangulateDir) |
IMesh(IVec[][] matrix,
int unum,
int vnum,
boolean triangulateDir,
IMeshType creator) |
IMesh(IVecI v1,
IVecI v2,
IVecI v3) |
IMesh(IVecI v1,
IVecI v2,
IVecI v3,
IVecI v4) |
IMesh(IVertex[] vert) |
IMesh(IVertex[] vtx,
IEdge[] edg,
IFace[] fcs) |
IMesh(IVertex v1,
IVertex v2,
IVertex v3) |
IMesh(IVertex v1,
IVertex v2,
IVertex v3,
IVertex v4) |
| Modifier and Type | Method and Description |
|---|---|
IMesh |
add(double x,
double y,
double z)
ITransformable methods
|
IMesh |
add(double f,
IVecI v)
scale add alias
|
IMesh |
add(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IMesh |
add(IDoubleI f,
IVecI v)
scale add alias
|
IMesh |
add(IVecI v) |
IMesh |
add(IVecI v,
double f)
scale add
|
IMesh |
add(IVecI v,
IDoubleI f)
scale add
|
IMesh |
addFace(IFace f) |
IMesh |
addFace(IFace f,
boolean checkExistingVertex,
boolean checkExistingEdge,
boolean checkExistingFace) |
IMesh |
addPolygon(IVec[] v) |
IMesh |
addPolygon(IVertex[] v) |
IMesh |
addQuads(IVec[] v) |
IMesh |
addQuads(IVertex[] v) |
IMesh |
addQuadStrip(IVec[] v) |
IMesh |
addQuadStrip(IVertex[] v) |
IMesh |
addTriangleFan(IVec[] v) |
IMesh |
addTriangleFan(IVertex[] v) |
IMesh |
addTriangles(IVec[] v) |
IMesh |
addTriangles(IVertex[] v) |
IMesh |
addTriangleStrip(IVec[] v) |
IMesh |
addTriangleStrip(IVertex[] v) |
IMesh |
attr(IAttribute at)
set attributes
|
IVec |
center()
center of mesh, calculated by average of all vertices
|
IMesh |
close()
only setting value to closed.
|
IMesh |
clr(java.awt.Color c) |
IMesh |
clr(java.awt.Color c,
double alpha) |
IMesh |
clr(java.awt.Color c,
float alpha) |
IMesh |
clr(java.awt.Color c,
int alpha) |
IMesh |
clr(double dgray) |
IMesh |
clr(double dgray,
double dalpha) |
IMesh |
clr(double dr,
double dg,
double db) |
IMesh |
clr(double dr,
double dg,
double db,
double da) |
IMesh |
clr(float fgray) |
IMesh |
clr(float fgray,
float falpha) |
IMesh |
clr(float fr,
float fg,
float fb) |
IMesh |
clr(float fr,
float fg,
float fb,
float fa) |
IMesh |
clr(IColor c)
to set an object color
|
IMesh |
clr(IColor c,
double alpha)
to set color, with alpha value overwritten
|
IMesh |
clr(IColor c,
float alpha)
to set color, with alpha value overwritten
|
IMesh |
clr(IColor c,
int alpha)
to set color, with alpha value overwritten
|
IMesh |
clr(int gray) |
IMesh |
clr(int gray,
int alpha) |
IMesh |
clr(int r,
int g,
int b) |
IMesh |
clr(int r,
int g,
int b,
int a) |
IMesh |
clr(IObject o)
to set the same color with the object
|
static IMesh |
connectVertex(IMesh mesh1,
IMesh mesh2)
connect closest vertex
|
static IMesh |
connectVertex(IMesh mesh1,
IVertex v1,
IMesh mesh2,
IVertex v2)
connect faces over a vertex
|
IMesh |
cp()
cp() is alias of dup()
|
IMesh |
cp(double x,
double y,
double z)
cp() is alias of dup().add()
|
IMesh |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IMesh |
cp(IVecI v) |
IGraphicObject |
createGraphic(igeo.gui.IGraphicMode m) |
static IMesh |
createPolyhedron(IVecI[] pts)
create polyhedron mesh by delaunay triangulation around a center
|
static IMesh |
createPolyhedron(IVecI[] pts,
double threshold)
create polyhedron mesh by delaunay triangulation around a center with maximum threshold of edge length
|
static IMesh |
createPolyhedron(IVertex[] vtx)
create polyhedron mesh by delaunay triangulation around a center
|
static IMesh |
createPolyhedron(IVertex[] vtx,
double threshold)
create polyhedron mesh by delaunay triangulation around a center with maximum threshold of edge length
|
IMesh |
deleteEdge(IEdge e) |
IMesh |
deleteEdge(IIntegerI i) |
IMesh |
deleteEdge(int i) |
IMesh |
deleteFace(IFace f) |
IMesh |
deleteFace(IIntegerI i) |
IMesh |
deleteFace(int i) |
IMesh |
deleteVertex(IIntegerI i) |
IMesh |
deleteVertex(int i) |
IMesh |
deleteVertex(IVertex v) |
IMesh |
disableFaceColor() |
IMesh |
disableVertexColor() |
IMesh |
div(double v) |
IMesh |
div(IDoubleI v) |
IMesh |
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
|
IMesh |
enableFaceColor() |
IMesh |
enableVertexColor() |
IFace |
face(IIntegerI i) |
IFace |
face(int i) |
IColor |
faceColor(int i)
set face color
|
IMesh |
faceColor(int i,
java.awt.Color c) |
IMesh |
faceColor(int i,
java.awt.Color c,
double alpha) |
IMesh |
faceColor(int i,
java.awt.Color c,
float alpha) |
IMesh |
faceColor(int i,
java.awt.Color c,
int alpha) |
IMesh |
faceColor(int i,
double dgray) |
IMesh |
faceColor(int i,
double dgray,
double dalpha) |
IMesh |
faceColor(int i,
double dr,
double dg,
double db) |
IMesh |
faceColor(int i,
double dr,
double dg,
double db,
double da) |
IMesh |
faceColor(int i,
float fgray) |
IMesh |
faceColor(int i,
float fgray,
float falpha) |
IMesh |
faceColor(int i,
float fr,
float fg,
float fb) |
IMesh |
faceColor(int i,
float fr,
float fg,
float fb,
float fa) |
IMesh |
faceColor(int i,
IColor c) |
IMesh |
faceColor(int i,
IColor c,
double alpha) |
IMesh |
faceColor(int i,
IColor c,
float alpha) |
IMesh |
faceColor(int i,
IColor c,
int alpha) |
IMesh |
faceColor(int i,
int gray) |
IMesh |
faceColor(int i,
int gray,
int alpha) |
IMesh |
faceColor(int i,
int r,
int g,
int b) |
IMesh |
faceColor(int i,
int r,
int g,
int b,
int a) |
IMesh |
faceColorHSB(int i,
double dh,
double ds,
double db) |
IMesh |
faceColorHSB(int i,
double dh,
double ds,
double db,
double da) |
IMesh |
faceColorHSB(int i,
float h,
float s,
float b) |
IMesh |
faceColorHSB(int i,
float h,
float s,
float b,
float a) |
IMesh |
faceHSB(int i,
double dh,
double ds,
double db) |
IMesh |
faceHSB(int i,
double dh,
double ds,
double db,
double da) |
IMesh |
faceHSB(int i,
float h,
float s,
float b) |
IMesh |
faceHSB(int i,
float h,
float s,
float b,
float a) |
int |
faceNum() |
int |
faceNum(ISwitchE e) |
IIntegerI |
faceNum(ISwitchR r) |
java.util.ArrayList<IFace> |
faces()
return all faces
|
IMesh |
flip()
alias of neg
|
IMeshGeo |
get() |
IMesh |
hide() |
IMesh |
hsb(double h,
double s,
double b) |
IMesh |
hsb(double h,
double s,
double b,
double a) |
IMesh |
hsb(float h,
float s,
float b) |
IMesh |
hsb(float h,
float s,
float b,
float a) |
void |
initMesh(IServerI s) |
boolean |
isClosed() |
boolean |
isValid()
checking parameters validity.
|
IMesh |
join(IMesh[] meshes)
join other meshes into the current one and remove duplicated edges and vertices
|
IMesh |
join(IMesh[] meshes,
double tolerance)
join other meshes into the current one and remove duplicated edges and vertices
|
static IMesh |
joinMesh(IMesh[] meshes)
static method to join meshes.
|
IMesh |
layer(ILayer l)
Set layer by ILayer object
|
IMesh |
layer(java.lang.String l)
Set layer by layer name.
|
IMesh |
loopSubD()
Loop-subdivision
|
IMesh |
loopSubD(IVec[] fixedEdges)
Loop-subdivision
|
IMesh |
loopSubdivide()
Loop-subdivision
|
IMesh |
loopSubdivide(IVec[] fixedEdges)
Loop-subdivision
|
IMesh |
mirror(IVecI planeDir)
mirror is alias of ref
|
IMesh |
mirror(IVecI center,
IVecI planeDir) |
IMesh |
mul(double v) |
IMesh |
mul(IDoubleI v) |
IMesh |
mv(double x,
double y,
double z)
mv() is alias of add()
|
IMesh |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IMesh |
mv(IVecI v) |
IEdge[] |
nakedEdges()
returns naked edges of the mesh
|
IMesh |
name(java.lang.String nm) |
IMesh |
neg() |
IMesh |
offset(double offsetDist)
offset each vertex towards vertex normal and return the mesh.
|
IMesh |
offset(double[] offsetList)
offset each vertex towards vertex normal and return the mesh.
|
static IMesh |
polyhedron(IVecI[] pts)
create polyhedron mesh by delaunay triangulation around a center
|
static IMesh |
polyhedron(IVecI[] pts,
double threshold)
create polyhedron mesh by delaunay triangulation around a center with maximum threshold of edge length
|
static IMesh |
polyhedron(IVertex[] vtx)
create polyhedron mesh by delaunay triangulation around a center
|
static IMesh |
polyhedron(IVertex[] vtx,
double threshold)
create polyhedron mesh by delaunay triangulation around a center with maximum threshold of edge length
|
IMesh |
ref(IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane
|
IMesh |
ref(IVecI center,
IVecI planeDir) |
IMesh |
removeDuplicates()
remove uplicated edges and vertices
|
IMesh |
removeDuplicates(double tolerance)
remove uplicated edges and vertices
|
IMesh |
rev()
alias of neg
|
IMesh |
rot(double angle) |
IMesh |
rot(IDoubleI angle)
rotation around z-axis and origin
|
IMesh |
rot(IVecI axis,
double angle) |
IMesh |
rot(IVecI axis,
IDoubleI angle)
rotation around axis vector
|
IMesh |
rot(IVecI axis,
IVecI destDir)
rotate to destination direction vector
|
IMesh |
rot(IVecI center,
IVecI axis,
double angle) |
IMesh |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
rotation around axis vector and center
|
IMesh |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotate to destination point location
|
IMesh |
rot2(double angle)
rotation on xy-plane around origin; same with rot(double)
|
IMesh |
rot2(IDoubleI angle)
rotation on xy-plane around origin; same with rot(IDoubleI)
|
IMesh |
rot2(IVecI destDir)
rotation on xy-plane to destination direction vector
|
IMesh |
rot2(IVecI center,
double angle) |
IMesh |
rot2(IVecI center,
IDoubleI angle)
rotation on xy-plane around center
|
IMesh |
rot2(IVecI center,
IVecI destPt)
rotation on xy-plane to destination point location
|
IMesh |
scale(double f) |
IMesh |
scale(IDoubleI f)
alias of mul
|
IMesh |
scale(IVecI center,
double f) |
IMesh |
scale(IVecI center,
IDoubleI f) |
IMesh |
scale1d(IVecI axis,
double f)
scale only in 1 direction
|
IMesh |
scale1d(IVecI axis,
IDoubleI f) |
IMesh |
scale1d(IVecI center,
IVecI axis,
double f) |
IMesh |
scale1d(IVecI center,
IVecI axis,
IDoubleI f) |
IMesh |
setColor(java.awt.Color c) |
IMesh |
setColor(java.awt.Color c,
double alpha) |
IMesh |
setColor(java.awt.Color c,
float alpha) |
IMesh |
setColor(java.awt.Color c,
int alpha) |
IMesh |
setColor(double dgray) |
IMesh |
setColor(double dgray,
double dalpha) |
IMesh |
setColor(double dr,
double dg,
double db) |
IMesh |
setColor(double dr,
double dg,
double db,
double da) |
IMesh |
setColor(float fgray) |
IMesh |
setColor(float fgray,
float falpha) |
IMesh |
setColor(float fr,
float fg,
float fb) |
IMesh |
setColor(float fr,
float fg,
float fb,
float fa) |
IMesh |
setColor(IColor c) |
IMesh |
setColor(IColor c,
double alpha) |
IMesh |
setColor(IColor c,
float alpha) |
IMesh |
setColor(IColor c,
int alpha) |
IMesh |
setColor(int gray) |
IMesh |
setColor(int gray,
int alpha) |
IMesh |
setColor(int r,
int g,
int b) |
IMesh |
setColor(int r,
int g,
int b,
int a) |
IMesh |
setHSBColor(double h,
double s,
double b) |
IMesh |
setHSBColor(double h,
double s,
double b,
double a) |
IMesh |
setHSBColor(float h,
float s,
float b) |
IMesh |
setHSBColor(float h,
float s,
float b,
float a) |
IMesh |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation
|
IMesh |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz) |
IMesh |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz) |
IMesh |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz) |
IMesh |
shearXY(double sxy,
double syx) |
IMesh |
shearXY(IDoubleI sxy,
IDoubleI syx) |
IMesh |
shearXY(IVecI center,
double sxy,
double syx) |
IMesh |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx) |
IMesh |
shearYZ(double syz,
double szy) |
IMesh |
shearYZ(IDoubleI syz,
IDoubleI szy) |
IMesh |
shearYZ(IVecI center,
double syz,
double szy) |
IMesh |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy) |
IMesh |
shearZX(double szx,
double sxz) |
IMesh |
shearZX(IDoubleI szx,
IDoubleI sxz) |
IMesh |
shearZX(IVecI center,
double szx,
double sxz) |
IMesh |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz) |
IMesh |
show() |
IMesh |
sub(double x,
double y,
double z) |
IMesh |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IMesh |
sub(IVecI v) |
IMesh |
subdivide()
simply subdivide one trianlge into 4 triangles
|
IMesh |
transform(IMatrix3I mat) |
IMesh |
transform(IMatrix4I mat) |
IMesh |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec) |
IMesh |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate) |
IMesh |
translate(double x,
double y,
double z)
translate() is alias of add()
|
IMesh |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IMesh |
translate(IVecI v) |
IMesh |
triangulate()
triangulate quad mesh to triangles
|
IMesh |
triangulate(boolean triangulateDir)
triangulate quad mesh to triangles
|
IMesh |
unifyNml() |
IMesh |
unifyNml(int faceIdx) |
IMesh |
unifyNormal() |
void |
updateGraphic()
update graphic when control point location changes or some minor change.
|
IVertex |
vertex(IIntegerI i) |
IVertex |
vertex(int i) |
IColor |
vertexColor(int i)
set vertex color
|
IMesh |
vertexColor(int i,
java.awt.Color c) |
IMesh |
vertexColor(int i,
java.awt.Color c,
double alpha) |
IMesh |
vertexColor(int i,
java.awt.Color c,
float alpha) |
IMesh |
vertexColor(int i,
java.awt.Color c,
int alpha) |
IMesh |
vertexColor(int i,
double dgray) |
IMesh |
vertexColor(int i,
double dgray,
double dalpha) |
IMesh |
vertexColor(int i,
double dr,
double dg,
double db) |
IMesh |
vertexColor(int i,
double dr,
double dg,
double db,
double da) |
IMesh |
vertexColor(int i,
float fgray) |
IMesh |
vertexColor(int i,
float fgray,
float falpha) |
IMesh |
vertexColor(int i,
float fr,
float fg,
float fb) |
IMesh |
vertexColor(int i,
float fr,
float fg,
float fb,
float fa) |
IMesh |
vertexColor(int i,
IColor c) |
IMesh |
vertexColor(int i,
IColor c,
double alpha) |
IMesh |
vertexColor(int i,
IColor c,
float alpha) |
IMesh |
vertexColor(int i,
IColor c,
int alpha) |
IMesh |
vertexColor(int i,
int gray) |
IMesh |
vertexColor(int i,
int gray,
int alpha) |
IMesh |
vertexColor(int i,
int r,
int g,
int b) |
IMesh |
vertexColor(int i,
int r,
int g,
int b,
int a) |
IMesh |
vertexColorHSB(int i,
double dh,
double ds,
double db) |
IMesh |
vertexColorHSB(int i,
double dh,
double ds,
double db,
double da) |
IMesh |
vertexColorHSB(int i,
float h,
float s,
float b) |
IMesh |
vertexColorHSB(int i,
float h,
float s,
float b,
float a) |
IMesh |
vertexHSB(int i,
double dh,
double ds,
double db) |
IMesh |
vertexHSB(int i,
double dh,
double ds,
double db,
double da) |
IMesh |
vertexHSB(int i,
float h,
float s,
float b) |
IMesh |
vertexHSB(int i,
float h,
float s,
float b,
float a) |
int |
vertexNum() |
int |
vertexNum(ISwitchE e) |
IIntegerI |
vertexNum(ISwitchR r) |
java.util.ArrayList<IVertex> |
vertices()
return all vertices
|
IMesh |
weight(double w) |
IMesh |
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, userData, userData, userData, userDataNum, visible, weightpublic IMeshGeo mesh
public boolean enableFaceColor
public boolean enableVertexColor
public IMesh()
public IMesh(IServerI s)
public IMesh(IMeshGeo m)
public IMesh(IMesh m)
public IMesh(ICurveI[] lines)
public IMesh(IServerI s, ISurfaceI[] faces)
public IMesh(ISurfaceI[] faces)
public IMesh(IVec[][] matrix)
public IMesh(IVec[][] matrix, boolean triangulateDir)
public IMesh(IVec[][] matrix, int unum, int vnum, boolean triangulateDir)
public IMesh(IServerI s, IVec[][] matrix, int unum, int vnum, boolean triangulateDir, IMeshType creator)
public IMesh(IServerI s, java.util.ArrayList<IVertex> v, java.util.ArrayList<IEdge> e, java.util.ArrayList<IFace> f)
public IMesh(java.util.ArrayList<IVertex> v, java.util.ArrayList<IEdge> e, java.util.ArrayList<IFace> f)
public IMesh(IVec[] vert)
public IMesh(IVertex[] vert)
public IMesh(IServerI s, double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3)
public IMesh(double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double x3,
double y3,
double z3)
public IMesh(IServerI s, double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3, double x4, double y4, double z4)
public IMesh(double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double x3,
double y3,
double z3,
double x4,
double y4,
double z4)
public IMesh(IFace[] fcs)
public boolean isValid()
IObjectpublic void initMesh(IServerI s)
public IGraphicObject createGraphic(igeo.gui.IGraphicMode m)
createGraphic in class IObjectpublic java.util.ArrayList<IVertex> vertices()
public java.util.ArrayList<IEdge> edges()
public java.util.ArrayList<IFace> faces()
public IMesh enableVertexColor()
public IMesh disableVertexColor()
public IMesh enableFaceColor()
public IMesh disableFaceColor()
public IColor vertexColor(int i)
public IMesh vertexColor(int i, java.awt.Color c)
public IMesh vertexColor(int i, java.awt.Color c, int alpha)
public IMesh vertexColor(int i, java.awt.Color c, float alpha)
public IMesh vertexColor(int i, java.awt.Color c, double alpha)
public IMesh vertexColor(int i, int gray)
public IMesh vertexColor(int i, double dgray)
public IMesh vertexColor(int i, float fgray)
public IMesh vertexColor(int i, int gray, int alpha)
public IMesh vertexColor(int i, double dgray, double dalpha)
public IMesh vertexColor(int i, float fgray, float falpha)
public IMesh vertexColor(int i, int r, int g, int b)
public IMesh vertexColor(int i, double dr, double dg, double db)
public IMesh vertexColor(int i, float fr, float fg, float fb)
public IMesh vertexColor(int i, int r, int g, int b, int a)
public IMesh vertexColor(int i, double dr, double dg, double db, double da)
public IMesh vertexColor(int i, float fr, float fg, float fb, float fa)
public IMesh vertexHSB(int i, double dh, double ds, double db, double da)
public IMesh vertexColorHSB(int i, double dh, double ds, double db, double da)
public IMesh vertexHSB(int i, float h, float s, float b, float a)
public IMesh vertexColorHSB(int i, float h, float s, float b, float a)
public IMesh vertexHSB(int i, double dh, double ds, double db)
public IMesh vertexColorHSB(int i, double dh, double ds, double db)
public IMesh vertexHSB(int i, float h, float s, float b)
public IMesh vertexColorHSB(int i, float h, float s, float b)
public IColor faceColor(int i)
public IMesh faceColor(int i, java.awt.Color c)
public IMesh faceColor(int i, java.awt.Color c, int alpha)
public IMesh faceColor(int i, java.awt.Color c, float alpha)
public IMesh faceColor(int i, java.awt.Color c, double alpha)
public IMesh faceColor(int i, int gray)
public IMesh faceColor(int i, double dgray)
public IMesh faceColor(int i, float fgray)
public IMesh faceColor(int i, int gray, int alpha)
public IMesh faceColor(int i, double dgray, double dalpha)
public IMesh faceColor(int i, float fgray, float falpha)
public IMesh faceColor(int i, int r, int g, int b)
public IMesh faceColor(int i, double dr, double dg, double db)
public IMesh faceColor(int i, float fr, float fg, float fb)
public IMesh faceColor(int i, int r, int g, int b, int a)
public IMesh faceColor(int i, double dr, double dg, double db, double da)
public IMesh faceColor(int i, float fr, float fg, float fb, float fa)
public IMesh faceHSB(int i, double dh, double ds, double db, double da)
public IMesh faceColorHSB(int i, double dh, double ds, double db, double da)
public IMesh faceHSB(int i, float h, float s, float b, float a)
public IMesh faceColorHSB(int i, float h, float s, float b, float a)
public IMesh faceHSB(int i, double dh, double ds, double db)
public IMesh faceColorHSB(int i, double dh, double ds, double db)
public IMesh faceHSB(int i, float h, float s, float b)
public IMesh faceColorHSB(int i, float h, float s, float b)
public IVec center()
public IMesh addFace(IFace f, boolean checkExistingVertex, boolean checkExistingEdge, boolean checkExistingFace)
public IMesh triangulate()
public IMesh triangulate(boolean triangulateDir)
public IEdge[] nakedEdges()
public IMesh subdivide()
public IMesh loopSubD()
public IMesh loopSubdivide()
public IMesh offset(double[] offsetList)
offsetList - An array of offset distance of each vertex. Size and order of the array needs to match with vertex size and order. If the array size is smaller than vertex size, the last member is applied to the remaining.public IMesh offset(double offsetDist)
offsetDist - offset distance.public IMesh unifyNormal()
public IMesh unifyNml()
public IMesh unifyNml(int faceIdx)
public IMesh layer(ILayer l)
IGeometrypublic IMesh layer(java.lang.String l)
IGeometrypublic IMesh attr(IAttribute at)
IObjectpublic IMesh clr(IColor c, int alpha)
IObjectpublic IMesh clr(IColor c, float alpha)
IObjectpublic IMesh clr(IColor c, double alpha)
IObjectpublic IMesh clr(IObject o)
IObjectpublic IMesh setColor(double dr, double dg, double db)
public IMesh setColor(float fr, float fg, float fb, float fa)
public IMesh setColor(double dr, double dg, double db, double da)
public IMesh setHSBColor(float h, float s, float b, float a)
setHSBColor in class IGeometrypublic IMesh setHSBColor(double h, double s, double b, double a)
setHSBColor in class IGeometrypublic IMesh setHSBColor(float h, float s, float b)
setHSBColor in class IGeometrypublic IMesh setHSBColor(double h, double s, double b)
setHSBColor in class IGeometrypublic static IMesh joinMesh(IMesh[] meshes)
public static IMesh polyhedron(IVertex[] vtx)
public static IMesh createPolyhedron(IVertex[] vtx)
public static IMesh polyhedron(IVecI[] pts)
public static IMesh createPolyhedron(IVecI[] pts)
public static IMesh polyhedron(IVertex[] vtx, double threshold)
public static IMesh createPolyhedron(IVertex[] vtx, double threshold)
public static IMesh polyhedron(IVecI[] pts, double threshold)
public static IMesh createPolyhedron(IVecI[] pts, double threshold)
public static IMesh connectVertex(IMesh mesh1, IVertex v1, IMesh mesh2, IVertex v2)
public IMesh close()
public IMesh deleteVertex(int i)
deleteVertex in interface IMeshIpublic IMesh deleteEdge(int i)
deleteEdge in interface IMeshIpublic IMesh deleteFace(int i)
deleteFace in interface IMeshIpublic IMesh deleteVertex(IIntegerI i)
deleteVertex in interface IMeshIpublic IMesh deleteEdge(IIntegerI i)
deleteEdge in interface IMeshIpublic IMesh deleteFace(IIntegerI i)
deleteFace in interface IMeshIpublic IMesh deleteVertex(IVertex v)
deleteVertex in interface IMeshIpublic IMesh deleteEdge(IEdge e)
deleteEdge in interface IMeshIpublic IMesh deleteFace(IFace f)
deleteFace in interface IMeshIpublic IMesh removeDuplicates()
public IMesh removeDuplicates(double tolerance)
public IMesh join(IMesh[] meshes)
public IMesh join(IMesh[] meshes, double tolerance)
public void updateGraphic()
updateGraphic in class IObjectpublic IMesh add(double x, double y, double z)
add in interface ITransformableadd in class IGeometrypublic IMesh add(IDoubleI x, IDoubleI y, IDoubleI z)
add in interface ITransformableadd in class IGeometrypublic IMesh add(IVecI v)
add in interface ITransformableadd in class IGeometrypublic IMesh sub(double x, double y, double z)
sub in interface ITransformablesub in class IGeometrypublic IMesh sub(IDoubleI x, IDoubleI y, IDoubleI z)
sub in interface ITransformablesub in class IGeometrypublic IMesh sub(IVecI v)
sub in interface ITransformablesub in class IGeometrypublic IMesh mul(IDoubleI v)
mul in interface ITransformablemul in class IGeometrypublic IMesh mul(double v)
mul in interface ITransformablemul in class IGeometrypublic IMesh div(IDoubleI v)
div in interface ITransformablediv in class IGeometrypublic IMesh div(double v)
div in interface ITransformablediv in class IGeometrypublic IMesh neg()
neg in interface ITransformableneg in class IGeometrypublic IMesh rev()
public IMesh flip()
flip in interface ITransformableflip in class IGeometrypublic IMesh add(IVecI v, double f)
add in interface ITransformableadd in class IGeometrypublic IMesh add(IVecI v, IDoubleI f)
add in interface ITransformableadd in class IGeometrypublic IMesh add(double f, IVecI v)
add in interface ITransformableadd in class IGeometrypublic IMesh add(IDoubleI f, IVecI v)
add in interface ITransformableadd in class IGeometrypublic IMesh rot(IDoubleI angle)
rot in interface ITransformablerot in class IGeometrypublic IMesh rot(double angle)
rot in interface ITransformablerot in class IGeometrypublic IMesh rot(IVecI axis, IDoubleI angle)
rot in interface ITransformablerot in class IGeometrypublic IMesh rot(IVecI axis, double angle)
rot in interface ITransformablerot in class IGeometrypublic IMesh rot(IVecI center, IVecI axis, IDoubleI angle)
rot in interface ITransformablerot in class IGeometrypublic IMesh rot(IVecI center, IVecI axis, double angle)
rot in interface ITransformablerot in class IGeometrypublic IMesh rot(IVecI axis, IVecI destDir)
rot in interface ITransformablerot in class IGeometrypublic IMesh rot(IVecI center, IVecI axis, IVecI destPt)
rot in interface ITransformablerot in class IGeometrypublic IMesh rot2(IDoubleI angle)
rot2 in interface ITransformablerot2 in class IGeometrypublic IMesh rot2(double angle)
rot2 in interface ITransformablerot2 in class IGeometrypublic IMesh rot2(IVecI center, IDoubleI angle)
rot2 in interface ITransformablerot2 in class IGeometrypublic IMesh rot2(IVecI center, double angle)
rot2 in interface ITransformablerot2 in class IGeometrypublic IMesh rot2(IVecI destDir)
rot2 in interface ITransformablerot2 in class IGeometrypublic IMesh rot2(IVecI center, IVecI destPt)
rot2 in interface ITransformablerot2 in class IGeometrypublic IMesh scale(IDoubleI f)
scale in interface ITransformablescale in class IGeometrypublic IMesh scale(double f)
scale in interface ITransformablescale in class IGeometrypublic IMesh scale(IVecI center, IDoubleI f)
scale in interface ITransformablescale in class IGeometrypublic IMesh scale(IVecI center, double f)
scale in interface ITransformablescale in class IGeometrypublic IMesh scale1d(IVecI axis, double f)
scale1d in interface ITransformablescale1d in class IGeometrypublic IMesh scale1d(IVecI axis, IDoubleI f)
scale1d in interface ITransformablescale1d in class IGeometrypublic IMesh scale1d(IVecI center, IVecI axis, double f)
scale1d in interface ITransformablescale1d in class IGeometrypublic IMesh scale1d(IVecI center, IVecI axis, IDoubleI f)
scale1d in interface ITransformablescale1d in class IGeometrypublic IMesh ref(IVecI planeDir)
ref in interface ITransformableref in class IGeometrypublic IMesh ref(IVecI center, IVecI planeDir)
ref in interface ITransformableref in class IGeometrypublic IMesh mirror(IVecI planeDir)
mirror in interface ITransformablemirror in class IGeometrypublic IMesh mirror(IVecI center, IVecI planeDir)
mirror in interface ITransformablemirror in class IGeometrypublic IMesh shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
shear in interface ITransformableshear in class IGeometrypublic IMesh shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear in interface ITransformableshear in class IGeometrypublic IMesh shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
shear in interface ITransformableshear in class IGeometrypublic IMesh shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear in interface ITransformableshear in class IGeometrypublic IMesh shearXY(double sxy, double syx)
shearXY in interface ITransformableshearXY in class IGeometrypublic IMesh shearXY(IDoubleI sxy, IDoubleI syx)
shearXY in interface ITransformableshearXY in class IGeometrypublic IMesh shearXY(IVecI center, double sxy, double syx)
shearXY in interface ITransformableshearXY in class IGeometrypublic IMesh shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
shearXY in interface ITransformableshearXY in class IGeometrypublic IMesh shearYZ(double syz, double szy)
shearYZ in interface ITransformableshearYZ in class IGeometrypublic IMesh shearYZ(IDoubleI syz, IDoubleI szy)
shearYZ in interface ITransformableshearYZ in class IGeometrypublic IMesh shearYZ(IVecI center, double syz, double szy)
shearYZ in interface ITransformableshearYZ in class IGeometrypublic IMesh shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
shearYZ in interface ITransformableshearYZ in class IGeometrypublic IMesh shearZX(double szx, double sxz)
shearZX in interface ITransformableshearZX in class IGeometrypublic IMesh shearZX(IDoubleI szx, IDoubleI sxz)
shearZX in interface ITransformableshearZX in class IGeometrypublic IMesh shearZX(IVecI center, double szx, double sxz)
shearZX in interface ITransformableshearZX in class IGeometrypublic IMesh shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
shearZX in interface ITransformableshearZX in class IGeometrypublic IMesh mv(double x, double y, double z)
mv in interface ITransformablemv in class IGeometrypublic IMesh mv(IDoubleI x, IDoubleI y, IDoubleI z)
mv in interface ITransformablemv in class IGeometrypublic IMesh mv(IVecI v)
mv in interface ITransformablemv in class IGeometrypublic IMesh cp()
public IMesh cp(double x, double y, double z)
public IMesh translate(double x, double y, double z)
translate in interface ITransformabletranslate in class IGeometrypublic IMesh translate(IDoubleI x, IDoubleI y, IDoubleI z)
translate in interface ITransformabletranslate in class IGeometrypublic IMesh translate(IVecI v)
translate in interface ITransformabletranslate in class IGeometrypublic IMesh transform(IMatrix3I mat)
transform in interface ITransformabletransform in class IGeometrypublic IMesh transform(IMatrix4I mat)
transform in interface ITransformabletransform in class IGeometrypublic IMesh transform(IVecI xvec, IVecI yvec, IVecI zvec)
transform in interface ITransformabletransform in class IGeometry