public class ITensionLineOnCurve extends ICurve implements ITensionI
Modifier and Type | Field and Description |
---|---|
ITensionOnCurve |
tension |
defaultTension
Constructor and Description |
---|
ITensionLineOnCurve(IParticleOnCurveI p1,
IParticleOnCurveI p2) |
ITensionLineOnCurve(IParticleOnCurveI p1,
IParticleOnCurveI p2,
double tension) |
Modifier and Type | Method and Description |
---|---|
ITensionLineOnCurve |
attr(IAttribute at)
set attributes
|
ITensionLineOnCurve |
clr(java.awt.Color c) |
ITensionLineOnCurve |
clr(java.awt.Color c,
double alpha) |
ITensionLineOnCurve |
clr(java.awt.Color c,
float alpha) |
ITensionLineOnCurve |
clr(java.awt.Color c,
int alpha) |
ITensionLineOnCurve |
clr(double dgray) |
ITensionLineOnCurve |
clr(double dgray,
double dalpha) |
ITensionLineOnCurve |
clr(double dr,
double dg,
double db) |
ITensionLineOnCurve |
clr(double dr,
double dg,
double db,
double da) |
ITensionLineOnCurve |
clr(float fgray) |
ITensionLineOnCurve |
clr(float fgray,
float falpha) |
ITensionLineOnCurve |
clr(float fr,
float fg,
float fb) |
ITensionLineOnCurve |
clr(float fr,
float fg,
float fb,
float fa) |
ITensionLineOnCurve |
clr(IColor c)
to set an object color
|
ITensionLineOnCurve |
clr(IColor c,
double alpha)
to set color, with alpha value overwritten
|
ITensionLineOnCurve |
clr(IColor c,
float alpha)
to set color, with alpha value overwritten
|
ITensionLineOnCurve |
clr(IColor c,
int alpha)
to set color, with alpha value overwritten
|
ITensionLineOnCurve |
clr(int gray) |
ITensionLineOnCurve |
clr(int gray,
int alpha) |
ITensionLineOnCurve |
clr(int r,
int g,
int b) |
ITensionLineOnCurve |
clr(int r,
int g,
int b,
int a) |
ITensionLineOnCurve |
clr(IObject o)
to set the same color with the object
|
boolean |
constant()
if constantTension is true, amount of force is always constant and it's equals to tension.
|
ITensionLineOnCurve |
constant(boolean cnst)
if constantTension is true, amount of force is always constant and it's equals to tension.
|
ITensionLineOnCurve |
hide() |
ITensionLineOnCurve |
hsb(double h,
double s,
double b) |
ITensionLineOnCurve |
hsb(double h,
double s,
double b,
double a) |
ITensionLineOnCurve |
hsb(float h,
float s,
float b) |
ITensionLineOnCurve |
hsb(float h,
float s,
float b,
float a) |
void |
initTensionLine(IParticleOnCurveI p1,
IParticleOnCurveI p2) |
ITensionLineOnCurve |
layer(ILayer l)
Set layer by ILayer object
|
ITensionLineOnCurve |
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.
|
ITensionLineOnCurve |
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.
|
ITensionLineOnCurve |
name(java.lang.String nm)
IObject methods
|
IParticleI |
particle(int i)
alias of pt(int)
|
IParticleI |
particle1()
alias of pt1()
|
IParticleI |
particle2()
alias of pt2()
|
IVec |
pos(int i)
position of particle(i)
|
IVec |
pos1()
position of particle1
|
IVec |
pos2()
position of particle1
|
IParticleI |
pt(int i)
getting end point.
|
IParticleI |
pt1()
getting end point1.
|
IParticleI |
pt2()
getting end point2.
|
ITensionLineOnCurve |
setColor(java.awt.Color c) |
ITensionLineOnCurve |
setColor(java.awt.Color c,
double alpha) |
ITensionLineOnCurve |
setColor(java.awt.Color c,
float alpha) |
ITensionLineOnCurve |
setColor(java.awt.Color c,
int alpha) |
ITensionLineOnCurve |
setColor(double dgray) |
ITensionLineOnCurve |
setColor(double dgray,
double dalpha) |
ITensionLineOnCurve |
setColor(double dr,
double dg,
double db) |
ITensionLineOnCurve |
setColor(double dr,
double dg,
double db,
double da) |
ITensionLineOnCurve |
setColor(float fgray) |
ITensionLineOnCurve |
setColor(float fgray,
float falpha) |
ITensionLineOnCurve |
setColor(float fr,
float fg,
float fb) |
ITensionLineOnCurve |
setColor(float fr,
float fg,
float fb,
float fa) |
ITensionLineOnCurve |
setColor(IColor c) |
ITensionLineOnCurve |
setColor(IColor c,
double alpha) |
ITensionLineOnCurve |
setColor(IColor c,
float alpha) |
ITensionLineOnCurve |
setColor(IColor c,
int alpha) |
ITensionLineOnCurve |
setColor(int gray) |
ITensionLineOnCurve |
setColor(int gray,
int alpha) |
ITensionLineOnCurve |
setColor(int r,
int g,
int b) |
ITensionLineOnCurve |
setColor(int r,
int g,
int b,
int a) |
ITensionLineOnCurve |
setHSBColor(double h,
double s,
double b) |
ITensionLineOnCurve |
setHSBColor(double h,
double s,
double b,
double a) |
ITensionLineOnCurve |
setHSBColor(float h,
float s,
float b) |
ITensionLineOnCurve |
setHSBColor(float h,
float s,
float b,
float a) |
ITensionLineOnCurve |
show() |
double |
tension()
tension is a coefficient to convert distance of two points to amount of force.
|
ITensionLineOnCurve |
tension(double tensionIntensity)
tension is a coefficient to convert distance of two points to amount of force.
|
ITensionLineOnCurve |
weight(double w) |
ITensionLineOnCurve |
weight(float w) |
add, add, add, add, add, add, add, addCP, addCP, addCP, addCP, addCP, addCP, addCP, addCP, center, closePt, closePt, cp, cp, cp, cp, cp, cp, cpNum, cpNum, cpNum, cps, createGraphic, deg, deg, deg, dist, dist, div, div, dup, end, endCP, ep, ep, epNum, epNum, epNum, flip, flipU, get, initCurve, insertCP, insertCP, intersectPlane, intersectPlane, isClosed, isClosed, isClosed, isInside2d, isInside2d, isRational, isRational, isRational, isValid, knot, knot, knotNum, knotNum, knotNum, knots, knots, knots, len, len, len, mid, mirror, mirror, mul, mul, mv, mv, mv, neg, num, num, num, pt, pt, ref, ref, removeCP, removeCP, removeCP, rev, revU, rot, rot, rot, rot, rot, rot, rot, rot, rot2, rot2, rot2, rot2, rot2, rot2, scale, scale, scale, scale, scale1d, scale1d, scale1d, scale1d, shear, shear, shear, shear, shearXY, shearXY, shearXY, shearXY, shearYZ, shearYZ, shearYZ, shearYZ, shearZX, shearZX, shearZX, shearZX, start, startCP, sub, sub, sub, tan, tan, transform, transform, transform, transform, translate, translate, translate, u, u, u, u, u, u, u, u, uend, uend, uend, ustart, ustart, ustart
addDynamics, addUserData, addUserData, alpha, alphaInt, attr, attr, awtColor, blue, blueInt, brightness, castStringHashMap, clearDynamics, clearGraphics, clr, defaultAttribute, del, deletDynamics, deleteDynamics, deleteDynamics, deleteGraphic, dynamicsNum, getAWTColor, getColor, getDynamics, getGraphic, getGraphic, getParameter, graphicsNum, gray, grayInt, green, greenInt, grey, greyInt, hue, initGraphic, initObject, isVisible, layer, name, red, redInt, resetGraphic, saturation, server, setParameter, setTexture, syncColor, syncGraphic, syncVisibility, syncWeight, texture, updateGraphic, userData, userData, userData, userDataNum, visible, weight
public ITensionOnCurve tension
public ITensionLineOnCurve(IParticleOnCurveI p1, IParticleOnCurveI p2)
public ITensionLineOnCurve(IParticleOnCurveI p1, IParticleOnCurveI p2, double tension)
public void initTensionLine(IParticleOnCurveI p1, IParticleOnCurveI p2)
public double tension()
ITensionI
public ITensionLineOnCurve tension(double tensionIntensity)
ITensionI
public boolean constant()
ITensionI
public ITensionLineOnCurve constant(boolean cnst)
ITensionI
public double maxTension()
maxTension
in interface ITensionI
public ITensionLineOnCurve maxTension(double maxTension)
maxTension
in interface ITensionI
public IParticleI pt(int i)
public IParticleI particle(int i)
public IParticleI pt1()
public IParticleI particle1()
public IParticleI pt2()
public IParticleI particle2()
public ITensionLineOnCurve name(java.lang.String nm)
public ITensionLineOnCurve layer(ILayer l)
IGeometry
public ITensionLineOnCurve layer(java.lang.String l)
IGeometry
public ITensionLineOnCurve attr(IAttribute at)
IObject
public ITensionLineOnCurve hide()
public ITensionLineOnCurve show()
public ITensionLineOnCurve clr(IColor c)
IObject
public ITensionLineOnCurve clr(IColor c, int alpha)
IObject
public ITensionLineOnCurve clr(IColor c, float alpha)
IObject
public ITensionLineOnCurve clr(IColor c, double alpha)
IObject
public ITensionLineOnCurve clr(IObject o)
IObject
public ITensionLineOnCurve clr(java.awt.Color c)
public ITensionLineOnCurve clr(java.awt.Color c, int alpha)
public ITensionLineOnCurve clr(java.awt.Color c, float alpha)
public ITensionLineOnCurve clr(java.awt.Color c, double alpha)
public ITensionLineOnCurve clr(int gray)
public ITensionLineOnCurve clr(float fgray)
public ITensionLineOnCurve clr(double dgray)
public ITensionLineOnCurve clr(int gray, int alpha)
public ITensionLineOnCurve clr(float fgray, float falpha)
public ITensionLineOnCurve clr(double dgray, double dalpha)
public ITensionLineOnCurve clr(int r, int g, int b)
public ITensionLineOnCurve clr(float fr, float fg, float fb)
public ITensionLineOnCurve clr(double dr, double dg, double db)
public ITensionLineOnCurve clr(int r, int g, int b, int a)
public ITensionLineOnCurve clr(float fr, float fg, float fb, float fa)
public ITensionLineOnCurve clr(double dr, double dg, double db, double da)
public ITensionLineOnCurve hsb(float h, float s, float b, float a)
public ITensionLineOnCurve hsb(double h, double s, double b, double a)
public ITensionLineOnCurve hsb(float h, float s, float b)
public ITensionLineOnCurve hsb(double h, double s, double b)
public ITensionLineOnCurve setColor(IColor c)
public ITensionLineOnCurve setColor(IColor c, int alpha)
public ITensionLineOnCurve setColor(IColor c, float alpha)
public ITensionLineOnCurve setColor(IColor c, double alpha)
public ITensionLineOnCurve setColor(java.awt.Color c)
public ITensionLineOnCurve setColor(java.awt.Color c, int alpha)
public ITensionLineOnCurve setColor(java.awt.Color c, float alpha)
public ITensionLineOnCurve setColor(java.awt.Color c, double alpha)
public ITensionLineOnCurve setColor(int gray)
public ITensionLineOnCurve setColor(float fgray)
public ITensionLineOnCurve setColor(double dgray)
public ITensionLineOnCurve setColor(int gray, int alpha)
public ITensionLineOnCurve setColor(float fgray, float falpha)
public ITensionLineOnCurve setColor(double dgray, double dalpha)
public ITensionLineOnCurve setColor(int r, int g, int b)
public ITensionLineOnCurve setColor(float fr, float fg, float fb)
public ITensionLineOnCurve setColor(double dr, double dg, double db)
public ITensionLineOnCurve setColor(int r, int g, int b, int a)
public ITensionLineOnCurve setColor(float fr, float fg, float fb, float fa)
public ITensionLineOnCurve setColor(double dr, double dg, double db, double da)
public ITensionLineOnCurve setHSBColor(float h, float s, float b, float a)
setHSBColor
in class ICurve
public ITensionLineOnCurve setHSBColor(double h, double s, double b, double a)
setHSBColor
in class ICurve
public ITensionLineOnCurve setHSBColor(float h, float s, float b)
setHSBColor
in class ICurve
public ITensionLineOnCurve setHSBColor(double h, double s, double b)
setHSBColor
in class ICurve
public ITensionLineOnCurve weight(double w)
public ITensionLineOnCurve weight(float w)