|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectigeo.IObject
igeo.IGeometry
igeo.IPoint
public class IPoint
Class of point object.
| Field Summary | |
|---|---|
IVec |
pos
|
| Fields inherited from class igeo.IObject |
|---|
attribute, dynamics, graphics, parameter, server |
| Constructor Summary | |
|---|---|
IPoint()
|
|
IPoint(double x,
double y)
|
|
IPoint(double x,
double y,
double z)
|
|
IPoint(IPoint p)
|
|
IPoint(IServerI s)
|
|
IPoint(IServerI s,
double x,
double y)
|
|
IPoint(IServerI s,
double x,
double y,
double z)
|
|
IPoint(IServerI s,
IPoint p)
|
|
IPoint(IServerI s,
IVec v)
|
|
IPoint(IServerI s,
IVecI v)
|
|
IPoint(IVec v)
|
|
IPoint(IVecI v)
|
|
| Method Summary | |
|---|---|
IPoint |
add(double x,
double y,
double z)
ITransformable API |
IPoint |
add(double f,
IVecI v)
scale add alias |
IPoint |
add(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IPoint |
add(IDoubleI f,
IVecI v)
scale add alias |
IPoint |
add(IVecI v)
|
IPoint |
add(IVecI v,
double f)
scale add |
IPoint |
add(IVecI v,
IDoubleI f)
scale add |
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)
|
IDouble |
angle(ISwitchR r,
IVecI v)
get angle between two vector from 0 to Pi |
IDouble |
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)
|
IPoint |
attr(IAttribute at)
set attributes |
IVec |
bisect(double vx,
double vy,
double vz)
create a new instance of bisector |
IVec |
bisect(IVecI v)
create a new instance of bisector |
IVec |
center()
center is same with position |
IPoint |
clr(java.awt.Color c)
|
IPoint |
clr(java.awt.Color c,
int alpha)
to set color, with alpha value overwritten |
IPoint |
clr(double dgray)
|
IPoint |
clr(double dgray,
double dalpha)
|
IPoint |
clr(double dr,
double dg,
double db)
|
IPoint |
clr(double dr,
double dg,
double db,
double da)
|
IPoint |
clr(float fgray)
|
IPoint |
clr(float fgray,
float falpha)
|
IPoint |
clr(float fr,
float fg,
float fb)
|
IPoint |
clr(float fr,
float fg,
float fb,
float fa)
|
IPoint |
clr(int gray)
|
IPoint |
clr(int gray,
int alpha)
|
IPoint |
clr(int r,
int g,
int b)
|
IPoint |
clr(int r,
int g,
int b,
int a)
|
IPoint |
cp()
cp() is alias of dup() |
IPoint |
cp(double x,
double y,
double z)
cp() is alias of dup().add() |
IPoint |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z)
cp() is alias of dup().add() |
IPoint |
cp(IVecI v)
cp() is alias of dup().add() |
IGraphicObject |
createGraphic(IGraphicMode m)
|
IVec |
cross(double vx,
double vy,
double vz)
cross product, creating a new instance |
IVec |
cross(IVecI v)
cross product, creating a new instance |
IVec |
dif(double vx,
double vy,
double vz)
create a new instance of difference |
IVec |
dif(IVecI v)
create a new instance of difference |
IVec |
diff(double vx,
double vy,
double vz)
alias of dif |
IVec |
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 |
IDouble |
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 |
IDouble |
dist2(ISwitchR r,
IVecI v)
squared distance of two vectors |
double |
dist2(IVecI v)
squared distance of two vectors |
IPoint |
div(double v)
|
IPoint |
div(IDoubleI v)
|
double |
dot(double vx,
double vy,
double vz)
dot product |
double |
dot(ISwitchE e,
IVecI v)
dot product |
IDouble |
dot(ISwitchR r,
IVecI v)
dot product |
double |
dot(IVecI v)
dot product |
IPoint |
dup()
duplicate object |
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 |
IBool |
eq(ISwitchR r,
IVecI v)
check whether location is same or not |
IBool |
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 |
IBool |
eqX(ISwitchR r,
IVecI v)
check if same in X |
IBool |
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 |
IBool |
eqY(ISwitchR r,
IVecI v)
check if same in Y |
IBool |
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 |
IBool |
eqZ(ISwitchR r,
IVecI v)
check if same in Z |
IBool |
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 |
IPoint |
flip()
alias of neg |
IVec |
get()
|
double |
getSize()
|
IDouble |
getX()
|
IDouble |
getY()
|
IDouble |
getZ()
|
IPoint |
hide()
|
IPoint |
hsb(double h,
double s,
double b)
|
IPoint |
hsb(double h,
double s,
double b,
double a)
|
IPoint |
hsb(float h,
float s,
float b)
|
IPoint |
hsb(float h,
float s,
float b,
float a)
|
void |
initPoint(IServerI s)
|
boolean |
isValid()
checking x, y, and z is valid number (not Infinite, nor NaN). |
IPoint |
layer(ILayer l)
Set layer by ILayer object |
IPoint |
layer(java.lang.String l)
Set layer by layer name. |
double |
len()
getting length of the vector |
IPoint |
len(double l)
setting length |
IPoint |
len(IDoubleI l)
setting length |
double |
len(ISwitchE e)
getting length of the vector |
IDouble |
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 |
IDouble |
len2(ISwitchR r)
getting squared length of the vector |
IVec |
mid(double vx,
double vy,
double vz)
create a new instance of midpoint |
IVec |
mid(IVecI v)
create a new instance of midpoint |
IPoint |
mirror(double planeX,
double planeY,
double planeZ)
reflect (mirror) 3 dimensionally to the other side of the plane |
IPoint |
mirror(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
reflect (mirror) 3 dimensionally to the other side of the plane |
IPoint |
mirror(IVecI planeDir)
reflect (mirror) 3 dimensionally to the other side of the plane |
IPoint |
mirror(IVecI center,
IVecI planeDir)
reflect (mirror) 3 dimensionally to the other side of the plane |
IPoint |
mul(double v)
|
IPoint |
mul(IDoubleI v)
|
IPoint |
mv(double x,
double y,
double z)
mv() is alias of add() |
IPoint |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z)
mv() is alias of add() |
IPoint |
mv(IVecI v)
mv() is alias of add() |
IPoint |
name(java.lang.String nm)
|
IPoint |
neg()
|
IVec |
nml(double vx,
double vy,
double vz)
alias of cross |
IVec |
nml(double vx1,
double vy1,
double vz1,
double vx2,
double vy2,
double vz2)
create normal vector from 3 points of self, pt1 and pt2 |
IVec |
nml(IVecI v)
alias of cross. |
IVec |
nml(IVecI pt1,
IVecI pt2)
create normal vector from 3 points of self, pt1 and pt2 |
IVec |
pos()
passing position field |
IPoint |
ref(double planeX,
double planeY,
double planeZ)
reflect (mirror) 3 dimensionally to the other side of the plane |
IPoint |
ref(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
reflect (mirror) 3 dimensionally to the other side of the plane |
IPoint |
ref(IVecI planeDir)
reflect (mirror) 3 dimensionally to the other side of the plane |
IPoint |
ref(IVecI center,
IVecI planeDir)
reflect (mirror) 3 dimensionally to the other side of the plane |
IPoint |
rev()
alias of neg() |
IPoint |
rot(double angle)
rotation on XY plane |
IPoint |
rot(double axisX,
double axisY,
double axisZ,
double angle)
rotation around axis vector |
IPoint |
rot(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double angle)
rotation around axis vector and center point |
IPoint |
rot(IDoubleI angle)
rotation around z-axis and origin |
IPoint |
rot(IVecI axis,
double angle)
rotation around axis vector |
IPoint |
rot(IVecI axis,
IDoubleI angle)
rotation around axis vector |
IPoint |
rot(IVecI axis,
IVecI destDir)
Rotate to destination direction vector. |
IPoint |
rot(IVecI center,
IVecI axis,
double angle)
rotation around axis vector and center point |
IPoint |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
rotation around axis vector and center |
IPoint |
rot(IVecI center,
IVecI axis,
IVecI destPt)
Rotate to destination point location. |
IPoint |
rot2(double angle)
rotation on xy-plane around origin; same with rot(double) |
IPoint |
rot2(double centerX,
double centerY,
double angle)
rotation on xy-plane |
IPoint |
rot2(IDoubleI angle)
rotation on xy-plane around origin; same with rot(IDoubleI) |
IPoint |
rot2(IVecI destDir)
Rotate to destination direction vector. |
IPoint |
rot2(IVecI center,
double angle)
rotation on xy-plane |
IPoint |
rot2(IVecI center,
IDoubleI angle)
rotation on xy-plane around center |
IPoint |
rot2(IVecI center,
IVecI destPt)
Rotate to destination point location. |
IPoint |
scale(double f)
alias of mul |
IPoint |
scale(double centerX,
double centerY,
double centerZ,
double f)
scale from a center |
IPoint |
scale(IDoubleI f)
alias of mul |
IPoint |
scale(IVecI center,
double f)
scale from a center |
IPoint |
scale(IVecI center,
IDoubleI f)
scale from a center |
IPoint |
scale1d(double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction |
IPoint |
scale1d(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction from a center |
IPoint |
scale1d(IVecI axis,
double f)
scale only in 1 direction |
IPoint |
scale1d(IVecI axis,
IDoubleI f)
scale only in 1 direction |
IPoint |
scale1d(IVecI center,
IVecI axis,
double f)
scale only in 1 direction from a center |
IPoint |
scale1d(IVecI center,
IVecI axis,
IDoubleI f)
scale only in 1 direction from a center |
IPoint |
set(double x,
double y,
double z)
|
IPoint |
set(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IPoint |
set(IVecI v)
|
IPoint |
setColor(java.awt.Color c)
|
IPoint |
setColor(java.awt.Color c,
int alpha)
|
IPoint |
setColor(double dgray)
|
IPoint |
setColor(double dgray,
double dalpha)
|
IPoint |
setColor(double dr,
double dg,
double db)
|
IPoint |
setColor(double dr,
double dg,
double db,
double da)
|
IPoint |
setColor(float fgray)
|
IPoint |
setColor(float fgray,
float falpha)
|
IPoint |
setColor(float fr,
float fg,
float fb)
|
IPoint |
setColor(float fr,
float fg,
float fb,
float fa)
|
IPoint |
setColor(int gray)
|
IPoint |
setColor(int gray,
int alpha)
|
IPoint |
setColor(int r,
int g,
int b)
|
IPoint |
setColor(int r,
int g,
int b,
int a)
|
IPoint |
setHSBColor(double h,
double s,
double b)
|
IPoint |
setHSBColor(double h,
double s,
double b,
double a)
|
IPoint |
setHSBColor(float h,
float s,
float b)
|
IPoint |
setHSBColor(float h,
float s,
float b,
float a)
|
IPoint |
setSize(double sz)
set size of dot in graphic ; it's just alias of weight() |
IPoint |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation |
IPoint |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation |
IPoint |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation |
IPoint |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation |
IPoint |
shearXY(double sxy,
double syx)
shear operation on XY |
IPoint |
shearXY(IDoubleI sxy,
IDoubleI syx)
shear operation on XY |
IPoint |
shearXY(IVecI center,
double sxy,
double syx)
shear operation on XY |
IPoint |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
shear operation on XY |
IPoint |
shearYZ(double syz,
double szy)
shear operation on YZ |
IPoint |
shearYZ(IDoubleI syz,
IDoubleI szy)
shear operation on YZ |
IPoint |
shearYZ(IVecI center,
double syz,
double szy)
shear operation on YZ |
IPoint |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
shear operation on YZ |
IPoint |
shearZX(double szx,
double sxz)
shear operation on ZX |
IPoint |
shearZX(IDoubleI szx,
IDoubleI sxz)
shear operation on ZX |
IPoint |
shearZX(IVecI center,
double szx,
double sxz)
shear operation on ZX |
IPoint |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
shear operation on ZX |
IPoint |
show()
|
double |
size()
|
IPoint |
size(double sz)
|
IPoint |
sub(double x,
double y,
double z)
|
IPoint |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IPoint |
sub(IVecI v)
|
IVec |
sum(double vx,
double vy,
double vz)
create a new instance of total summation |
IVec |
sum(IVecI... v)
create a new instance of total summation |
IVec |
sum(IVecI v)
create a new instance of total summation |
IVec |
sum(IVecI v2,
double w2)
create a new instance of weighted sum |
IVec |
sum(IVecI v2,
double w1,
double w2)
weighted sum. |
IVec |
sum(IVecI v2,
IDoubleI w2)
create a new instance of weighted sum |
IVec |
sum(IVecI v2,
IDoubleI w1,
IDoubleI w2)
create a new instance of weighted sum |
IVec2 |
to2d()
|
IVec4 |
to4d()
|
IVec4 |
to4d(double w)
|
IVec4 |
to4d(IDoubleI w)
|
java.lang.String |
toString()
|
IPoint |
transform(IMatrix3I mat)
transform with a transformation matrix |
IPoint |
transform(IMatrix4I mat)
transform with a transformation matrix |
IPoint |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
transform with a transformation vectors |
IPoint |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
transform with a transformation vectors |
IPoint |
translate(double x,
double y,
double z)
translate is alias of add() |
IPoint |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
alias of add() |
IPoint |
translate(IVecI v)
alias of add() |
IPoint |
unit()
unitize |
IPoint |
weight(double w)
|
IPoint |
weight(float w)
|
double |
x()
getting x component |
IPoint |
x(double vx)
setting x component |
IPoint |
x(IDoubleI vx)
setting x component |
double |
x(ISwitchE e)
getting x component |
IDouble |
x(ISwitchR r)
getting x component |
double |
y()
getting y component |
IPoint |
y(double vy)
setting y component |
IPoint |
y(IDoubleI vy)
setting y component |
double |
y(ISwitchE e)
getting y component |
IDouble |
y(ISwitchR r)
getting y component |
double |
z()
getting z component |
IPoint |
z(double vz)
setting z component |
IPoint |
z(IDoubleI vz)
setting z component |
double |
z(ISwitchE e)
getting z component |
IDouble |
z(ISwitchR r)
getting z component |
IPoint |
zero()
setting all zero |
| Methods inherited from class igeo.IObject |
|---|
addDynamics, alpha, alphaInt, attr, attr, blue, blueInt, clearDynamics, clearGraphics, clr, clr, del, deletDynamics, deleteDynamics, deleteDynamics, deleteGraphic, dynamicsNum, getColor, getDynamics, getGraphic, getGraphic, getParameter, graphicsNum, gray, grayInt, green, greenInt, greyInt, initGraphic, initObject, isVisible, layer, name, red, redInt, resetGraphic, server, setParameter, syncColor, syncGraphic, syncWeight, updateGraphic, visible, weight |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public IVec pos
| Constructor Detail |
|---|
public IPoint()
public IPoint(IVec v)
public IPoint(IVecI v)
public IPoint(double x,
double y,
double z)
public IPoint(double x,
double y)
public IPoint(IServerI s)
public IPoint(IServerI s,
IVec v)
public IPoint(IServerI s,
IVecI v)
public IPoint(IServerI s,
double x,
double y,
double z)
public IPoint(IServerI s,
double x,
double y)
public IPoint(IPoint p)
public IPoint(IServerI s,
IPoint p)
| Method Detail |
|---|
public void initPoint(IServerI s)
public IGraphicObject createGraphic(IGraphicMode m)
createGraphic in class IObjectpublic double x()
IVecI
x in interface IVecIpublic double y()
IVecI
y in interface IVecIpublic double z()
IVecI
z in interface IVecIpublic IPoint x(double vx)
IVecI
x in interface IVecIpublic IPoint y(double vy)
IVecI
y in interface IVecIpublic IPoint z(double vz)
IVecI
z in interface IVecIpublic IPoint x(IDoubleI vx)
IVecI
x in interface IVecIpublic IPoint y(IDoubleI vy)
IVecI
y in interface IVecIpublic IPoint z(IDoubleI vz)
IVecI
z in interface IVecIpublic double x(ISwitchE e)
IVecI
x in interface IVecIpublic double y(ISwitchE e)
IVecI
y in interface IVecIpublic double z(ISwitchE e)
IVecI
z in interface IVecIpublic IDouble x(ISwitchR r)
IVecI
x in interface IVecIpublic IDouble y(ISwitchR r)
IVecI
y in interface IVecIpublic IDouble z(ISwitchR r)
IVecI
z in interface IVecIpublic IVec get()
get in interface IParameterget in interface IVecIget in interface IVecOppublic IVec pos()
public IVec center()
center in class IGeometrypublic IPoint dup()
IObject
dup in interface ITransformabledup in interface IVecIdup in class IGeometrypublic IVec2 to2d()
to2d in interface IVecIpublic IVec4 to4d()
to4d in interface IVecIpublic IVec4 to4d(double w)
to4d in interface IVecIpublic IVec4 to4d(IDoubleI w)
to4d in interface IVecIpublic IDouble getX()
getX in interface IVecIpublic IDouble getY()
getY in interface IVecIpublic IDouble getZ()
getZ in interface IVecIpublic IPoint set(IVecI v)
set in interface IVecI
public IPoint set(double x,
double y,
double z)
set in interface IVecI
public IPoint set(IDoubleI x,
IDoubleI y,
IDoubleI z)
set in interface IVecI
public IPoint add(double x,
double y,
double z)
IGeometry
add in interface ITransformableadd in interface IVecIadd in class IGeometry
public IPoint add(IDoubleI x,
IDoubleI y,
IDoubleI z)
add in interface ITransformableadd in interface IVecIadd in class IGeometrypublic IPoint add(IVecI v)
add in interface ITransformableadd in interface IVecIadd in class IGeometry
public IPoint sub(double x,
double y,
double z)
sub in interface ITransformablesub in interface IVecIsub in class IGeometry
public IPoint sub(IDoubleI x,
IDoubleI y,
IDoubleI z)
sub in interface ITransformablesub in interface IVecIsub in class IGeometrypublic IPoint sub(IVecI v)
sub in interface ITransformablesub in interface IVecIsub in class IGeometrypublic IPoint mul(IDoubleI v)
mul in interface ITransformablemul in interface IVecImul in class IGeometrypublic IPoint mul(double v)
mul in interface ITransformablemul in interface IVecImul in class IGeometrypublic IPoint div(IDoubleI v)
div in interface ITransformablediv in interface IVecIdiv in class IGeometrypublic IPoint div(double v)
div in interface ITransformablediv in interface IVecIdiv in class IGeometrypublic IPoint neg()
neg in interface ITransformableneg in interface IVecIneg in class IGeometrypublic IPoint rev()
IVecI
rev in interface IVecIpublic IPoint flip()
IGeometry
flip in interface ITransformableflip in interface IVecIflip in class IGeometrypublic IPoint zero()
IVecI
zero in interface IVecI
public IPoint add(IVecI v,
double f)
add in interface ITransformableadd in interface IVecIadd in class IGeometry
public IPoint add(IVecI v,
IDoubleI f)
IGeometry
add in interface ITransformableadd in interface IVecIadd in class IGeometry
public IPoint add(double f,
IVecI v)
add in interface ITransformableadd in interface IVecIadd in class IGeometry
public IPoint add(IDoubleI f,
IVecI v)
IGeometry
add in interface ITransformableadd in interface IVecIadd in class IGeometrypublic double dot(IVecI v)
IVecI
dot in interface IVecI
public double dot(double vx,
double vy,
double vz)
IVecI
dot in interface IVecI
public double dot(ISwitchE e,
IVecI v)
IVecI
dot in interface IVecI
public IDouble dot(ISwitchR r,
IVecI v)
IVecI
dot in interface IVecIpublic IVec cross(IVecI v)
IVecI
cross in interface IVecI
public IVec cross(double vx,
double vy,
double vz)
IVecI
cross in interface IVecIpublic double len()
IVecI
len in interface IVecIpublic double len(ISwitchE e)
IVecI
len in interface IVecIpublic IDouble len(ISwitchR r)
IVecI
len in interface IVecIpublic double len2()
IVecI
len2 in interface IVecIpublic double len2(ISwitchE e)
IVecI
len2 in interface IVecIpublic IDouble len2(ISwitchR r)
IVecI
len2 in interface IVecIpublic IPoint len(IDoubleI l)
IVecI
len in interface IVecIpublic IPoint len(double l)
IVecI
len in interface IVecIpublic IPoint unit()
IVecI
unit in interface IVecIpublic double dist(IVecI v)
IVecI
dist in interface IVecI
public double dist(double vx,
double vy,
double vz)
IVecI
dist in interface IVecI
public double dist(ISwitchE e,
IVecI v)
IVecI
dist in interface IVecI
public IDouble dist(ISwitchR r,
IVecI v)
IVecI
dist in interface IVecIpublic double dist2(IVecI v)
IVecI
dist2 in interface IVecI
public double dist2(double vx,
double vy,
double vz)
IVecI
dist2 in interface IVecI
public double dist2(ISwitchE e,
IVecI v)
IVecI
dist2 in interface IVecI
public IDouble dist2(ISwitchR r,
IVecI v)
IVecI
dist2 in interface IVecIpublic boolean eq(IVecI v)
IVecI
eq in interface IVecI
public boolean eq(double vx,
double vy,
double vz)
IVecI
eq in interface IVecI
public boolean eq(ISwitchE e,
IVecI v)
IVecI
eq in interface IVecI
public IBool eq(ISwitchR r,
IVecI v)
IVecI
eq in interface IVecI
public boolean eq(IVecI v,
double tolerance)
IVecI
eq in interface IVecI
public boolean eq(double vx,
double vy,
double vz,
double tolerance)
IVecI
eq in interface IVecI
public boolean eq(ISwitchE e,
IVecI v,
double tolerance)
IVecI
eq in interface IVecI
public IBool eq(ISwitchR r,
IVecI v,
IDoubleI tolerance)
IVecI
eq in interface IVecIpublic boolean eqX(IVecI v)
IVecI
eqX in interface IVecIpublic boolean eqY(IVecI v)
IVecI
eqY in interface IVecIpublic boolean eqZ(IVecI v)
IVecI
eqZ in interface IVecIpublic boolean eqX(double vx)
IVecI
eqX in interface IVecIpublic boolean eqY(double vy)
IVecI
eqY in interface IVecIpublic boolean eqZ(double vz)
IVecI
eqZ in interface IVecI
public boolean eqX(ISwitchE e,
IVecI v)
IVecI
eqX in interface IVecI
public boolean eqY(ISwitchE e,
IVecI v)
IVecI
eqY in interface IVecI
public boolean eqZ(ISwitchE e,
IVecI v)
IVecI
eqZ in interface IVecI
public IBool eqX(ISwitchR r,
IVecI v)
IVecI
eqX in interface IVecI
public IBool eqY(ISwitchR r,
IVecI v)
IVecI
eqY in interface IVecI
public IBool eqZ(ISwitchR r,
IVecI v)
IVecI
eqZ in interface IVecI
public boolean eqX(IVecI v,
double tolerance)
IVecI
eqX in interface IVecI
public boolean eqY(IVecI v,
double tolerance)
IVecI
eqY in interface IVecI
public boolean eqZ(IVecI v,
double tolerance)
IVecI
eqZ in interface IVecI
public boolean eqX(double vx,
double tolerance)
IVecI
eqX in interface IVecI
public boolean eqY(double vy,
double tolerance)
IVecI
eqY in interface IVecI
public boolean eqZ(double vz,
double tolerance)
IVecI
eqZ in interface IVecI
public boolean eqX(ISwitchE e,
IVecI v,
double tolerance)
IVecI
eqX in interface IVecI
public boolean eqY(ISwitchE e,
IVecI v,
double tolerance)
IVecI
eqY in interface IVecI
public boolean eqZ(ISwitchE e,
IVecI v,
double tolerance)
IVecI
eqZ in interface IVecI
public IBool eqX(ISwitchR r,
IVecI v,
IDoubleI tolerance)
IVecI
eqX in interface IVecI
public IBool eqY(ISwitchR r,
IVecI v,
IDoubleI tolerance)
IVecI
eqY in interface IVecI
public IBool eqZ(ISwitchR r,
IVecI v,
IDoubleI tolerance)
IVecI
eqZ in interface IVecIpublic double angle(IVecI v)
IVecI
angle in interface IVecI
public double angle(double vx,
double vy,
double vz)
IVecI
angle in interface IVecI
public double angle(ISwitchE e,
IVecI v)
IVecI
angle in interface IVecI
public IDouble angle(ISwitchR r,
IVecI v)
IVecI
angle in interface IVecI
public double angle(IVecI v,
IVecI axis)
angle in interface IVecIaxis - axis to determin sign of angle following right-handed screw rule.
public double angle(double vx,
double vy,
double vz,
double axisX,
double axisY,
double axisZ)
angle in interface IVecI
public double angle(ISwitchE e,
IVecI v,
IVecI axis)
angle in interface IVecIaxis - axis to determin sign of angle following right-handed screw rule.
public IDouble angle(ISwitchR r,
IVecI v,
IVecI axis)
angle in interface IVecIaxis - axis to determin sign of angle following right-handed screw rule.
public IPoint rot(IDoubleI angle)
IGeometry
rot in interface ITransformablerot in interface IVecIrot in class IGeometrypublic IPoint rot(double angle)
IVecI
rot in interface ITransformablerot in interface IVecIrot in class IGeometry
public IPoint rot(IVecI axis,
IDoubleI angle)
IGeometry
rot in interface ITransformablerot in interface IVecIrot in class IGeometry
public IPoint rot(IVecI axis,
double angle)
IVecI
rot in interface ITransformablerot in interface IVecIrot in class IGeometry
public IPoint rot(double axisX,
double axisY,
double axisZ,
double angle)
IVecI
rot in interface IVecI
public IPoint rot(IVecI center,
IVecI axis,
double angle)
IVecI
rot in interface ITransformablerot in interface IVecIrot in class IGeometry
public IPoint rot(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double angle)
IVecI
rot in interface IVecI
public IPoint rot(IVecI center,
IVecI axis,
IDoubleI angle)
IGeometry
rot in interface ITransformablerot in interface IVecIrot in class IGeometry
public IPoint rot(IVecI axis,
IVecI destDir)
rot in interface ITransformablerot in interface IVecIrot in class IGeometry
public IPoint rot(IVecI center,
IVecI axis,
IVecI destPt)
rot in interface ITransformablerot in interface IVecIrot in class IGeometrypublic IPoint rot2(IDoubleI angle)
IGeometry
rot2 in interface ITransformablerot2 in interface IVecIrot2 in class IGeometrypublic IPoint rot2(double angle)
IGeometry
rot2 in interface ITransformablerot2 in interface IVecIrot2 in class IGeometry
public IPoint rot2(IVecI center,
double angle)
IVecI
rot2 in interface ITransformablerot2 in interface IVecIrot2 in class IGeometry
public IPoint rot2(double centerX,
double centerY,
double angle)
IVecI
rot2 in interface IVecI
public IPoint rot2(IVecI center,
IDoubleI angle)
IGeometry
rot2 in interface ITransformablerot2 in interface IVecIrot2 in class IGeometrypublic IPoint rot2(IVecI destDir)
rot2 in interface ITransformablerot2 in interface IVecIrot2 in class IGeometry
public IPoint rot2(IVecI center,
IVecI destPt)
rot2 in interface ITransformablerot2 in interface IVecIrot2 in class IGeometrypublic IPoint scale(IDoubleI f)
scale in interface ITransformablescale in interface IVecIscale in class IGeometrypublic IPoint scale(double f)
scale in interface ITransformablescale in interface IVecIscale in class IGeometry
public IPoint scale(IVecI center,
IDoubleI f)
IVecI
scale in interface ITransformablescale in interface IVecIscale in class IGeometry
public IPoint scale(IVecI center,
double f)
IVecI
scale in interface ITransformablescale in interface IVecIscale in class IGeometry
public IPoint scale(double centerX,
double centerY,
double centerZ,
double f)
IVecI
scale in interface IVecI
public IPoint scale1d(IVecI axis,
double f)
scale1d in interface ITransformablescale1d in interface IVecIscale1d in class IGeometry
public IPoint scale1d(double axisX,
double axisY,
double axisZ,
double f)
IVecI
scale1d in interface IVecI
public IPoint scale1d(IVecI axis,
IDoubleI f)
IVecI
scale1d in interface ITransformablescale1d in interface IVecIscale1d in class IGeometry
public IPoint scale1d(IVecI center,
IVecI axis,
double f)
IVecI
scale1d in interface ITransformablescale1d in interface IVecIscale1d in class IGeometry
public IPoint scale1d(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double f)
IVecI
scale1d in interface IVecI
public IPoint scale1d(IVecI center,
IVecI axis,
IDoubleI f)
IVecI
scale1d in interface ITransformablescale1d in interface IVecIscale1d in class IGeometrypublic IPoint ref(IVecI planeDir)
ref in interface ITransformableref in interface IVecIref in class IGeometry
public IPoint ref(double planeX,
double planeY,
double planeZ)
ref in interface IVecI
public IPoint ref(IVecI center,
IVecI planeDir)
ref in interface ITransformableref in interface IVecIref in class IGeometry
public IPoint ref(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
ref in interface IVecIpublic IPoint mirror(IVecI planeDir)
mirror in interface ITransformablemirror in interface IVecImirror in class IGeometry
public IPoint mirror(double planeX,
double planeY,
double planeZ)
mirror in interface IVecI
public IPoint mirror(IVecI center,
IVecI planeDir)
mirror in interface ITransformablemirror in interface IVecImirror in class IGeometry
public IPoint mirror(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
mirror in interface IVecI
public IPoint shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear in interface ITransformableshear in interface IVecIshear in class IGeometry
public IPoint shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
IVecI
shear in interface ITransformableshear in interface IVecIshear in class IGeometry
public IPoint shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
IVecI
shear in interface ITransformableshear in interface IVecIshear in class IGeometry
public IPoint shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
IVecI
shear in interface ITransformableshear in interface IVecIshear in class IGeometry
public IPoint shearXY(double sxy,
double syx)
IVecI
shearXY in interface ITransformableshearXY in interface IVecIshearXY in class IGeometry
public IPoint shearXY(IDoubleI sxy,
IDoubleI syx)
IVecI
shearXY in interface ITransformableshearXY in interface IVecIshearXY in class IGeometry
public IPoint shearXY(IVecI center,
double sxy,
double syx)
IVecI
shearXY in interface ITransformableshearXY in interface IVecIshearXY in class IGeometry
public IPoint shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
IVecI
shearXY in interface ITransformableshearXY in interface IVecIshearXY in class IGeometry
public IPoint shearYZ(double syz,
double szy)
IVecI
shearYZ in interface ITransformableshearYZ in interface IVecIshearYZ in class IGeometry
public IPoint shearYZ(IDoubleI syz,
IDoubleI szy)
IVecI
shearYZ in interface ITransformableshearYZ in interface IVecIshearYZ in class IGeometry
public IPoint shearYZ(IVecI center,
double syz,
double szy)
IVecI
shearYZ in interface ITransformableshearYZ in interface IVecIshearYZ in class IGeometry
public IPoint shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
IVecI
shearYZ in interface ITransformableshearYZ in interface IVecIshearYZ in class IGeometry
public IPoint shearZX(double szx,
double sxz)
IVecI
shearZX in interface ITransformableshearZX in interface IVecIshearZX in class IGeometry
public IPoint shearZX(IDoubleI szx,
IDoubleI sxz)
IVecI
shearZX in interface ITransformableshearZX in interface IVecIshearZX in class IGeometry
public IPoint shearZX(IVecI center,
double szx,
double sxz)
IVecI
shearZX in interface ITransformableshearZX in interface IVecIshearZX in class IGeometry
public IPoint shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
IVecI
shearZX in interface ITransformableshearZX in interface IVecIshearZX in class IGeometry
public IPoint translate(double x,
double y,
double z)
translate in interface ITransformabletranslate in interface IVecItranslate in class IGeometry
public IPoint translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
IVecI
translate in interface ITransformabletranslate in interface IVecItranslate in class IGeometrypublic IPoint translate(IVecI v)
IVecI
translate in interface ITransformabletranslate in interface IVecItranslate in class IGeometrypublic IPoint transform(IMatrix3I mat)
IVecI
transform in interface ITransformabletransform in interface IVecItransform in class IGeometrypublic IPoint transform(IMatrix4I mat)
IVecI
transform in interface ITransformabletransform in interface IVecItransform in class IGeometry
public IPoint transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
IVecI
transform in interface ITransformabletransform in interface IVecItransform in class IGeometry
public IPoint transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
IVecI
transform in interface ITransformabletransform in interface IVecItransform in class IGeometry
public IPoint mv(double x,
double y,
double z)
mv in interface ITransformablemv in interface IVecImv in class IGeometry
public IPoint mv(IDoubleI x,
IDoubleI y,
IDoubleI z)
IVecI
mv in interface ITransformablemv in interface IVecImv in class IGeometrypublic IPoint mv(IVecI v)
IVecI
mv in interface ITransformablemv in interface IVecImv in class IGeometrypublic IPoint cp()
cp in interface ITransformablecp in interface IVecIcp in class IGeometry
public IPoint cp(double x,
double y,
double z)
cp in interface ITransformablecp in interface IVecIcp in class IGeometry
public IPoint cp(IDoubleI x,
IDoubleI y,
IDoubleI z)
IVecI
cp in interface ITransformablecp in interface IVecIcp in class IGeometrypublic IPoint cp(IVecI v)
IVecI
cp in interface ITransformablecp in interface IVecIcp in class IGeometrypublic IVec dif(IVecI v)
IVecI
dif in interface IVecI
public IVec dif(double vx,
double vy,
double vz)
IVecI
dif in interface IVecIpublic IVec diff(IVecI v)
IVecI
diff in interface IVecI
public IVec diff(double vx,
double vy,
double vz)
IVecI
diff in interface IVecIpublic IVec mid(IVecI v)
IVecI
mid in interface IVecI
public IVec mid(double vx,
double vy,
double vz)
IVecI
mid in interface IVecIpublic IVec sum(IVecI v)
IVecI
sum in interface IVecI
public IVec sum(double vx,
double vy,
double vz)
IVecI
sum in interface IVecIpublic IVec sum(IVecI... v)
IVecI
sum in interface IVecIpublic IVec bisect(IVecI v)
IVecI
bisect in interface IVecI
public IVec bisect(double vx,
double vy,
double vz)
IVecI
bisect in interface IVecI
public IVec sum(IVecI v2,
double w1,
double w2)
sum in interface IVecI
public IVec sum(IVecI v2,
double w2)
IVecI
sum in interface IVecI
public IVec sum(IVecI v2,
IDoubleI w1,
IDoubleI w2)
IVecI
sum in interface IVecI
public IVec sum(IVecI v2,
IDoubleI w2)
IVecI
sum in interface IVecIpublic IVec nml(IVecI v)
nml in interface IVecI
public IVec nml(double vx,
double vy,
double vz)
IVecI
nml in interface IVecI
public IVec nml(IVecI pt1,
IVecI pt2)
nml in interface IVecI
public IVec nml(double vx1,
double vy1,
double vz1,
double vx2,
double vy2,
double vz2)
IVecI
nml in interface IVecIpublic boolean isValid()
isValid in interface IVecIisValid in class IObjectpublic java.lang.String toString()
toString in class java.lang.Objectpublic IPoint setSize(double sz)
public IPoint size(double sz)
public double getSize()
public double size()
public IPoint name(java.lang.String nm)
name in class IObjectpublic IPoint layer(ILayer l)
IGeometry
layer in class IGeometrypublic IPoint layer(java.lang.String l)
IGeometry
layer in class IGeometrypublic IPoint attr(IAttribute at)
IObject
attr in class IGeometrypublic IPoint hide()
hide in class IGeometrypublic IPoint show()
show in class IGeometrypublic IPoint clr(java.awt.Color c)
clr in class IGeometry
public IPoint clr(java.awt.Color c,
int alpha)
IObject
clr in class IGeometrypublic IPoint clr(int gray)
clr in class IGeometrypublic IPoint clr(float fgray)
clr in class IGeometrypublic IPoint clr(double dgray)
clr in class IGeometry
public IPoint clr(int gray,
int alpha)
clr in class IGeometry
public IPoint clr(float fgray,
float falpha)
clr in class IGeometry
public IPoint clr(double dgray,
double dalpha)
clr in class IGeometry
public IPoint clr(int r,
int g,
int b)
clr in class IGeometry
public IPoint clr(float fr,
float fg,
float fb)
clr in class IGeometry
public IPoint clr(double dr,
double dg,
double db)
clr in class IGeometry
public IPoint clr(int r,
int g,
int b,
int a)
clr in class IGeometry
public IPoint clr(float fr,
float fg,
float fb,
float fa)
clr in class IGeometry
public IPoint clr(double dr,
double dg,
double db,
double da)
clr in class IGeometry
public IPoint hsb(float h,
float s,
float b,
float a)
hsb in class IGeometry
public IPoint hsb(double h,
double s,
double b,
double a)
hsb in class IGeometry
public IPoint hsb(float h,
float s,
float b)
hsb in class IGeometry
public IPoint hsb(double h,
double s,
double b)
hsb in class IGeometrypublic IPoint setColor(java.awt.Color c)
setColor in class IGeometry
public IPoint setColor(java.awt.Color c,
int alpha)
setColor in class IGeometrypublic IPoint setColor(int gray)
setColor in class IGeometrypublic IPoint setColor(float fgray)
setColor in class IGeometrypublic IPoint setColor(double dgray)
setColor in class IGeometry
public IPoint setColor(int gray,
int alpha)
setColor in class IGeometry
public IPoint setColor(float fgray,
float falpha)
setColor in class IGeometry
public IPoint setColor(double dgray,
double dalpha)
setColor in class IGeometry
public IPoint setColor(int r,
int g,
int b)
setColor in class IGeometry
public IPoint setColor(float fr,
float fg,
float fb)
setColor in class IGeometry
public IPoint setColor(double dr,
double dg,
double db)
setColor in class IGeometry
public IPoint setColor(int r,
int g,
int b,
int a)
setColor in class IGeometry
public IPoint setColor(float fr,
float fg,
float fb,
float fa)
setColor in class IGeometry
public IPoint setColor(double dr,
double dg,
double db,
double da)
setColor in class IGeometry
public IPoint setHSBColor(float h,
float s,
float b,
float a)
setHSBColor in class IGeometry
public IPoint setHSBColor(double h,
double s,
double b,
double a)
setHSBColor in class IGeometry
public IPoint setHSBColor(float h,
float s,
float b)
setHSBColor in class IGeometry
public IPoint setHSBColor(double h,
double s,
double b)
setHSBColor in class IGeometrypublic IPoint weight(double w)
weight in class IGeometrypublic IPoint weight(float w)
weight in class IGeometry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||