|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectigeo.IObject
igeo.IGeometry
igeo.ICurve
igeo.IStraightenerCurve
public class IStraightenerCurve
3 point curve with straightener force inside.
| Field Summary | |
|---|---|
(package private) IStraightener |
straightener
|
| Fields inherited from class igeo.ICurve |
|---|
curve |
| Fields inherited from class igeo.IObject |
|---|
attribute, dynamics, graphics, parameter, server, userData |
| Fields inherited from interface igeo.ITensionI |
|---|
defaultTension |
| Constructor Summary | |
|---|---|
IStraightenerCurve(IParticleGeo p1,
IParticleGeo p2,
IParticleGeo p3)
|
|
IStraightenerCurve(IParticleI p1,
IParticleI p2,
IParticleI p3)
|
|
IStraightenerCurve(IVecI p1,
IVecI p2,
IVecI p3)
|
|
IStraightenerCurve(IVec p1,
IVec p2,
IVec p3)
|
|
| Method Summary | |
|---|---|
IStraightenerCurve |
attr(IAttribute at)
set attributes |
IStraightenerCurve |
clr(java.awt.Color c)
|
IStraightenerCurve |
clr(java.awt.Color c,
int alpha)
|
IStraightenerCurve |
clr(double dgray)
|
IStraightenerCurve |
clr(double dgray,
double dalpha)
|
IStraightenerCurve |
clr(double dr,
double dg,
double db)
|
IStraightenerCurve |
clr(double dr,
double dg,
double db,
double da)
|
IStraightenerCurve |
clr(float fgray)
|
IStraightenerCurve |
clr(float fgray,
float falpha)
|
IStraightenerCurve |
clr(float fr,
float fg,
float fb)
|
IStraightenerCurve |
clr(float fr,
float fg,
float fb,
float fa)
|
IStraightenerCurve |
clr(IColor c)
|
IStraightenerCurve |
clr(IColor c,
double alpha)
to set color, with alpha value overwritten |
IStraightenerCurve |
clr(IColor c,
float alpha)
to set color, with alpha value overwritten |
IStraightenerCurve |
clr(IColor c,
int alpha)
to set color, with alpha value overwritten |
IStraightenerCurve |
clr(int gray)
|
IStraightenerCurve |
clr(int gray,
int alpha)
|
IStraightenerCurve |
clr(int r,
int g,
int b)
|
IStraightenerCurve |
clr(int r,
int g,
int b,
int a)
|
boolean |
constant()
if constantTension is true, amount of force is always constant and it's equals to tension. |
IStraightenerCurve |
constant(boolean cnst)
if constantTension is true, amount of force is always constant and it's equals to tension. |
IStraightenerCurve |
hide()
|
IStraightenerCurve |
hsb(double h,
double s,
double b)
|
IStraightenerCurve |
hsb(double h,
double s,
double b,
double a)
|
IStraightenerCurve |
hsb(float h,
float s,
float b)
|
IStraightenerCurve |
hsb(float h,
float s,
float b,
float a)
|
IStraightenerCurve |
layer(ILayer l)
Set layer by ILayer object |
IStraightenerCurve |
layer(java.lang.String l)
Set layer by layer name. |
double |
maxTension()
if maxTension is set to be positive number, it limits the force (distance * tension) is cut off at maxTension. |
IStraightenerCurve |
maxTension(double maxTension)
if maxTension is set to be positive number, it limits the force (distance * tension) is cut off at maxTension if constant is set, maxTension is ignored. |
IStraightenerCurve |
name(java.lang.String nm)
IObject methods |
IStraightenerCurve |
parent(IObject par)
|
IParticleI |
particle(int i)
alias of pt(int) |
IParticleI |
particle1()
alias of pt1() |
IParticleI |
particle2()
alias of pt2() |
IParticleI |
particle3()
alias of pt3() |
IVec |
pos(int i)
position of particle(i) |
IVec |
pos1()
position of particle1() |
IVec |
pos2()
position of particle2() |
IVec |
pos3()
position of particle3() |
IParticleI |
pt(int i)
getting end point. |
IParticleI |
pt1()
getting end point1. |
IParticleI |
pt2()
getting end point2. |
IParticleI |
pt3()
getting end point3. |
IStraightenerCurve |
removeTarget(int i)
|
IStraightenerCurve |
removeTarget(IObject obj)
|
IStraightenerCurve |
setColor(java.awt.Color c)
|
IStraightenerCurve |
setColor(java.awt.Color c,
int alpha)
|
IStraightenerCurve |
setColor(double dgray)
|
IStraightenerCurve |
setColor(double dgray,
double dalpha)
|
IStraightenerCurve |
setColor(double dr,
double dg,
double db)
|
IStraightenerCurve |
setColor(double dr,
double dg,
double db,
double da)
|
IStraightenerCurve |
setColor(float fgray)
|
IStraightenerCurve |
setColor(float fgray,
float falpha)
|
IStraightenerCurve |
setColor(float fr,
float fg,
float fb)
|
IStraightenerCurve |
setColor(float fr,
float fg,
float fb,
float fa)
|
IStraightenerCurve |
setColor(int gray)
|
IStraightenerCurve |
setColor(int gray,
int alpha)
|
IStraightenerCurve |
setColor(int r,
int g,
int b)
|
IStraightenerCurve |
setColor(int r,
int g,
int b,
int a)
|
IStraightenerCurve |
setHSBColor(double h,
double s,
double b)
|
IStraightenerCurve |
setHSBColor(double h,
double s,
double b,
double a)
|
IStraightenerCurve |
setHSBColor(float h,
float s,
float b)
|
IStraightenerCurve |
setHSBColor(float h,
float s,
float b,
float a)
|
IStraightenerCurve |
show()
|
IStraightenerCurve |
target(IObject targetObj)
|
double |
tension()
tension is a coefficient to convert distance of two points to amount of force. |
IStraightenerCurve |
tension(double tension)
tension is a coefficient to convert distance of two points to amount of force. |
IStraightenerCurve |
weight(double w)
|
IStraightenerCurve |
weight(float w)
|
| Methods inherited from class igeo.IObject |
|---|
addDynamics, addUserData, addUserData, alpha, alphaInt, attr, attr, awtColor, blue, blueInt, castStringHashMap, clearDynamics, clearGraphics, clr, defaultAttribute, del, deletDynamics, deleteDynamics, deleteDynamics, deleteGraphic, dynamicsNum, getAWTColor, getColor, getDynamics, getGraphic, getGraphic, getParameter, graphicsNum, gray, grayInt, green, greenInt, greyInt, initGraphic, initObject, isVisible, layer, name, red, redInt, resetGraphic, server, setParameter, syncColor, syncGraphic, syncVisibility, syncWeight, updateGraphic, userData, userData, userData, userDataNum, visible, weight |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
IStraightener straightener
| Constructor Detail |
|---|
public IStraightenerCurve(IParticleI p1,
IParticleI p2,
IParticleI p3)
public IStraightenerCurve(IParticleGeo p1,
IParticleGeo p2,
IParticleGeo p3)
public IStraightenerCurve(IVec p1,
IVec p2,
IVec p3)
public IStraightenerCurve(IVecI p1,
IVecI p2,
IVecI p3)
| Method Detail |
|---|
public double tension()
ITensionI
tension in interface ITensionIpublic IStraightenerCurve tension(double tension)
ITensionI
tension in interface ITensionIpublic boolean constant()
ITensionI
constant in interface ITensionIpublic IStraightenerCurve constant(boolean cnst)
ITensionI
constant in interface ITensionIpublic double maxTension()
maxTension in interface ITensionIpublic IStraightenerCurve maxTension(double maxTension)
maxTension in interface ITensionIpublic IParticleI pt(int i)
pt in interface ITensionIpublic IParticleI particle(int i)
particle in interface ITensionIpublic IVec pos(int i)
pos in interface ITensionIpublic IParticleI pt1()
pt1 in interface ITensionIpublic IParticleI particle1()
particle1 in interface ITensionIpublic IVec pos1()
pos1 in interface ITensionIpublic IParticleI pt2()
pt2 in interface ITensionIpublic IParticleI particle2()
particle2 in interface ITensionIpublic IVec pos2()
pos2 in interface ITensionIpublic IParticleI pt3()
pt3 in interface IStraightenerIpublic IParticleI particle3()
particle3 in interface IStraightenerIpublic IVec pos3()
pos3 in interface IStraightenerIpublic IStraightenerCurve parent(IObject par)
public IStraightenerCurve target(IObject targetObj)
public IStraightenerCurve removeTarget(int i)
public IStraightenerCurve removeTarget(IObject obj)
public IStraightenerCurve name(java.lang.String nm)
name in class ICurvepublic IStraightenerCurve layer(ILayer l)
IGeometry
layer in class ICurvepublic IStraightenerCurve layer(java.lang.String l)
IGeometry
layer in class ICurvepublic IStraightenerCurve attr(IAttribute at)
IObject
attr in class ICurvepublic IStraightenerCurve hide()
hide in class ICurvepublic IStraightenerCurve show()
show in class ICurvepublic IStraightenerCurve clr(IColor c)
clr in class ICurve
public IStraightenerCurve clr(IColor c,
int alpha)
IObject
clr in class ICurve
public IStraightenerCurve clr(IColor c,
float alpha)
IObject
clr in class ICurve
public IStraightenerCurve clr(IColor c,
double alpha)
IObject
clr in class ICurvepublic IStraightenerCurve clr(java.awt.Color c)
clr in class ICurve
public IStraightenerCurve clr(java.awt.Color c,
int alpha)
clr in class ICurvepublic IStraightenerCurve clr(int gray)
clr in class ICurvepublic IStraightenerCurve clr(float fgray)
clr in class ICurvepublic IStraightenerCurve clr(double dgray)
clr in class ICurve
public IStraightenerCurve clr(int gray,
int alpha)
clr in class ICurve
public IStraightenerCurve clr(float fgray,
float falpha)
clr in class ICurve
public IStraightenerCurve clr(double dgray,
double dalpha)
clr in class ICurve
public IStraightenerCurve clr(int r,
int g,
int b)
clr in class ICurve
public IStraightenerCurve clr(float fr,
float fg,
float fb)
clr in class ICurve
public IStraightenerCurve clr(double dr,
double dg,
double db)
clr in class ICurve
public IStraightenerCurve clr(int r,
int g,
int b,
int a)
clr in class ICurve
public IStraightenerCurve clr(float fr,
float fg,
float fb,
float fa)
clr in class ICurve
public IStraightenerCurve clr(double dr,
double dg,
double db,
double da)
clr in class ICurve
public IStraightenerCurve hsb(float h,
float s,
float b,
float a)
hsb in class ICurve
public IStraightenerCurve hsb(double h,
double s,
double b,
double a)
hsb in class ICurve
public IStraightenerCurve hsb(float h,
float s,
float b)
hsb in class ICurve
public IStraightenerCurve hsb(double h,
double s,
double b)
hsb in class ICurvepublic IStraightenerCurve setColor(java.awt.Color c)
setColor in class ICurve
public IStraightenerCurve setColor(java.awt.Color c,
int alpha)
setColor in class ICurvepublic IStraightenerCurve setColor(int gray)
setColor in class ICurvepublic IStraightenerCurve setColor(float fgray)
setColor in class ICurvepublic IStraightenerCurve setColor(double dgray)
setColor in class ICurve
public IStraightenerCurve setColor(int gray,
int alpha)
setColor in class ICurve
public IStraightenerCurve setColor(float fgray,
float falpha)
setColor in class ICurve
public IStraightenerCurve setColor(double dgray,
double dalpha)
setColor in class ICurve
public IStraightenerCurve setColor(int r,
int g,
int b)
setColor in class ICurve
public IStraightenerCurve setColor(float fr,
float fg,
float fb)
setColor in class ICurve
public IStraightenerCurve setColor(double dr,
double dg,
double db)
setColor in class ICurve
public IStraightenerCurve setColor(int r,
int g,
int b,
int a)
setColor in class ICurve
public IStraightenerCurve setColor(float fr,
float fg,
float fb,
float fa)
setColor in class ICurve
public IStraightenerCurve setColor(double dr,
double dg,
double db,
double da)
setColor in class ICurve
public IStraightenerCurve setHSBColor(float h,
float s,
float b,
float a)
setHSBColor in class ICurve
public IStraightenerCurve setHSBColor(double h,
double s,
double b,
double a)
setHSBColor in class ICurve
public IStraightenerCurve setHSBColor(float h,
float s,
float b)
setHSBColor in class ICurve
public IStraightenerCurve setHSBColor(double h,
double s,
double b)
setHSBColor in class ICurvepublic IStraightenerCurve weight(double w)
weight in class ICurvepublic IStraightenerCurve weight(float w)
weight in class ICurve
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||