|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICurveI
Abstract interface of NURBS curve.
Method Summary | |
---|---|
ICurveI |
add(double x,
double y,
double z)
transformation: API of ITransformable inteface |
ICurveI |
add(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
ICurveI |
add(IVecI v)
|
ICurveI |
add(IVecI v,
double f)
scale add |
ICurveI |
add(IVecI v,
IDoubleI f)
|
IVecI |
cp(IIntegerI i)
|
IVecI |
cp(int i)
|
int |
cpNum()
|
int |
cpNum(ISwitchE e)
|
IIntegerI |
cpNum(ISwitchR r)
|
IVecI[] |
cps()
all control points |
int |
deg()
|
int |
deg(ISwitchE e)
|
IIntegerI |
deg(ISwitchR r)
|
ICurveI |
div(double v)
|
ICurveI |
div(IDoubleI v)
|
ICurveI |
dup()
duplicate the instance |
IVecI |
end()
|
IVecI |
endCP()
|
IVecI |
ep(IIntegerI i)
|
IVecI |
ep(int i)
|
int |
epNum()
|
int |
epNum(ISwitchE e)
|
IIntegerI |
epNum(ISwitchR r)
|
ICurveI |
flip()
same with neg |
ICurveGeo |
get()
|
boolean |
isClosed()
|
boolean |
isClosed(ISwitchE e)
|
IBoolI |
isClosed(ISwitchR r)
|
boolean |
isRational()
|
boolean |
isRational(ISwitchE e)
|
IBoolI |
isRational(ISwitchR r)
|
boolean |
isValid()
|
IDoubleI |
knot(IIntegerI i)
|
double |
knot(int i)
|
int |
knotNum()
|
int |
knotNum(ISwitchE e)
|
IIntegerI |
knotNum(ISwitchR r)
|
double[] |
knots()
all knot values |
double[] |
knots(ISwitchE e)
|
IDoubleI[] |
knots(ISwitchR r)
|
double |
len()
|
double |
len(ISwitchE e)
|
IDouble |
len(ISwitchR r)
|
ICurveI |
mirror(IVecI planeDir)
mirror is alias of ref |
ICurveI |
mirror(IVecI center,
IVecI planeDir)
|
ICurveI |
mul(double v)
|
ICurveI |
mul(IDoubleI v)
|
ICurveI |
neg()
|
int |
num()
|
int |
num(ISwitchE e)
|
IIntegerI |
num(ISwitchR r)
|
IVecI |
pt(double u)
|
IVecI |
pt(IDoubleI u)
|
ICurveI |
ref(IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane |
ICurveI |
ref(IVecI center,
IVecI planeDir)
|
ICurveI |
rev()
reverse self curve ; not creating a new object |
ICurveI |
rot(IVecI axis,
double angle)
|
ICurveI |
rot(IVecI axis,
IDoubleI angle)
|
ICurveI |
rot(IVecI axis,
IVecI destDir)
rotate to destination direction vector |
ICurveI |
rot(IVecI center,
IVecI axis,
double angle)
|
ICurveI |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
|
ICurveI |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotate to destination point location |
ICurveI |
scale(double f)
|
ICurveI |
scale(IDoubleI f)
alias of mul |
ICurveI |
scale(IVecI center,
double f)
|
ICurveI |
scale(IVecI center,
IDoubleI f)
|
ICurveI |
scale1d(IVecI axis,
double f)
scale only in 1 direction |
ICurveI |
scale1d(IVecI axis,
IDoubleI f)
|
ICurveI |
scale1d(IVecI center,
IVecI axis,
double f)
|
ICurveI |
scale1d(IVecI center,
IVecI axis,
IDoubleI f)
|
ICurveI |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation |
ICurveI |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
|
ICurveI |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
|
ICurveI |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
|
ICurveI |
shearXY(double sxy,
double syx)
|
ICurveI |
shearXY(IDoubleI sxy,
IDoubleI syx)
|
ICurveI |
shearXY(IVecI center,
double sxy,
double syx)
|
ICurveI |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
|
ICurveI |
shearYZ(double syz,
double szy)
|
ICurveI |
shearYZ(IDoubleI syz,
IDoubleI szy)
|
ICurveI |
shearYZ(IVecI center,
double syz,
double szy)
|
ICurveI |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
|
ICurveI |
shearZX(double szx,
double sxz)
|
ICurveI |
shearZX(IDoubleI szx,
IDoubleI sxz)
|
ICurveI |
shearZX(IVecI center,
double szx,
double sxz)
|
ICurveI |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
|
IVecI |
start()
|
IVecI |
startCP()
|
ICurveI |
sub(double x,
double y,
double z)
|
ICurveI |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
ICurveI |
sub(IVecI v)
|
IVecI |
tan(double u)
|
IVecI |
tan(IDoubleI u)
|
ICurveI |
transform(IMatrix3I mat)
|
ICurveI |
transform(IMatrix4I mat)
|
ICurveI |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
|
ICurveI |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
|
ICurveI |
translate(double x,
double y,
double z)
translate is alias of add() |
ICurveI |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
ICurveI |
translate(IVecI v)
|
IDoubleI |
u(IInteger epIdx,
IDouble epFraction)
|
double |
u(int epIdx,
double epFraction)
|
double |
uend()
|
double |
uend(ISwitchE e)
|
IDoubleI |
uend(ISwitchR r)
|
double |
ustart()
|
double |
ustart(ISwitchE e)
|
IDoubleI |
ustart(ISwitchR r)
|
Methods inherited from interface igeo.ITransformable |
---|
cp, cp, cp, cp, mv, mv, mv |
Method Detail |
---|
ICurveGeo get()
get
in interface ICurveOp
get
in interface IParameter
ICurveI dup()
ITransformable
dup
in interface ITransformable
boolean isValid()
IVecI pt(double u)
IVecI pt(IDoubleI u)
IVecI tan(double u)
IVecI tan(IDoubleI u)
IVecI cp(int i)
IVecI cp(IIntegerI i)
IVecI ep(int i)
IVecI ep(IIntegerI i)
IVecI[] cps()
double knot(int i)
IDoubleI knot(IIntegerI i)
double[] knots()
double[] knots(ISwitchE e)
IDoubleI[] knots(ISwitchR r)
int knotNum()
int knotNum(ISwitchE e)
IIntegerI knotNum(ISwitchR r)
boolean isRational()
boolean isRational(ISwitchE e)
IBoolI isRational(ISwitchR r)
int deg()
int deg(ISwitchE e)
IIntegerI deg(ISwitchR r)
int num()
int num(ISwitchE e)
IIntegerI num(ISwitchR r)
int cpNum()
int cpNum(ISwitchE e)
IIntegerI cpNum(ISwitchR r)
IVecI start()
IVecI end()
IVecI startCP()
IVecI endCP()
int epNum()
int epNum(ISwitchE e)
IIntegerI epNum(ISwitchR r)
double len()
double len(ISwitchE e)
IDouble len(ISwitchR r)
double u(int epIdx, double epFraction)
IDoubleI u(IInteger epIdx, IDouble epFraction)
double ustart()
double uend()
double ustart(ISwitchE e)
double uend(ISwitchE e)
IDoubleI ustart(ISwitchR r)
IDoubleI uend(ISwitchR r)
boolean isClosed()
boolean isClosed(ISwitchE e)
IBoolI isClosed(ISwitchR r)
ICurveI rev()
ICurveI add(double x, double y, double z)
add
in interface ITransformable
ICurveI add(IDoubleI x, IDoubleI y, IDoubleI z)
add
in interface ITransformable
ICurveI add(IVecI v)
add
in interface ITransformable
ICurveI sub(double x, double y, double z)
sub
in interface ITransformable
ICurveI sub(IDoubleI x, IDoubleI y, IDoubleI z)
sub
in interface ITransformable
ICurveI sub(IVecI v)
sub
in interface ITransformable
ICurveI mul(IDoubleI v)
mul
in interface ITransformable
ICurveI mul(double v)
mul
in interface ITransformable
ICurveI div(IDoubleI v)
div
in interface ITransformable
ICurveI div(double v)
div
in interface ITransformable
ICurveI neg()
neg
in interface ITransformable
ICurveI flip()
flip
in interface ITransformable
ICurveI add(IVecI v, double f)
add
in interface ITransformable
ICurveI add(IVecI v, IDoubleI f)
add
in interface ITransformable
ICurveI rot(IVecI axis, IDoubleI angle)
rot
in interface ITransformable
ICurveI rot(IVecI axis, double angle)
rot
in interface ITransformable
ICurveI rot(IVecI center, IVecI axis, IDoubleI angle)
rot
in interface ITransformable
ICurveI rot(IVecI center, IVecI axis, double angle)
rot
in interface ITransformable
ICurveI rot(IVecI axis, IVecI destDir)
rot
in interface ITransformable
ICurveI rot(IVecI center, IVecI axis, IVecI destPt)
rot
in interface ITransformable
ICurveI scale(IDoubleI f)
scale
in interface ITransformable
ICurveI scale(double f)
scale
in interface ITransformable
ICurveI scale(IVecI center, IDoubleI f)
scale
in interface ITransformable
ICurveI scale(IVecI center, double f)
scale
in interface ITransformable
ICurveI scale1d(IVecI axis, double f)
scale1d
in interface ITransformable
ICurveI scale1d(IVecI axis, IDoubleI f)
scale1d
in interface ITransformable
ICurveI scale1d(IVecI center, IVecI axis, double f)
scale1d
in interface ITransformable
ICurveI scale1d(IVecI center, IVecI axis, IDoubleI f)
scale1d
in interface ITransformable
ICurveI ref(IVecI planeDir)
ref
in interface ITransformable
ICurveI ref(IVecI center, IVecI planeDir)
ref
in interface ITransformable
ICurveI mirror(IVecI planeDir)
mirror
in interface ITransformable
ICurveI mirror(IVecI center, IVecI planeDir)
mirror
in interface ITransformable
ICurveI shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
ICurveI shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear
in interface ITransformable
ICurveI shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
ICurveI shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear
in interface ITransformable
ICurveI shearXY(double sxy, double syx)
shearXY
in interface ITransformable
ICurveI shearXY(IDoubleI sxy, IDoubleI syx)
shearXY
in interface ITransformable
ICurveI shearXY(IVecI center, double sxy, double syx)
shearXY
in interface ITransformable
ICurveI shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
shearXY
in interface ITransformable
ICurveI shearYZ(double syz, double szy)
shearYZ
in interface ITransformable
ICurveI shearYZ(IDoubleI syz, IDoubleI szy)
shearYZ
in interface ITransformable
ICurveI shearYZ(IVecI center, double syz, double szy)
shearYZ
in interface ITransformable
ICurveI shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
shearYZ
in interface ITransformable
ICurveI shearZX(double szx, double sxz)
shearZX
in interface ITransformable
ICurveI shearZX(IDoubleI szx, IDoubleI sxz)
shearZX
in interface ITransformable
ICurveI shearZX(IVecI center, double szx, double sxz)
shearZX
in interface ITransformable
ICurveI shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
shearZX
in interface ITransformable
ICurveI translate(double x, double y, double z)
translate
in interface ITransformable
ICurveI translate(IDoubleI x, IDoubleI y, IDoubleI z)
translate
in interface ITransformable
ICurveI translate(IVecI v)
translate
in interface ITransformable
ICurveI transform(IMatrix3I mat)
transform
in interface ITransformable
ICurveI transform(IMatrix4I mat)
transform
in interface ITransformable
ICurveI transform(IVecI xvec, IVecI yvec, IVecI zvec)
transform
in interface ITransformable
ICurveI transform(IVecI xvec, IVecI yvec, IVecI zvec, IVecI translate)
transform
in interface ITransformable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |