public class IVertex extends java.lang.Object implements IVecI
| Modifier and Type | Class and Description |
|---|---|
static class |
IVertex.ZComparator |
static class |
IVertex.ZYXComparator |
| Modifier and Type | Field and Description |
|---|---|
IColor |
clr |
java.util.ArrayList<IEdge> |
edges |
java.util.ArrayList<IFace> |
faces |
int |
index
index number in IMeshGeo vertices array list
|
java.util.ArrayList<IVertex> |
linkedVertices |
IVecI |
normal |
IVecI |
pos |
IVec2I |
texture |
| Constructor and Description |
|---|
IVertex() |
IVertex(double x,
double y,
double z) |
IVertex(IVec p) |
IVertex(IVec4 p) |
IVertex(IVecI p) |
IVertex(IVertex v) |
| Modifier and Type | Method and Description |
|---|---|
IVertex |
add(double x,
double y,
double z) |
IVertex |
add(double f,
IVecI v)
scale add alias
|
IVertex |
add(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IVertex |
add(IDoubleI f,
IVecI v)
scale add alias
|
IVertex |
add(IVecI v) |
IVertex |
add(IVecI v,
double f)
scale add
|
IVertex |
add(IVecI v,
IDoubleI f)
scale add
|
void |
addEdge(IEdge e) |
void |
addFace(IFace f) |
double |
angle(double vx,
double vy,
double vz)
get angle between two vector from 0 to Pi
|
double |
angle(double vx,
double vy,
double vz,
double axisX,
double axisY,
double axisZ) |
double |
angle(ISwitchE e,
IVecI v)
get angle between two vector from 0 to Pi
|
double |
angle(ISwitchE e,
IVecI v,
IVecI axis) |
IDoubleI |
angle(ISwitchR r,
IVecI v)
get angle between two vector from 0 to Pi
|
IDoubleI |
angle(ISwitchR r,
IVecI v,
IVecI axis) |
double |
angle(IVecI v)
get angle between two vector from 0 to Pi
|
double |
angle(IVecI v,
IVecI axis) |
IVecI |
bisect(double vx,
double vy,
double vz)
create a new instance of bisector
|
IVecI |
bisect(IVecI v)
create a new instance of bisector
|
void |
calcNormal() |
IColor |
clr() |
IVertex |
clr(java.awt.Color c) |
IVertex |
clr(java.awt.Color c,
double alpha) |
IVertex |
clr(java.awt.Color c,
float alpha) |
IVertex |
clr(java.awt.Color c,
int alpha) |
IVertex |
clr(double dgray) |
IVertex |
clr(double dgray,
double dalpha) |
IVertex |
clr(double dr,
double dg,
double db) |
IVertex |
clr(double dr,
double dg,
double db,
double da) |
IVertex |
clr(float fgray) |
IVertex |
clr(float fgray,
float falpha) |
IVertex |
clr(float fr,
float fg,
float fb) |
IVertex |
clr(float fr,
float fg,
float fb,
float fa) |
IVertex |
clr(IColor c) |
IVertex |
clr(IColor c,
double alpha)
to set color, with alpha value overwritten
|
IVertex |
clr(IColor c,
float alpha)
to set color, with alpha value overwritten
|
IVertex |
clr(IColor c,
int alpha)
to set color, with alpha value overwritten
|
IVertex |
clr(int gray) |
IVertex |
clr(int gray,
int alpha) |
IVertex |
clr(int r,
int g,
int b) |
IVertex |
clr(int r,
int g,
int b,
int a) |
IVertex |
clr(IObject o) |
IVertex |
clr(IVertex v) |
IVertex |
cp()
cp() is alias of dup()
|
IVertex |
cp(double x,
double y,
double z)
cp() is alias of dup().add()
|
IVertex |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z)
cp() is alias of dup().add()
|
IVertex |
cp(IVecI v)
cp() is alias of dup().add()
|
IEdge |
createEdgeTo(IVertex v) |
IVecI |
cross(double vx,
double vy,
double vz)
cross product, creating a new instance
|
IVecI |
cross(IVecI v)
cross product, creating a new instance
|
void |
del() |
void |
del(IEdge e) |
IVecI |
dif(double vx,
double vy,
double vz)
create a new instance of difference
|
IVecI |
dif(IVecI v)
create a new instance of difference
|
IVecI |
diff(double vx,
double vy,
double vz)
alias of dif
|
IVecI |
diff(IVecI v)
alias of dif
|
double |
dist(double vx,
double vy,
double vz)
distance of two vectors
|
double |
dist(ISwitchE e,
IVecI v)
distance of two vectors
|
IDoubleI |
dist(ISwitchR r,
IVecI v)
distance of two vectors
|
double |
dist(IVecI v)
distance of two vectors
|
double |
dist2(double vx,
double vy,
double vz)
squared distance of two vectors
|
double |
dist2(ISwitchE e,
IVecI v)
squared distance of two vectors
|
IDoubleI |
dist2(ISwitchR r,
IVecI v)
squared distance of two vectors
|
double |
dist2(IVecI v)
squared distance of two vectors
|
IVertex |
div(double v) |
IVertex |
div(IDoubleI v) |
double |
dot(double vx,
double vy,
double vz)
dot product
|
double |
dot(ISwitchE e,
IVecI v)
dot product
|
IDoubleI |
dot(ISwitchR r,
IVecI v)
dot product
|
double |
dot(IVecI v)
dot product
|
IVertex |
dup()
duplicate the instance
|
IEdge |
edge(int i) |
int |
edgeNum() |
boolean |
eq(double vx,
double vy,
double vz)
check whether location is same or not
|
boolean |
eq(double vx,
double vy,
double vz,
double tolerance)
check whether location is same or not with tolerance
|
boolean |
eq(ISwitchE e,
IVecI v)
check whether location is same or not
|
boolean |
eq(ISwitchE e,
IVecI v,
double tolerance)
check whether location is same or not with tolerance
|
IBoolI |
eq(ISwitchR r,
IVecI v)
check whether location is same or not
|
IBoolI |
eq(ISwitchR r,
IVecI v,
IDoubleI tolerance)
check whether location is same or not with tolerance
|
boolean |
eq(IVecI v)
check whether location is same or not
|
boolean |
eq(IVecI v,
double tolerance)
check whether location is same or not with tolerance
|
boolean |
eqX(double vx)
check if same in X
|
boolean |
eqX(double vx,
double tolerance)
check if same in X with tolerance
|
boolean |
eqX(ISwitchE e,
IVecI v)
check if same in X
|
boolean |
eqX(ISwitchE e,
IVecI v,
double tolerance)
check if same in X with tolerance
|
IBoolI |
eqX(ISwitchR r,
IVecI v)
check if same in X
|
IBoolI |
eqX(ISwitchR r,
IVecI v,
IDoubleI tolerance)
check if same in X with tolerance
|
boolean |
eqX(IVecI v)
check if same in X
|
boolean |
eqX(IVecI v,
double tolerance)
check if same in X with tolerance
|
boolean |
eqY(double vy)
check if same in Y
|
boolean |
eqY(double vy,
double tolerance)
check if same in Y with tolerance
|
boolean |
eqY(ISwitchE e,
IVecI v)
check if same in Y
|
boolean |
eqY(ISwitchE e,
IVecI v,
double tolerance)
check if same in Y with tolerance
|
IBoolI |
eqY(ISwitchR r,
IVecI v)
check if same in Y
|
IBoolI |
eqY(ISwitchR r,
IVecI v,
IDoubleI tolerance)
check if same in Y with tolerance
|
boolean |
eqY(IVecI v)
check if same in Y
|
boolean |
eqY(IVecI v,
double tolerance)
check if same in Y with tolerance
|
boolean |
eqZ(double vz)
check if same in Z
|
boolean |
eqZ(double vz,
double tolerance)
check if same in Z with tolerance
|
boolean |
eqZ(ISwitchE e,
IVecI v)
check if same in Z
|
boolean |
eqZ(ISwitchE e,
IVecI v,
double tolerance)
check if same in Z with tolerance
|
IBoolI |
eqZ(ISwitchR r,
IVecI v)
check if same in Z
|
IBoolI |
eqZ(ISwitchR r,
IVecI v,
IDoubleI tolerance)
check if same in Z with tolerance
|
boolean |
eqZ(IVecI v)
check if same in Z
|
boolean |
eqZ(IVecI v,
double tolerance)
check if same in Z with tolerance
|
IFace |
face(int i) |
int |
faceNum() |
static int |
findLinkedVertexInArray(IVertex v,
java.util.ArrayList<IVertex> vlist,
boolean[] skiplist)
returns vertex index in arraylist
|
IVertex |
flip()
alias of neg()
|
IVec |
get() |
IVec |
getAverageNormal() |
IColor |
getColor() |
IEdge |
getEdge(int i) |
IEdge |
getEdgeTo(IVertex v) |
IFace |
getFace(int i) |
IVecI |
getNml()
getting normal (alias)
|
IVecI |
getNormal()
getting normal (alias)
|
IEdge[] |
getOtherEdges(IEdge edge) |
IDoubleI |
getX() |
IDoubleI |
getY() |
IDoubleI |
getZ() |
IVertex |
hsb(double dh,
double ds,
double db) |
IVertex |
hsb(double dh,
double ds,
double db,
double da) |
IVertex |
hsb(float h,
float s,
float b) |
IVertex |
hsb(float h,
float s,
float b,
float a) |
void |
init() |
boolean |
isValid()
setting normal; this nml has different function from IVecI's nml
|
double |
len()
getting length of the vector
|
IVertex |
len(double l)
setting length
|
IVertex |
len(IDoubleI l)
setting length
|
double |
len(ISwitchE e)
getting length of the vector
|
IDoubleI |
len(ISwitchR r)
getting length of the vector
|
double |
len2()
getting squared length of the vector
|
double |
len2(ISwitchE e)
getting squared length of the vector
|
IDoubleI |
len2(ISwitchR r)
getting squared length of the vector
|
IVertex |
linkedVertex(int i) |
int |
linkedVertexNum() |
IVecI |
mid(double vx,
double vy,
double vz)
create a new instance of midpoint
|
IVecI |
mid(IVecI v)
create a new instance of midpoint
|
IVertex |
mirror(double planeX,
double planeY,
double planeZ)
alias of ref
|
IVertex |
mirror(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
alias of ref
|
IVertex |
mirror(IVecI planeDir)
alias of ref
|
IVertex |
mirror(IVecI center,
IVecI planeDir)
alias of ref
|
IVertex |
mul(double v) |
IVertex |
mul(IDoubleI v) |
IVertex |
mv(double x,
double y,
double z)
mv() is alias of add()
|
IVertex |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z)
mv() is alias of add()
|
IVertex |
mv(IVecI v)
mv() is alias of add()
|
IVertex |
neg() |
IVecI |
nml()
getting normal
|
IVecI |
nml(double vx,
double vy,
double vz)
alias of cross
|
IVecI |
nml(double vx1,
double vy1,
double vz1,
double vx2,
double vy2,
double vz2)
create normal vector from 3 points of self, pt1 and pt2
|
IVecI |
nml(IVecI v)
alias of cross.
|
IVecI |
nml(IVecI pt1,
IVecI pt2)
create normal vector from 3 points of self, pt1 and pt2
|
IVecI |
normal()
getting normal (alias)
|
IVecI |
pos()
passing position field
|
IVertex |
ref(double planeX,
double planeY,
double planeZ)
reflect(mirror) 3 dimensionally to the other side of the plane
|
IVertex |
ref(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
reflect(mirror) 3 dimensionally to the other side of the plane
|
IVertex |
ref(IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane
|
IVertex |
ref(IVecI center,
IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane
|
void |
replaceLinkedVertex(IVertex oldVertex,
IVertex newVertex) |
void |
replaceVertex(IVertex newVertex) |
IVertex |
rev()
alias of neg()
|
IVertex |
rot(double angle)
rotation on XY plane
|
IVertex |
rot(double axisX,
double axisY,
double axisZ,
double angle)
rotation around axis vector
|
IVertex |
rot(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double angle)
rotation around axis vector and center point
|
IVertex |
rot(IDoubleI angle)
rotation on XY plane
|
IVertex |
rot(IVecI axis,
double angle)
rotation around axis vector
|
IVertex |
rot(IVecI axis,
IDoubleI angle)
rotation around axis vector
|
IVertex |
rot(IVecI axis,
IVecI destDir)
rotate to destination direction vector
|
IVertex |
rot(IVecI center,
IVecI axis,
double angle)
rotation around axis vector and center point
|
IVertex |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
rotation around axis vector and center point
|
IVertex |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotate to destination point location
|
IVertex |
rot2(double angle)
rotation on xy-plane; alias of rot(double)
|
IVertex |
rot2(double centerX,
double centerY,
double angle)
rotation on xy-plane
|
IVertex |
rot2(IDoubleI angle)
rotation on xy-plane; alias of rot(IDoubleI)
|
IVertex |
rot2(IVecI destDir)
rotation on xy-plane towards destDir
|
IVertex |
rot2(IVecI center,
double angle)
rotation on xy-plane
|
IVertex |
rot2(IVecI center,
IDoubleI angle)
rotation on xy-plane
|
IVertex |
rot2(IVecI center,
IVecI destPt)
rotation on xy-plane towards destPt
|
IVertex |
scale(double f)
alias of mul
|
IVertex |
scale(double centerX,
double centerY,
double centerZ,
double f)
scale from a center
|
IVertex |
scale(IDoubleI f)
alias of mul
|
IVertex |
scale(IVecI center,
double f)
scale from a center
|
IVertex |
scale(IVecI center,
IDoubleI f)
scale from a center
|
IVertex |
scale1d(double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction
|
IVertex |
scale1d(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction from a center
|
IVertex |
scale1d(IVecI axis,
double f)
scale only in 1 direction
|
IVertex |
scale1d(IVecI axis,
IDoubleI f)
scale only in 1 direction
|
IVertex |
scale1d(IVecI center,
IVecI axis,
double f)
scale only in 1 direction from a center
|
IVertex |
scale1d(IVecI center,
IVecI axis,
IDoubleI f)
scale only in 1 direction from a center
|
IVertex |
set(double x,
double y,
double z) |
IVertex |
set(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IVertex |
set(IVecI v) |
IVertex |
setNml(double x,
double y,
double z) |
IVertex |
setNml(IVecI n) |
IVertex |
setNormal(double x,
double y,
double z) |
IVertex |
setNormal(IVecI n) |
IVertex |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation
|
IVertex |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation
|
IVertex |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation
|
IVertex |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation
|
IVertex |
shearXY(double sxy,
double syx)
shear operation on XY
|
IVertex |
shearXY(IDoubleI sxy,
IDoubleI syx)
shear operation on XY
|
IVertex |
shearXY(IVecI center,
double sxy,
double syx)
shear operation on XY
|
IVertex |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
shear operation on XY
|
IVertex |
shearYZ(double syz,
double szy)
shear operation on YZ
|
IVertex |
shearYZ(IDoubleI syz,
IDoubleI szy)
shear operation on YZ
|
IVertex |
shearYZ(IVecI center,
double syz,
double szy)
shear operation on YZ
|
IVertex |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
shear operation on YZ
|
IVertex |
shearZX(double szx,
double sxz)
shear operation on ZX
|
IVertex |
shearZX(IDoubleI szx,
IDoubleI sxz)
shear operation on ZX
|
IVertex |
shearZX(IVecI center,
double szx,
double sxz)
shear operation on ZX
|
IVertex |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
shear operation on ZX
|
static java.util.ArrayList<IVertex> |
sortByEdge(java.util.ArrayList<IVertex> vtx)
list of vertices are sorted by tracing edge connection.
|
static java.util.ArrayList<IVertex> |
sortByEdge(java.util.ArrayList<IVertex> vtx,
int startIdx)
list of vertices are sorted by tracing edge connection.
|
static java.util.ArrayList<IVertex> |
sortByEdge(java.util.ArrayList<IVertex> vtx,
IVertex v)
list of vertices are sorted by tracing edge connection.
|
IVertex |
sub(double x,
double y,
double z) |
IVertex |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IVertex |
sub(IVecI v) |
IVecI |
sum(double vx,
double vy,
double vz)
create a new instance of total summation
|
IVecI |
sum(IVecI... v)
create a new instance of total summation
|
IVecI |
sum(IVecI v)
create a new instance of total summation
|
IVecI |
sum(IVecI v2,
double w2)
create a new instance of weighted sum
|
IVecI |
sum(IVecI v2,
double w1,
double w2)
create a new instance of weighted sum
|
IVecI |
sum(IVecI v2,
IDoubleI w2)
create a new instance of weighted sum
|
IVecI |
sum(IVecI v2,
IDoubleI w1,
IDoubleI w2)
create a new instance of weighted sum
|
IVec2I |
texture() |
IVertex |
texture(double u,
double v) |
IVertex |
texture(IVec2I t) |
IVec2I |
to2d() |
IVec2I |
to2d(IVecI projectionDir) |
IVec2I |
to2d(IVecI xaxis,
IVecI yaxis) |
IVec2I |
to2d(IVecI xaxis,
IVecI yaxis,
IVecI origin) |
IVec4I |
to4d() |
IVec4I |
to4d(double w) |
IVec4I |
to4d(IDoubleI w) |
java.lang.String |
toString() |
IVertex |
transform(IMatrix3I mat)
transform with a transformation matrix
|
IVertex |
transform(IMatrix4I mat)
transform with a transformation matrix
|
IVertex |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
transform with a transformation vectors
|
IVertex |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
transform with a transformation vectors
|
IVertex |
translate(double x,
double y,
double z)
translate is alias of add()
|
IVertex |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
alias of add()
|
IVertex |
translate(IVecI v)
alias of add()
|
IVertex |
unit()
unitize
|
double |
x()
getting x component
|
IVertex |
x(double vx)
setting x component
|
IVertex |
x(IDoubleI vx)
setting x component
|
double |
x(ISwitchE e)
getting x component
|
IDoubleI |
x(ISwitchR r)
getting x component
|
IVertex |
x(IVec2I vx)
setting x component by x component of input vector
|
IVertex |
x(IVecI vx)
setting x component by x component of input vector
|
double |
y()
getting y component
|
IVertex |
y(double vy)
setting y component
|
IVertex |
y(IDoubleI vy)
setting y component
|
double |
y(ISwitchE e)
getting y component
|
IDoubleI |
y(ISwitchR r)
getting y component
|
IVertex |
y(IVec2I vy)
setting y component by y component of input vector
|
IVertex |
y(IVecI vy)
setting y component by y component of input vector
|
double |
z()
getting z component
|
IVertex |
z(double vz)
setting z component
|
IVertex |
z(IDoubleI vz)
setting z component
|
double |
z(ISwitchE e)
getting z component
|
IDoubleI |
z(ISwitchR r)
getting z component
|
IVertex |
z(IVecI vz)
setting z component by z component of input vector
|
IVertex |
zero()
setting all zero
|
public java.util.ArrayList<IEdge> edges
public java.util.ArrayList<IFace> faces
public java.util.ArrayList<IVertex> linkedVertices
public IVecI pos
public IVecI normal
public IVec2I texture
public IColor clr
public int index
public IVertex()
public IVertex(double x,
double y,
double z)
public IVertex(IVec p)
public IVertex(IVec4 p)
public IVertex(IVecI p)
public IVertex(IVertex v)
public void init()
public void del()
public void del(IEdge e)
public double x()
IVecIpublic double y()
IVecIpublic double z()
IVecIpublic IVertex x(IVecI vx)
IVecIpublic IVertex y(IVecI vy)
IVecIpublic IVertex z(IVecI vz)
IVecIpublic IVertex x(IVec2I vx)
IVecIpublic IVertex y(IVec2I vy)
IVecIpublic IVec get()
public IVecI pos()
public IVertex dup()
ITransformabledup in interface IArithmeticVal<IVecI,IDoubleI>dup in interface ITransformabledup in interface IVecIpublic IVertex add(double x, double y, double z)
add in interface ITransformableadd in interface IVecIpublic IVertex add(IDoubleI x, IDoubleI y, IDoubleI z)
add in interface ITransformableadd in interface IVecIpublic IVertex add(IVecI v)
add in interface IArithmeticVal<IVecI,IDoubleI>add in interface ITransformableadd in interface IVecIpublic IVertex sub(double x, double y, double z)
sub in interface ITransformablesub in interface IVecIpublic IVertex sub(IDoubleI x, IDoubleI y, IDoubleI z)
sub in interface ITransformablesub in interface IVecIpublic IVertex sub(IVecI v)
sub in interface IArithmeticVal<IVecI,IDoubleI>sub in interface ITransformablesub in interface IVecIpublic IVertex mul(IDoubleI v)
mul in interface IArithmeticVal<IVecI,IDoubleI>mul in interface ITransformablemul in interface IVecIpublic IVertex mul(double v)
mul in interface ITransformablemul in interface IVecIpublic IVertex div(IDoubleI v)
div in interface IArithmeticVal<IVecI,IDoubleI>div in interface ITransformablediv in interface IVecIpublic IVertex div(double v)
div in interface ITransformablediv in interface IVecIpublic IVertex neg()
neg in interface ITransformableneg in interface IVecIpublic IVertex flip()
IVecIflip in interface ITransformableflip in interface IVecIpublic IVertex add(IVecI v, double f)
add in interface ITransformableadd in interface IVecIpublic IVertex add(IVecI v, IDoubleI f)
add in interface ITransformableadd in interface IVecIpublic IVertex add(double f, IVecI v)
add in interface ITransformableadd in interface IVecIpublic IVertex add(IDoubleI f, IVecI v)
add in interface ITransformableadd in interface IVecIpublic double dot(double vx,
double vy,
double vz)
IVecIpublic IVecI cross(IVecI v)
IVecIpublic IVecI cross(double vx, double vy, double vz)
IVecIpublic double len()
IVecIpublic double len(ISwitchE e)
IVecIpublic IDoubleI len(ISwitchR r)
IVecIpublic double len2()
IVecIpublic double len2(ISwitchE e)
IVecIpublic IDoubleI len2(ISwitchR r)
IVecIpublic double dist(double vx,
double vy,
double vz)
IVecIpublic double dist(ISwitchE e, IVecI v)
IVecIpublic IDoubleI dist(ISwitchR r, IVecI v)
IVecIpublic double dist2(IVecI v)
IVecIpublic double dist2(double vx,
double vy,
double vz)
IVecIpublic double dist2(ISwitchE e, IVecI v)
IVecIpublic IDoubleI dist2(ISwitchR r, IVecI v)
IVecIpublic boolean eq(IVecI v)
IVecIpublic boolean eq(double vx,
double vy,
double vz)
IVecIpublic boolean eq(ISwitchE e, IVecI v)
IVecIpublic IBoolI eq(ISwitchR r, IVecI v)
IVecIpublic boolean eq(IVecI v, double tolerance)
IVecIpublic boolean eq(double vx,
double vy,
double vz,
double tolerance)
IVecIpublic boolean eq(ISwitchE e, IVecI v, double tolerance)
IVecIpublic IBoolI eq(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecIpublic boolean eqX(double vx)
IVecIpublic boolean eqY(double vy)
IVecIpublic boolean eqZ(double vz)
IVecIpublic boolean eqX(ISwitchE e, IVecI v)
IVecIpublic boolean eqY(ISwitchE e, IVecI v)
IVecIpublic boolean eqZ(ISwitchE e, IVecI v)
IVecIpublic IBoolI eqX(ISwitchR r, IVecI v)
IVecIpublic IBoolI eqY(ISwitchR r, IVecI v)
IVecIpublic IBoolI eqZ(ISwitchR r, IVecI v)
IVecIpublic boolean eqX(IVecI v, double tolerance)
IVecIpublic boolean eqY(IVecI v, double tolerance)
IVecIpublic boolean eqZ(IVecI v, double tolerance)
IVecIpublic boolean eqX(double vx,
double tolerance)
IVecIpublic boolean eqY(double vy,
double tolerance)
IVecIpublic boolean eqZ(double vz,
double tolerance)
IVecIpublic boolean eqX(ISwitchE e, IVecI v, double tolerance)
IVecIpublic boolean eqY(ISwitchE e, IVecI v, double tolerance)
IVecIpublic boolean eqZ(ISwitchE e, IVecI v, double tolerance)
IVecIpublic IBoolI eqX(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecIpublic IBoolI eqY(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecIpublic IBoolI eqZ(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecIpublic double angle(IVecI v)
IVecIpublic double angle(double vx,
double vy,
double vz)
IVecIpublic double angle(ISwitchE e, IVecI v)
IVecIpublic IDoubleI angle(ISwitchR r, IVecI v)
IVecIpublic double angle(double vx,
double vy,
double vz,
double axisX,
double axisY,
double axisZ)
public IVertex rot(IDoubleI angle)
IVecIrot in interface ITransformablerot in interface IVecIpublic IVertex rot(double angle)
IVecIrot in interface ITransformablerot in interface IVecIpublic IVertex rot(IVecI axis, IDoubleI angle)
IVecIrot in interface ITransformablerot in interface IVecIpublic IVertex rot(IVecI axis, double angle)
IVecIrot in interface ITransformablerot in interface IVecIpublic IVertex rot(double axisX, double axisY, double axisZ, double angle)
IVecIpublic IVertex rot(IVecI center, IVecI axis, IDoubleI angle)
IVecIrot in interface ITransformablerot in interface IVecIpublic IVertex rot(IVecI center, IVecI axis, double angle)
IVecIrot in interface ITransformablerot in interface IVecIpublic IVertex rot(double centerX, double centerY, double centerZ, double axisX, double axisY, double axisZ, double angle)
IVecIpublic IVertex rot(IVecI axis, IVecI destDir)
IVecIrot in interface ITransformablerot in interface IVecIpublic IVertex rot(IVecI center, IVecI axis, IVecI destPt)
IVecIrot in interface ITransformablerot in interface IVecIpublic IVertex rot2(IDoubleI angle)
IVecIrot2 in interface ITransformablerot2 in interface IVecIpublic IVertex rot2(double angle)
IVecIrot2 in interface ITransformablerot2 in interface IVecIpublic IVertex rot2(IVecI center, IDoubleI angle)
IVecIrot2 in interface ITransformablerot2 in interface IVecIpublic IVertex rot2(IVecI center, double angle)
IVecIrot2 in interface ITransformablerot2 in interface IVecIpublic IVertex rot2(double centerX, double centerY, double angle)
IVecIpublic IVertex rot2(IVecI destDir)
IVecIrot2 in interface ITransformablerot2 in interface IVecIpublic IVertex rot2(IVecI center, IVecI destPt)
IVecIrot2 in interface ITransformablerot2 in interface IVecIpublic IVertex scale(IDoubleI f)
IVecIscale in interface ITransformablescale in interface IVecIpublic IVertex scale(double f)
IVecIscale in interface ITransformablescale in interface IVecIpublic IVertex scale(IVecI center, IDoubleI f)
IVecIscale in interface ITransformablescale in interface IVecIpublic IVertex scale(IVecI center, double f)
IVecIscale in interface ITransformablescale in interface IVecIpublic IVertex scale(double centerX, double centerY, double centerZ, double f)
IVecIpublic IVertex scale1d(IVecI axis, double f)
scale1d in interface ITransformablescale1d in interface IVecIpublic IVertex scale1d(IVecI axis, IDoubleI f)
IVecIscale1d in interface ITransformablescale1d in interface IVecIpublic IVertex scale1d(double axisX, double axisY, double axisZ, double f)
IVecIpublic IVertex scale1d(IVecI center, IVecI axis, double f)
IVecIscale1d in interface ITransformablescale1d in interface IVecIpublic IVertex scale1d(IVecI center, IVecI axis, IDoubleI f)
IVecIscale1d in interface ITransformablescale1d in interface IVecIpublic IVertex scale1d(double centerX, double centerY, double centerZ, double axisX, double axisY, double axisZ, double f)
IVecIpublic IVertex ref(IVecI planeDir)
IVecIref in interface ITransformableref in interface IVecIpublic IVertex ref(double planeX, double planeY, double planeZ)
IVecIpublic IVertex ref(IVecI center, IVecI planeDir)
IVecIref in interface ITransformableref in interface IVecIpublic IVertex ref(double centerX, double centerY, double centerZ, double planeX, double planeY, double planeZ)
IVecIpublic IVertex mirror(IVecI planeDir)
IVecImirror in interface ITransformablemirror in interface IVecIpublic IVertex mirror(double planeX, double planeY, double planeZ)
IVecIpublic IVertex mirror(IVecI center, IVecI planeDir)
IVecImirror in interface ITransformablemirror in interface IVecIpublic IVertex mirror(double centerX, double centerY, double centerZ, double planeX, double planeY, double planeZ)
IVecIpublic IVertex shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
shear in interface ITransformableshear in interface IVecIpublic IVertex shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
IVecIshear in interface ITransformableshear in interface IVecIpublic IVertex shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
IVecIshear in interface ITransformableshear in interface IVecIpublic IVertex shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
IVecIshear in interface ITransformableshear in interface IVecIpublic IVertex shearXY(double sxy, double syx)
IVecIshearXY in interface ITransformableshearXY in interface IVecIpublic IVertex shearXY(IDoubleI sxy, IDoubleI syx)
IVecIshearXY in interface ITransformableshearXY in interface IVecIpublic IVertex shearXY(IVecI center, double sxy, double syx)
IVecIshearXY in interface ITransformableshearXY in interface IVecIpublic IVertex shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
IVecIshearXY in interface ITransformableshearXY in interface IVecIpublic IVertex shearYZ(double syz, double szy)
IVecIshearYZ in interface ITransformableshearYZ in interface IVecIpublic IVertex shearYZ(IDoubleI syz, IDoubleI szy)
IVecIshearYZ in interface ITransformableshearYZ in interface IVecIpublic IVertex shearYZ(IVecI center, double syz, double szy)
IVecIshearYZ in interface ITransformableshearYZ in interface IVecIpublic IVertex shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
IVecIshearYZ in interface ITransformableshearYZ in interface IVecIpublic IVertex shearZX(double szx, double sxz)
IVecIshearZX in interface ITransformableshearZX in interface IVecIpublic IVertex shearZX(IDoubleI szx, IDoubleI sxz)
IVecIshearZX in interface ITransformableshearZX in interface IVecIpublic IVertex shearZX(IVecI center, double szx, double sxz)
IVecIshearZX in interface ITransformableshearZX in interface IVecIpublic IVertex shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
IVecIshearZX in interface ITransformableshearZX in interface IVecIpublic IVertex translate(double x, double y, double z)
translate in interface ITransformabletranslate in interface IVecIpublic IVertex translate(IDoubleI x, IDoubleI y, IDoubleI z)
IVecItranslate in interface ITransformabletranslate in interface IVecIpublic IVertex translate(IVecI v)
IVecItranslate in interface ITransformabletranslate in interface IVecIpublic IVertex transform(IMatrix3I mat)
IVecItransform in interface ITransformabletransform in interface IVecIpublic IVertex transform(IMatrix4I mat)
IVecItransform in interface ITransformabletransform in interface IVecIpublic IVertex transform(IVecI xvec, IVecI yvec, IVecI zvec)
IVecItransform in interface ITransformabletransform in interface IVecIpublic IVertex transform(IVecI xvec, IVecI yvec, IVecI zvec, IVecI translate)
IVecItransform in interface ITransformabletransform in interface IVecIpublic IVertex mv(double x, double y, double z)
mv in interface ITransformablemv in interface IVecIpublic IVertex mv(IDoubleI x, IDoubleI y, IDoubleI z)
IVecImv in interface ITransformablemv in interface IVecIpublic IVertex mv(IVecI v)
IVecImv in interface ITransformablemv in interface IVecIpublic IVertex cp()
cp in interface IArithmeticVal<IVecI,IDoubleI>cp in interface ITransformablecp in interface IVecIpublic IVertex cp(double x, double y, double z)
cp in interface ITransformablecp in interface IVecIpublic IVertex cp(IDoubleI x, IDoubleI y, IDoubleI z)
IVecIcp in interface ITransformablecp in interface IVecIpublic IVertex cp(IVecI v)
IVecIcp in interface ITransformablecp in interface IVecIpublic IVecI dif(IVecI v)
IVecIpublic IVecI dif(double vx, double vy, double vz)
IVecIpublic IVecI diff(double vx, double vy, double vz)
IVecIpublic IVecI mid(IVecI v)
IVecIpublic IVecI mid(double vx, double vy, double vz)
IVecIpublic IVecI sum(IVecI v)
IVecIpublic IVecI sum(double vx, double vy, double vz)
IVecIpublic IVecI sum(IVecI... v)
IVecIpublic IVecI bisect(IVecI v)
IVecIpublic IVecI bisect(double vx, double vy, double vz)
IVecIpublic IVecI sum(IVecI v2, double w1, double w2)
IVecIpublic IVecI sum(IVecI v2, double w2)
IVecIpublic IVecI sum(IVecI v2, IDoubleI w1, IDoubleI w2)
IVecIpublic IVecI sum(IVecI v2, IDoubleI w2)
IVecIpublic IVecI nml(double vx, double vy, double vz)
IVecIpublic IVecI nml(double vx1, double vy1, double vz1, double vx2, double vy2, double vz2)
IVecIpublic IVec getAverageNormal()
public void calcNormal()
public IVecI normal()
public IVecI nml()
public IVecI getNormal()
public IVecI getNml()
public IVertex setNormal(double x, double y, double z)
public IVertex setNml(double x, double y, double z)
public boolean isValid()
public IVec2I texture()
public IVertex texture(double u, double v)
public void addEdge(IEdge e)
public IEdge getEdge(int i)
public IEdge edge(int i)
public int edgeNum()
public void addFace(IFace f)
public IFace getFace(int i)
public IFace face(int i)
public int faceNum()
public IVertex linkedVertex(int i)
public int linkedVertexNum()
public void replaceVertex(IVertex newVertex)
public java.lang.String toString()
toString in class java.lang.Objectpublic static java.util.ArrayList<IVertex> sortByEdge(java.util.ArrayList<IVertex> vtx, int startIdx)
public static java.util.ArrayList<IVertex> sortByEdge(java.util.ArrayList<IVertex> vtx, IVertex v)
public static java.util.ArrayList<IVertex> sortByEdge(java.util.ArrayList<IVertex> vtx)
public static int findLinkedVertexInArray(IVertex v, java.util.ArrayList<IVertex> vlist, boolean[] skiplist)
public IColor clr()
public IVertex clr(java.awt.Color c)
public IVertex clr(java.awt.Color c, int alpha)
public IVertex clr(java.awt.Color c, float alpha)
public IVertex clr(java.awt.Color c, double alpha)
public IColor getColor()
public IVertex clr(int gray)
public IVertex clr(double dgray)
public IVertex clr(float fgray)
public IVertex clr(int gray, int alpha)
public IVertex clr(double dgray, double dalpha)
public IVertex clr(float fgray, float falpha)
public IVertex clr(int r, int g, int b)
public IVertex clr(double dr, double dg, double db)
public IVertex clr(float fr, float fg, float fb)
public IVertex clr(int r, int g, int b, int a)
public IVertex clr(double dr, double dg, double db, double da)
public IVertex clr(float fr, float fg, float fb, float fa)
public IVertex hsb(double dh, double ds, double db, double da)
public IVertex hsb(float h, float s, float b, float a)
public IVertex hsb(double dh, double ds, double db)
public IVertex hsb(float h, float s, float b)