public interface ISurfaceI extends ISurfaceOp, ITransformable
Modifier and Type | Method and Description |
---|---|
ISurfaceI |
add(double x,
double y,
double z)
transformation methods; API of ITransformable interface
|
ISurfaceI |
add(IDoubleI x,
IDoubleI y,
IDoubleI z) |
ISurfaceI |
add(IVecI v) |
ISurfaceI |
add(IVecI v,
double f)
scale add
|
ISurfaceI |
add(IVecI v,
IDoubleI f)
scale add
|
ISurfaceI |
addInnerTrimLoop(ICurveI trim)
input trim curves is deleted as default if it inherits IObject like ICurve or ICurveR
|
ISurfaceI |
addInnerTrimLoop(ICurveI[] trim)
input trim curves is deleted as default if it inherits IObject like ICurve or ICurveR
|
ISurfaceI |
addInnerTrimLoop(ICurveI[] trim,
boolean deleteInput) |
ISurfaceI |
addInnerTrimLoop(ICurveI trim,
boolean deleteInput) |
ISurfaceI |
addInnerTrimLoop(ITrimCurveI trim) |
ISurfaceI |
addInnerTrimLoop(ITrimCurveI[] trim) |
ISurfaceI |
addOuterTrimLoop(ICurveI trim) |
ISurfaceI |
addOuterTrimLoop(ICurveI[] trim) |
ISurfaceI |
addOuterTrimLoop(ICurveI[] trim,
boolean deleteInput) |
ISurfaceI |
addOuterTrimLoop(ICurveI trim,
boolean deleteInput) |
ISurfaceI |
addOuterTrimLoop(ITrimCurveI trim) |
ISurfaceI |
addOuterTrimLoop(ITrimCurveI[] trim) |
IVecI |
center()
returns center of geometry object
|
ISurfaceI |
clearInnerTrim() |
ISurfaceI |
clearOuterTrim() |
ISurfaceI |
clearTrim() |
IVecI |
closePt(IVec2I pt)
find approximately closest point on a surface on 2D
|
IVecI |
closePt(IVecI pt)
find approximately closest point on a surface
|
IVecI |
corner(IIntegerI u,
IIntegerI v) |
IVecI |
corner(int u,
int v) |
IVecI |
cornerCP(IIntegerI u,
IIntegerI v) |
IVecI |
cornerCP(int u,
int v) |
ISurfaceI |
cp()
cp() is alias of dup()
|
ISurfaceI |
cp(double x,
double y,
double z)
cp() is alias of dup().add()
|
ISurfaceI |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IVecI |
cp(IIntegerI i,
IIntegerI j) |
IVecI |
cp(int i,
int j) |
ISurfaceI |
cp(IVecI v) |
IVecI[][] |
cps() |
double |
dist(IVec2I pt)
distance to the closest point on a surface on 2D
|
double |
dist(IVecI pt)
distance to the closest point on a surface
|
ISurfaceI |
div(double v) |
ISurfaceI |
div(IDoubleI v) |
ISurfaceI |
dup()
duplicate the instance
|
IVecI |
ep(IIntegerI i,
IIntegerI j) |
IVecI |
ep(int i,
int j) |
ISurfaceI |
flip()
same with neg
|
ISurfaceI |
flipN()
alias of flipN()
|
ISurfaceI |
flipU()
alias of revU()
|
ISurfaceI |
flipUV()
alias of revUV()
|
ISurfaceI |
flipV()
alias of revV()
|
ISurfaceGeo |
get() |
boolean |
hasDefaultTrim()
check if it has default rectangular outer trim
|
boolean |
hasDefaultTrim(ISwitchE e) |
IBoolI |
hasDefaultTrim(ISwitchR r) |
boolean |
hasInnerTrim() |
boolean |
hasInnerTrim(ISwitchE e) |
IBoolI |
hasInnerTrim(ISwitchR r) |
boolean |
hasOuterTrim() |
boolean |
hasOuterTrim(ISwitchE e) |
IBoolI |
hasOuterTrim(ISwitchR r) |
boolean |
hasTrim() |
boolean |
hasTrim(ISwitchE e) |
IBoolI |
hasTrim(ISwitchR r) |
ITrimCurveI |
innerTrim(IIntegerI i,
IIntegerI j) |
ITrimCurveI |
innerTrim(int i,
int j) |
ITrimCurveI[] |
innerTrimLoop(IIntegerI i) |
ITrimCurveI[] |
innerTrimLoop(int i) |
int |
innerTrimLoopNum() |
int |
innerTrimLoopNum(ISwitchE e) |
IIntegerI |
innerTrimLoopNum(ISwitchR r) |
IIntegerI |
innerTrimNum(IIntegerI i) |
int |
innerTrimNum(int i) |
boolean |
isFlat() |
boolean |
isFlat(ISwitchE e) |
IBoolI |
isFlat(ISwitchR r) |
boolean |
isRational() |
boolean |
isRational(ISwitchE e) |
IBoolI |
isRational(ISwitchR r) |
boolean |
isUClosed() |
boolean |
isUClosed(ISwitchE e) |
IBoolI |
isUClosed(ISwitchR r) |
boolean |
isValid() |
boolean |
isVClosed() |
boolean |
isVClosed(ISwitchE e) |
IBoolI |
isVClosed(ISwitchR r) |
IVecI |
mid()
mid in UV parameter (u=0.5, v=0.5) point on a surface
|
ISurfaceI |
mirror(IVecI planeDir)
mirror is alias of ref
|
ISurfaceI |
mirror(IVecI center,
IVecI planeDir) |
ISurfaceI |
mul(double v) |
ISurfaceI |
mul(IDoubleI v) |
ISurfaceI |
mv(double x,
double y,
double z)
mv() is alias of add()
|
ISurfaceI |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z) |
ISurfaceI |
mv(IVecI v) |
ISurfaceI |
neg() |
IVecI |
nml(double u,
double v)
alias of normal
|
IVecI |
nml(IDoubleI u,
IDoubleI v) |
IVecI |
nml(IVec2I uv) |
IVecI |
normal(double u,
double v) |
IVecI |
normal(IDoubleI u,
IDoubleI v) |
IVecI |
normal(IVec2I uv) |
IVecI |
nrml(double u,
double v) |
IVecI |
nrml(IDoubleI u,
IDoubleI v) |
IVecI |
nrml(IVec2I uv) |
ITrimCurveI |
outerTrim(IIntegerI i,
IIntegerI j) |
ITrimCurveI |
outerTrim(int i,
int j) |
ITrimCurveI[] |
outerTrimLoop(IIntegerI i) |
ITrimCurveI[] |
outerTrimLoop(int i) |
int |
outerTrimLoopNum() |
int |
outerTrimLoopNum(ISwitchE e) |
IIntegerI |
outerTrimLoopNum(ISwitchR r) |
IIntegerI |
outerTrimNum(IIntegerI i) |
int |
outerTrimNum(int i) |
IVecI |
pt(double u,
double v) |
IVecI |
pt(double u,
double v,
double n) |
IVecI |
pt(IDoubleI u,
IDoubleI v) |
IVecI |
pt(IDoubleI u,
IDoubleI v,
IDoubleI n) |
IVecI |
pt(IVec2I uv) |
IVecI |
pt(IVecI uvn) |
ISurfaceI |
ref(IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane
|
ISurfaceI |
ref(IVecI center,
IVecI planeDir) |
ISurfaceI |
revN()
reverse normal direction by reversing V direction (UV and normal is dependent
|
ISurfaceI |
revU()
reverse U parameter internally without creating a new instance
|
ISurfaceI |
revUV()
reverse both U and V parameter internally without creating a new instance
|
ISurfaceI |
revV()
reverse V parameter internally without creating a new instance
|
ISurfaceI |
rot(IVecI axis,
double angle) |
ISurfaceI |
rot(IVecI axis,
IDoubleI angle)
rotation around axis vector
|
ISurfaceI |
rot(IVecI axis,
IVecI destDir)
rotate to destination direction vector
|
ISurfaceI |
rot(IVecI center,
IVecI axis,
double angle) |
ISurfaceI |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
rotation around axis vector and center
|
ISurfaceI |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotate to destination point location
|
ISurfaceI |
scale(double f) |
ISurfaceI |
scale(IDoubleI f)
alias of mul
|
ISurfaceI |
scale(IVecI center,
double f) |
ISurfaceI |
scale(IVecI center,
IDoubleI f) |
ISurfaceI |
scale1d(IVecI axis,
double f)
scale only in 1 direction
|
ISurfaceI |
scale1d(IVecI axis,
IDoubleI f) |
ISurfaceI |
scale1d(IVecI center,
IVecI axis,
double f) |
ISurfaceI |
scale1d(IVecI center,
IVecI axis,
IDoubleI f) |
ISurfaceI |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation
|
ISurfaceI |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz) |
ISurfaceI |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz) |
ISurfaceI |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz) |
ISurfaceI |
shearXY(double sxy,
double syx) |
ISurfaceI |
shearXY(IDoubleI sxy,
IDoubleI syx) |
ISurfaceI |
shearXY(IVecI center,
double sxy,
double syx) |
ISurfaceI |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx) |
ISurfaceI |
shearYZ(double syz,
double szy) |
ISurfaceI |
shearYZ(IDoubleI syz,
IDoubleI szy) |
ISurfaceI |
shearYZ(IVecI center,
double syz,
double szy) |
ISurfaceI |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy) |
ISurfaceI |
shearZX(double szx,
double sxz) |
ISurfaceI |
shearZX(IDoubleI szx,
IDoubleI sxz) |
ISurfaceI |
shearZX(IVecI center,
double szx,
double sxz) |
ISurfaceI |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz) |
ISurfaceI |
sub(double x,
double y,
double z) |
ISurfaceI |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z) |
ISurfaceI |
sub(IVecI v) |
ISurfaceI |
swapUV()
swap U and V parameter
|
ISurfaceI |
transform(IMatrix3I mat) |
ISurfaceI |
transform(IMatrix4I mat) |
ISurfaceI |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec) |
ISurfaceI |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate) |
ISurfaceI |
translate(double x,
double y,
double z)
translate() is alias of add()
|
ISurfaceI |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z) |
ISurfaceI |
translate(IVecI v) |
IDoubleI |
u(IIntegerI epIdx,
IDoubleI epFraction) |
double |
u(int epIdx,
double epFraction) |
int |
ucpNum() |
int |
ucpNum(ISwitchE e) |
IIntegerI |
ucpNum(ISwitchR r) |
int |
udeg() |
int |
udeg(ISwitchE e) |
IIntegerI |
udeg(ISwitchR r) |
double |
uend() |
double |
uend(ISwitchE e) |
IDoubleI |
uend(ISwitchR r) |
int |
uepNum() |
int |
uepNum(ISwitchE e) |
IIntegerI |
uepNum(ISwitchR r) |
IDoubleI |
uknot(IIntegerI i) |
double |
uknot(int i) |
int |
uknotNum() |
int |
uknotNum(ISwitchE e) |
IIntegerI |
uknotNum(ISwitchR r) |
double[] |
uknots() |
double[] |
uknots(ISwitchE e) |
IDoubleI[] |
uknots(ISwitchR r) |
int |
unum() |
int |
unum(ISwitchE e) |
IIntegerI |
unum(ISwitchR r) |
double |
ustart()
original knots start value and end value
|
double |
ustart(ISwitchE e) |
IDoubleI |
ustart(ISwitchR r) |
IVecI |
utan(double u,
double v) |
IVecI |
utan(IDoubleI u,
IDoubleI v) |
IVecI |
utan(IVec2I uv) |
IVec2I |
uv(IVec2I pt)
approximate invert projection from 2D location to interanl UV parameter (closest point on surface)
|
IVec2I |
uv(IVecI pt)
approximate invert projection from 3D location to interanl UV parameter (closest point on surface)
|
IDoubleI |
v(IIntegerI epIdx,
IDoubleI epFraction) |
double |
v(int epIdx,
double epFraction) |
int |
vcpNum() |
int |
vcpNum(ISwitchE e) |
IIntegerI |
vcpNum(ISwitchR r) |
int |
vdeg() |
int |
vdeg(ISwitchE e) |
IIntegerI |
vdeg(ISwitchR r) |
double |
vend() |
double |
vend(ISwitchE e) |
IDoubleI |
vend(ISwitchR r) |
int |
vepNum() |
int |
vepNum(ISwitchE e) |
IIntegerI |
vepNum(ISwitchR r) |
IDoubleI |
vknot(IIntegerI i) |
double |
vknot(int i) |
int |
vknotNum() |
int |
vknotNum(ISwitchE e) |
IIntegerI |
vknotNum(ISwitchR r) |
double[] |
vknots() |
double[] |
vknots(ISwitchE e) |
IDoubleI[] |
vknots(ISwitchR r) |
int |
vnum() |
int |
vnum(ISwitchE e) |
IIntegerI |
vnum(ISwitchR r) |
double |
vstart() |
double |
vstart(ISwitchE e) |
IDoubleI |
vstart(ISwitchR r) |
IVecI |
vtan(double u,
double v) |
IVecI |
vtan(IDoubleI u,
IDoubleI v) |
IVecI |
vtan(IVec2I uv) |
ISurfaceGeo get()
get
in interface IParameter
get
in interface ISurfaceOp
ISurfaceI dup()
ITransformable
dup
in interface ITransformable
boolean isValid()
IVecI pt(double u, double v)
IVecI pt(double u, double v, double n)
IVecI utan(double u, double v)
IVecI vtan(double u, double v)
IVecI normal(double u, double v)
IVecI nrml(double u, double v)
IVecI nml(double u, double v)
IVecI cp(int i, int j)
IVecI[][] cps()
IVecI corner(int u, int v)
IVecI cornerCP(int u, int v)
IVecI ep(int i, int j)
IVecI mid()
IVecI center()
IVec2I uv(IVecI pt)
IVec2I uv(IVec2I pt)
double dist(IVecI pt)
double dist(IVec2I pt)
double uknot(int i)
double vknot(int i)
double[] uknots()
double[] uknots(ISwitchE e)
double[] vknots()
double[] vknots(ISwitchE e)
int uknotNum()
int vknotNum()
int uknotNum(ISwitchE e)
int vknotNum(ISwitchE e)
boolean isRational()
boolean isRational(ISwitchE e)
int udeg()
int vdeg()
int udeg(ISwitchE e)
int vdeg(ISwitchE e)
int unum()
int vnum()
int unum(ISwitchE e)
int vnum(ISwitchE e)
int ucpNum()
int vcpNum()
int ucpNum(ISwitchE e)
int vcpNum(ISwitchE e)
int uepNum()
int vepNum()
int uepNum(ISwitchE e)
int vepNum(ISwitchE e)
double u(int epIdx, double epFraction)
double v(int epIdx, double epFraction)
double ustart()
double uend()
double vstart()
double vend()
double ustart(ISwitchE e)
double uend(ISwitchE e)
double vstart(ISwitchE e)
double vend(ISwitchE e)
ISurfaceI revU()
ISurfaceI revV()
ISurfaceI revUV()
ISurfaceI revN()
ISurfaceI flipU()
ISurfaceI flipV()
ISurfaceI flipUV()
ISurfaceI flipN()
ISurfaceI swapUV()
boolean hasTrim()
boolean hasTrim(ISwitchE e)
boolean hasInnerTrim()
boolean hasInnerTrim(ISwitchE e)
boolean hasOuterTrim()
boolean hasOuterTrim(ISwitchE e)
int innerTrimLoopNum()
int innerTrimLoopNum(ISwitchE e)
int innerTrimNum(int i)
ITrimCurveI[] innerTrimLoop(int i)
ITrimCurveI[] innerTrimLoop(IIntegerI i)
ITrimCurveI innerTrim(int i, int j)
ITrimCurveI innerTrim(IIntegerI i, IIntegerI j)
int outerTrimLoopNum()
int outerTrimLoopNum(ISwitchE e)
int outerTrimNum(int i)
ITrimCurveI[] outerTrimLoop(int i)
ITrimCurveI[] outerTrimLoop(IIntegerI i)
ITrimCurveI outerTrim(int i, int j)
ITrimCurveI outerTrim(IIntegerI i, IIntegerI j)
ISurfaceI addInnerTrimLoop(ITrimCurveI trim)
trim
- trim curve needs to be closedISurfaceI addOuterTrimLoop(ITrimCurveI trim)
ISurfaceI addInnerTrimLoop(ICurveI trim)
ISurfaceI addInnerTrimLoop(ITrimCurveI[] trim)
trim
- array of trim curves need to form closed loopISurfaceI addOuterTrimLoop(ITrimCurveI[] trim)
ISurfaceI addInnerTrimLoop(ICurveI[] trim)
ISurfaceI clearInnerTrim()
ISurfaceI clearOuterTrim()
ISurfaceI clearTrim()
boolean hasDefaultTrim()
boolean hasDefaultTrim(ISwitchE e)
boolean isFlat()
boolean isFlat(ISwitchE e)
boolean isUClosed()
boolean isUClosed(ISwitchE e)
boolean isVClosed()
boolean isVClosed(ISwitchE e)
ISurfaceI add(double x, double y, double z)
add
in interface ITransformable
ISurfaceI add(IVecI v)
add
in interface ITransformable
ISurfaceI sub(double x, double y, double z)
sub
in interface ITransformable
ISurfaceI sub(IVecI v)
sub
in interface ITransformable
ISurfaceI mul(IDoubleI v)
mul
in interface ITransformable
ISurfaceI mul(double v)
mul
in interface ITransformable
ISurfaceI div(IDoubleI v)
div
in interface ITransformable
ISurfaceI div(double v)
div
in interface ITransformable
ISurfaceI neg()
neg
in interface ITransformable
ISurfaceI flip()
flip
in interface ITransformable
ISurfaceI add(IVecI v, double f)
add
in interface ITransformable
ISurfaceI add(IVecI v, IDoubleI f)
ITransformable
add
in interface ITransformable
ISurfaceI rot(IVecI axis, IDoubleI angle)
ITransformable
rot
in interface ITransformable
ISurfaceI rot(IVecI axis, double angle)
rot
in interface ITransformable
ISurfaceI rot(IVecI center, IVecI axis, IDoubleI angle)
ITransformable
rot
in interface ITransformable
ISurfaceI rot(IVecI center, IVecI axis, double angle)
rot
in interface ITransformable
ISurfaceI rot(IVecI axis, IVecI destDir)
rot
in interface ITransformable
ISurfaceI rot(IVecI center, IVecI axis, IVecI destPt)
rot
in interface ITransformable
ISurfaceI scale(IDoubleI f)
scale
in interface ITransformable
ISurfaceI scale(double f)
scale
in interface ITransformable
ISurfaceI scale(IVecI center, IDoubleI f)
scale
in interface ITransformable
ISurfaceI scale(IVecI center, double f)
scale
in interface ITransformable
ISurfaceI scale1d(IVecI axis, double f)
scale1d
in interface ITransformable
ISurfaceI scale1d(IVecI axis, IDoubleI f)
scale1d
in interface ITransformable
ISurfaceI scale1d(IVecI center, IVecI axis, double f)
scale1d
in interface ITransformable
ISurfaceI scale1d(IVecI center, IVecI axis, IDoubleI f)
scale1d
in interface ITransformable
ISurfaceI ref(IVecI planeDir)
ref
in interface ITransformable
ISurfaceI ref(IVecI center, IVecI planeDir)
ref
in interface ITransformable
ISurfaceI mirror(IVecI planeDir)
mirror
in interface ITransformable
ISurfaceI mirror(IVecI center, IVecI planeDir)
mirror
in interface ITransformable
ISurfaceI shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
ISurfaceI shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear
in interface ITransformable
ISurfaceI shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
ISurfaceI shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear
in interface ITransformable
ISurfaceI shearXY(double sxy, double syx)
shearXY
in interface ITransformable
ISurfaceI shearXY(IDoubleI sxy, IDoubleI syx)
shearXY
in interface ITransformable
ISurfaceI shearXY(IVecI center, double sxy, double syx)
shearXY
in interface ITransformable
ISurfaceI shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
shearXY
in interface ITransformable
ISurfaceI shearYZ(double syz, double szy)
shearYZ
in interface ITransformable
ISurfaceI shearYZ(IDoubleI syz, IDoubleI szy)
shearYZ
in interface ITransformable
ISurfaceI shearYZ(IVecI center, double syz, double szy)
shearYZ
in interface ITransformable
ISurfaceI shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
shearYZ
in interface ITransformable
ISurfaceI shearZX(double szx, double sxz)
shearZX
in interface ITransformable
ISurfaceI shearZX(IDoubleI szx, IDoubleI sxz)
shearZX
in interface ITransformable
ISurfaceI shearZX(IVecI center, double szx, double sxz)
shearZX
in interface ITransformable
ISurfaceI shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
shearZX
in interface ITransformable
ISurfaceI mv(double x, double y, double z)
mv
in interface ITransformable
ISurfaceI mv(IVecI v)
mv
in interface ITransformable
ISurfaceI cp()
cp
in interface ITransformable
ISurfaceI cp(double x, double y, double z)
cp
in interface ITransformable
ISurfaceI cp(IVecI v)
cp
in interface ITransformable
ISurfaceI translate(double x, double y, double z)
translate
in interface ITransformable
ISurfaceI translate(IDoubleI x, IDoubleI y, IDoubleI z)
translate
in interface ITransformable
ISurfaceI translate(IVecI v)
translate
in interface ITransformable
ISurfaceI transform(IMatrix3I mat)
transform
in interface ITransformable
ISurfaceI transform(IMatrix4I mat)
transform
in interface ITransformable
ISurfaceI transform(IVecI xvec, IVecI yvec, IVecI zvec)
transform
in interface ITransformable