|
|||||||||
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(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)
|
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. |
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)
|
IStraightenerCurve |
weight(double w)
|
IStraightenerCurve |
weight(float w)
|
Methods inherited from class igeo.IObject |
---|
addDynamics, alpha, alphaInt, attr, attr, awtColor, blue, blueInt, clearDynamics, clearGraphics, clr, 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, 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 ITensionI
public IStraightenerCurve tension(double tension)
tension
in interface ITensionI
public boolean constant()
ITensionI
constant
in interface ITensionI
public IStraightenerCurve constant(boolean cnst)
constant
in interface ITensionI
public IParticleI pt(int i)
pt
in interface ITensionI
public IParticleI particle(int i)
particle
in interface ITensionI
public IVec pos(int i)
pos
in interface ITensionI
public IParticleI pt1()
pt1
in interface ITensionI
public IParticleI particle1()
particle1
in interface ITensionI
public IVec pos1()
pos1
in interface ITensionI
public IParticleI pt2()
pt2
in interface ITensionI
public IParticleI particle2()
particle2
in interface ITensionI
public IVec pos2()
pos2
in interface ITensionI
public IParticleI pt3()
pt3
in interface IStraightenerI
public IParticleI particle3()
particle3
in interface IStraightenerI
public IVec pos3()
pos3
in interface IStraightenerI
public 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 ICurve
public IStraightenerCurve layer(ILayer l)
IGeometry
layer
in class ICurve
public IStraightenerCurve layer(java.lang.String l)
IGeometry
layer
in class ICurve
public IStraightenerCurve attr(IAttribute at)
IObject
attr
in class ICurve
public IStraightenerCurve hide()
hide
in class ICurve
public IStraightenerCurve show()
show
in class ICurve
public IStraightenerCurve clr(java.awt.Color c)
clr
in class ICurve
public IStraightenerCurve clr(java.awt.Color c, int alpha)
clr
in class ICurve
public IStraightenerCurve clr(int gray)
clr
in class ICurve
public IStraightenerCurve clr(float fgray)
clr
in class ICurve
public 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 ICurve
public IStraightenerCurve setColor(java.awt.Color c)
setColor
in class ICurve
public IStraightenerCurve setColor(java.awt.Color c, int alpha)
setColor
in class ICurve
public IStraightenerCurve setColor(int gray)
setColor
in class ICurve
public IStraightenerCurve setColor(float fgray)
setColor
in class ICurve
public 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 ICurve
public IStraightenerCurve weight(double w)
weight
in class ICurve
public IStraightenerCurve weight(float w)
weight
in class ICurve
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |