|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectigeo.IParameterObject
igeo.INurbsGeo
igeo.ICurveGeo
igeo.ITrimCurve
public class ITrimCurve
Geometry class of trim curve on a surface. A trim curve is either outer trim curve (outside edge) or inner trim curve (edge of hole). ITrimCurve always need to be contained by surface instance and same instance of ITrimCurve should not be shared by multiple surfaces.
| Field Summary | |
|---|---|
ISurfaceI |
surface
|
| Fields inherited from class igeo.ICurveGeo |
|---|
basisFunction, controlPoints, defaultWeights, degree, derivativeFunction, knots, uend, ustart |
| Fields inherited from class igeo.IParameterObject |
|---|
parent |
| Constructor Summary | |
|---|---|
ITrimCurve()
|
|
ITrimCurve(double[][] xyValues)
|
|
ITrimCurve(double[][] xyValues,
boolean close)
|
|
ITrimCurve(double[][] xyValues,
int degree)
|
|
ITrimCurve(double[][] xyValues,
int degree,
boolean close)
|
|
ITrimCurve(double x1,
double y1,
double x2,
double y2)
|
|
ITrimCurve(ICurve crv)
|
|
ITrimCurve(ICurveGeo crv)
|
|
ITrimCurve(ICurveI crv)
|
|
ITrimCurve(ITrimCurve crv)
|
|
ITrimCurve(IVecI[] cpts)
|
|
ITrimCurve(IVecI[] cpts,
boolean close)
|
|
ITrimCurve(IVecI[] cpts,
int degree)
|
|
ITrimCurve(IVecI[] cpts,
int degree,
boolean close)
|
|
ITrimCurve(IVecI[] cpts,
int degree,
double[] knots)
|
|
ITrimCurve(IVecI[] cpts,
int degree,
double[] knots,
double ustart,
double uend)
|
|
ITrimCurve(IVecI pt1,
IVecI pt2)
|
|
| Method Summary | |
|---|---|
ITrimCurve |
add(double x,
double y,
double z)
transformation methods |
ITrimCurve |
add(double f,
IVecI v)
scale add alias |
ITrimCurve |
add(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
ITrimCurve |
add(IDoubleI f,
IVecI v)
scale add alias |
ITrimCurve |
add(IVecI v)
|
ITrimCurve |
add(IVecI v,
double f)
scale add |
ITrimCurve |
add(IVecI v,
IDoubleI f)
scale add |
ITrimCurve |
cp()
cp() is alias of dup() |
ITrimCurve |
cp(double x,
double y,
double z)
cp() is alias of dup().add() |
ITrimCurve |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z)
cp() is alias of dup().add() |
ITrimCurve |
cp(IVecI v)
cp() is alias of dup().add() |
ITrimCurve |
div(double v)
|
ITrimCurve |
div(IDoubleI v)
|
ITrimCurve |
dup()
When duplicated, surface is cleared and need to be re-set later. |
IVec2 |
end2d()
|
IVec2 |
endCP2d()
|
ITrimCurve |
flip()
alias of neg |
ITrimCurve |
get()
|
ICurveGeo |
get3d()
Gets trim curve in 3d space mapped via the surface (Currently very rough approximation) |
boolean |
isClosed()
|
ITrimCurve |
mirror(IVecI planeDir)
mirror is alias of ref |
ITrimCurve |
mirror(IVecI center,
IVecI planeDir)
|
ITrimCurve |
mul(double v)
|
ITrimCurve |
mul(IDoubleI v)
|
ITrimCurve |
mv(double x,
double y,
double z)
mv() is alias of add() |
ITrimCurve |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
ITrimCurve |
mv(IVecI v)
|
ITrimCurve |
neg()
|
void |
normalizeControlPoints()
because surface knots are normalized, control points in u-v coordinates need to be normalized too. |
void |
normalizeControlPoints(ISurfaceI srf)
|
void |
pt(double u,
IVec retval)
|
IVec2I |
pt2d(double u)
it returns uv coordinates. |
void |
pt2d(double u,
IVec2 retval)
it returns uv coordinates. |
IVec2I |
pt2d(IDoubleI u)
it returns uv coordinates. |
ITrimCurve |
ref(IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane |
ITrimCurve |
ref(IVecI center,
IVecI planeDir)
|
ITrimCurve |
rev()
reverse self curve ; not creating a new object |
ITrimCurve |
rot(double angle)
|
ITrimCurve |
rot(IDoubleI angle)
rotation around z-axis and origin |
ITrimCurve |
rot(IVecI axis,
double angle)
|
ITrimCurve |
rot(IVecI axis,
IDoubleI angle)
rotation around axis vector |
ITrimCurve |
rot(IVecI axis,
IVecI destDir)
rotate to destination direction vector |
ITrimCurve |
rot(IVecI center,
IVecI axis,
double angle)
|
ITrimCurve |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
rotation around axis vector and center |
ITrimCurve |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotate to destination point location |
ITrimCurve |
rot2(double angle)
rotation on xy-plane around origin; same with rot(double) |
ITrimCurve |
rot2(IDoubleI angle)
rotation on xy-plane around origin; same with rot(IDoubleI) |
ITrimCurve |
rot2(IVecI destDir)
rotation on xy-plane to destination direction vector |
ITrimCurve |
rot2(IVecI center,
double angle)
|
ITrimCurve |
rot2(IVecI center,
IDoubleI angle)
rotation on xy-plane around center |
ITrimCurve |
rot2(IVecI center,
IVecI destPt)
rotation on xy-plane to destination point location |
ITrimCurve |
scale(double f)
|
ITrimCurve |
scale(IDoubleI f)
same with mul |
ITrimCurve |
scale(IVecI center,
double f)
|
ITrimCurve |
scale(IVecI center,
IDoubleI f)
|
ITrimCurve |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation |
ITrimCurve |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
|
ITrimCurve |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
|
ITrimCurve |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
|
ITrimCurve |
shearXY(double sxy,
double syx)
|
ITrimCurve |
shearXY(IDoubleI sxy,
IDoubleI syx)
|
ITrimCurve |
shearXY(IVecI center,
double sxy,
double syx)
|
ITrimCurve |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
|
ITrimCurve |
shearYZ(double syz,
double szy)
|
ITrimCurve |
shearYZ(IDoubleI syz,
IDoubleI szy)
|
ITrimCurve |
shearYZ(IVecI center,
double syz,
double szy)
|
ITrimCurve |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
|
ITrimCurve |
shearZX(double szx,
double sxz)
|
ITrimCurve |
shearZX(IDoubleI szx,
IDoubleI sxz)
|
ITrimCurve |
shearZX(IVecI center,
double szx,
double sxz)
|
ITrimCurve |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
|
IVec2 |
start2d()
|
IVec2 |
startCP2d()
|
ITrimCurve |
sub(double x,
double y,
double z)
|
ITrimCurve |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
ITrimCurve |
sub(IVecI v)
|
ISurfaceI |
surface()
get surface |
ITrimCurve |
surface(ISurfaceI srf)
Setting surface of the trim curve. |
void |
tan(double u,
IVec retval)
|
ITrimCurve |
transform(IMatrix3I mat)
|
ITrimCurve |
transform(IMatrix4I mat)
|
ITrimCurve |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
|
ITrimCurve |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
|
ITrimCurve |
translate(double x,
double y,
double z)
translate is alias of add() |
ITrimCurve |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
ITrimCurve |
translate(IVecI v)
|
| Methods inherited from class igeo.ICurveGeo |
|---|
checkDuplicatedCP, checkDuplicatedCPOnEdge, cp, cp, cpNum, cpNum, cpNum, cps, deg, deg, deg, end, endCP, ep, ep, epNum, epNum, epNum, getPointsFromArray, init, init, init, init, init, isClosed, isClosed, isRational, isRational, isRational, isValid, isValidCP, isValidCP, knot, knot, knotNum, knotNum, knotNum, knots, knots, knots, len, len, len, len, num, num, num, pt, pt, scale1d, scale1d, scale1d, scale1d, start, startCP, tan, tan, u, u, uend, uend, uend, ustart, ustart, ustart |
| Methods inherited from class igeo.INurbsGeo |
|---|
createClosedCP, createClosedCPInU, createClosedCPInV, createClosedKnots, createKnots, createKnots, isValidKnots, normalizeKnots |
| Methods inherited from class igeo.IParameterObject |
|---|
createObject, parent, parent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface igeo.ICurveI |
|---|
cp, cp, cpNum, cpNum, cpNum, cps, deg, deg, deg, end, endCP, ep, ep, epNum, epNum, epNum, isClosed, isClosed, isRational, isRational, isRational, isValid, knot, knot, knotNum, knotNum, knotNum, knots, knots, knots, len, len, len, num, num, num, pt, pt, scale1d, scale1d, scale1d, scale1d, start, startCP, tan, tan, u, u, uend, uend, uend, ustart, ustart, ustart |
| Field Detail |
|---|
public ISurfaceI surface
| Constructor Detail |
|---|
public ITrimCurve()
public ITrimCurve(IVecI[] cpts,
int degree,
double[] knots,
double ustart,
double uend)
public ITrimCurve(IVecI[] cpts,
int degree,
double[] knots)
public ITrimCurve(IVecI[] cpts,
int degree)
public ITrimCurve(IVecI[] cpts)
public ITrimCurve(IVecI[] cpts,
int degree,
boolean close)
public ITrimCurve(IVecI[] cpts,
boolean close)
public ITrimCurve(IVecI pt1,
IVecI pt2)
public ITrimCurve(double x1,
double y1,
double x2,
double y2)
public ITrimCurve(double[][] xyValues)
public ITrimCurve(double[][] xyValues,
int degree)
public ITrimCurve(double[][] xyValues,
boolean close)
public ITrimCurve(double[][] xyValues,
int degree,
boolean close)
public ITrimCurve(ICurveGeo crv)
public ITrimCurve(ICurve crv)
public ITrimCurve(ICurveI crv)
public ITrimCurve(ITrimCurve crv)
| Method Detail |
|---|
public ITrimCurve surface(ISurfaceI srf)
surface in interface ITrimCurveIpublic ISurfaceI surface()
ITrimCurveI
surface in interface ITrimCurveIpublic ITrimCurve dup()
dup in interface ICurveIdup in interface ITransformabledup in class ICurveGeopublic ITrimCurve get()
get in interface ICurveIget in interface ICurveOpget in interface IParameterget in interface ITrimCurveIget in class ICurveGeopublic ICurveGeo get3d()
get3d in interface ITrimCurveIpublic void normalizeControlPoints()
public void normalizeControlPoints(ISurfaceI srf)
public void pt(double u,
IVec retval)
pt in class ICurveGeo
public void pt2d(double u,
IVec2 retval)
public IVec2I pt2d(double u)
ITrimCurveI
pt2d in interface ITrimCurveIpublic IVec2I pt2d(IDoubleI u)
ITrimCurveI
pt2d in interface ITrimCurveIpublic IVec2 start2d()
start2d in interface ITrimCurveIpublic IVec2 end2d()
end2d in interface ITrimCurveIpublic IVec2 startCP2d()
startCP2d in interface ITrimCurveIpublic IVec2 endCP2d()
endCP2d in interface ITrimCurveI
public void tan(double u,
IVec retval)
tan in class ICurveGeopublic boolean isClosed()
isClosed in interface ICurveIisClosed in class ICurveGeopublic ITrimCurve rev()
ICurveI
rev in interface ICurveIrev in interface ITrimCurveIrev in class ICurveGeo
public ITrimCurve add(double x,
double y,
double z)
add in interface ICurveIadd in interface ITransformableadd in class ICurveGeo
public ITrimCurve add(IDoubleI x,
IDoubleI y,
IDoubleI z)
add in interface ICurveIadd in interface ITransformableadd in class ICurveGeopublic ITrimCurve add(IVecI v)
add in interface ICurveIadd in interface ITransformableadd in class ICurveGeo
public ITrimCurve sub(double x,
double y,
double z)
sub in interface ICurveIsub in interface ITransformablesub in class ICurveGeo
public ITrimCurve sub(IDoubleI x,
IDoubleI y,
IDoubleI z)
sub in interface ICurveIsub in interface ITransformablesub in class ICurveGeopublic ITrimCurve sub(IVecI v)
sub in interface ICurveIsub in interface ITransformablesub in class ICurveGeopublic ITrimCurve mul(IDoubleI v)
mul in interface ICurveImul in interface ITransformablemul in class ICurveGeopublic ITrimCurve mul(double v)
mul in interface ICurveImul in interface ITransformablemul in class ICurveGeopublic ITrimCurve div(IDoubleI v)
div in interface ICurveIdiv in interface ITransformablediv in class ICurveGeopublic ITrimCurve div(double v)
div in interface ICurveIdiv in interface ITransformablediv in class ICurveGeopublic ITrimCurve neg()
neg in interface ICurveIneg in interface ITransformableneg in class ICurveGeopublic ITrimCurve flip()
flip in interface ICurveIflip in interface ITransformableflip in class ICurveGeo
public ITrimCurve add(IVecI v,
double f)
add in interface ICurveIadd in interface ITransformableadd in class ICurveGeo
public ITrimCurve add(IVecI v,
IDoubleI f)
ITransformable
add in interface ICurveIadd in interface ITransformableadd in class ICurveGeo
public ITrimCurve add(double f,
IVecI v)
ICurveGeo
add in interface ITransformableadd in class ICurveGeo
public ITrimCurve add(IDoubleI f,
IVecI v)
ITransformable
add in interface ITransformableadd in class ICurveGeopublic ITrimCurve rot(IDoubleI angle)
ITransformable
rot in interface ITransformablerot in class ICurveGeopublic ITrimCurve rot(double angle)
rot in interface ITransformablerot in class ICurveGeo
public ITrimCurve rot(IVecI axis,
IDoubleI angle)
ITransformable
rot in interface ICurveIrot in interface ITransformablerot in class ICurveGeo
public ITrimCurve rot(IVecI axis,
double angle)
rot in interface ICurveIrot in interface ITransformablerot in class ICurveGeo
public ITrimCurve rot(IVecI center,
IVecI axis,
IDoubleI angle)
ITransformable
rot in interface ICurveIrot in interface ITransformablerot in class ICurveGeo
public ITrimCurve rot(IVecI center,
IVecI axis,
double angle)
rot in interface ICurveIrot in interface ITransformablerot in class ICurveGeo
public ITrimCurve rot(IVecI axis,
IVecI destDir)
rot in interface ICurveIrot in interface ITransformablerot in class ICurveGeo
public ITrimCurve rot(IVecI center,
IVecI axis,
IVecI destPt)
rot in interface ICurveIrot in interface ITransformablerot in class ICurveGeopublic ITrimCurve rot2(IDoubleI angle)
ITransformable
rot2 in interface ITransformablerot2 in class ICurveGeopublic ITrimCurve rot2(double angle)
ITransformable
rot2 in interface ITransformablerot2 in class ICurveGeo
public ITrimCurve rot2(IVecI center,
IDoubleI angle)
ITransformable
rot2 in interface ITransformablerot2 in class ICurveGeo
public ITrimCurve rot2(IVecI center,
double angle)
rot2 in interface ITransformablerot2 in class ICurveGeopublic ITrimCurve rot2(IVecI destDir)
rot2 in interface ITransformablerot2 in class ICurveGeo
public ITrimCurve rot2(IVecI center,
IVecI destPt)
rot2 in interface ITransformablerot2 in class ICurveGeopublic ITrimCurve scale(IDoubleI f)
scale in interface ICurveIscale in interface ITransformablescale in class ICurveGeopublic ITrimCurve scale(double f)
scale in interface ICurveIscale in interface ITransformablescale in class ICurveGeo
public ITrimCurve scale(IVecI center,
IDoubleI f)
scale in interface ICurveIscale in interface ITransformablescale in class ICurveGeo
public ITrimCurve scale(IVecI center,
double f)
scale in interface ICurveIscale in interface ITransformablescale in class ICurveGeopublic ITrimCurve ref(IVecI planeDir)
ref in interface ICurveIref in interface ITransformableref in class ICurveGeo
public ITrimCurve ref(IVecI center,
IVecI planeDir)
ref in interface ICurveIref in interface ITransformableref in class ICurveGeopublic ITrimCurve mirror(IVecI planeDir)
mirror in interface ICurveImirror in interface ITransformablemirror in class ICurveGeo
public ITrimCurve mirror(IVecI center,
IVecI planeDir)
mirror in interface ICurveImirror in interface ITransformablemirror in class ICurveGeo
public ITrimCurve shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear in interface ICurveIshear in interface ITransformableshear in class ICurveGeo
public ITrimCurve shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear in interface ICurveIshear in interface ITransformableshear in class ICurveGeo
public ITrimCurve shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear in interface ICurveIshear in interface ITransformableshear in class ICurveGeo
public ITrimCurve shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear in interface ICurveIshear in interface ITransformableshear in class ICurveGeo
public ITrimCurve shearXY(double sxy,
double syx)
shearXY in interface ICurveIshearXY in interface ITransformableshearXY in class ICurveGeo
public ITrimCurve shearXY(IDoubleI sxy,
IDoubleI syx)
shearXY in interface ICurveIshearXY in interface ITransformableshearXY in class ICurveGeo
public ITrimCurve shearXY(IVecI center,
double sxy,
double syx)
shearXY in interface ICurveIshearXY in interface ITransformableshearXY in class ICurveGeo
public ITrimCurve shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
shearXY in interface ICurveIshearXY in interface ITransformableshearXY in class ICurveGeo
public ITrimCurve shearYZ(double syz,
double szy)
shearYZ in interface ICurveIshearYZ in interface ITransformableshearYZ in class ICurveGeo
public ITrimCurve shearYZ(IDoubleI syz,
IDoubleI szy)
shearYZ in interface ICurveIshearYZ in interface ITransformableshearYZ in class ICurveGeo
public ITrimCurve shearYZ(IVecI center,
double syz,
double szy)
shearYZ in interface ICurveIshearYZ in interface ITransformableshearYZ in class ICurveGeo
public ITrimCurve shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
shearYZ in interface ICurveIshearYZ in interface ITransformableshearYZ in class ICurveGeo
public ITrimCurve shearZX(double szx,
double sxz)
shearZX in interface ICurveIshearZX in interface ITransformableshearZX in class ICurveGeo
public ITrimCurve shearZX(IDoubleI szx,
IDoubleI sxz)
shearZX in interface ICurveIshearZX in interface ITransformableshearZX in class ICurveGeo
public ITrimCurve shearZX(IVecI center,
double szx,
double sxz)
shearZX in interface ICurveIshearZX in interface ITransformableshearZX in class ICurveGeo
public ITrimCurve shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
shearZX in interface ICurveIshearZX in interface ITransformableshearZX in class ICurveGeo
public ITrimCurve translate(double x,
double y,
double z)
translate in interface ICurveItranslate in interface ITransformabletranslate in class ICurveGeo
public ITrimCurve translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
translate in interface ICurveItranslate in interface ITransformabletranslate in class ICurveGeopublic ITrimCurve translate(IVecI v)
translate in interface ICurveItranslate in interface ITransformabletranslate in class ICurveGeopublic ITrimCurve transform(IMatrix3I mat)
transform in interface ICurveItransform in interface ITransformabletransform in class ICurveGeopublic ITrimCurve transform(IMatrix4I mat)
transform in interface ICurveItransform in interface ITransformabletransform in class ICurveGeo
public ITrimCurve transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
transform in interface ICurveItransform in interface ITransformabletransform in class ICurveGeo
public ITrimCurve transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
transform in interface ICurveItransform in interface ITransformabletransform in class ICurveGeo
public ITrimCurve mv(double x,
double y,
double z)
mv in interface ITransformablemv in class ICurveGeo
public ITrimCurve mv(IDoubleI x,
IDoubleI y,
IDoubleI z)
mv in interface ITransformablemv in class ICurveGeopublic ITrimCurve mv(IVecI v)
mv in interface ITransformablemv in class ICurveGeopublic ITrimCurve cp()
cp in interface ITransformablecp in class ICurveGeo
public ITrimCurve cp(double x,
double y,
double z)
cp in interface ITransformablecp in class ICurveGeo
public ITrimCurve cp(IDoubleI x,
IDoubleI y,
IDoubleI z)
ICurveGeo
cp in interface ITransformablecp in class ICurveGeopublic ITrimCurve cp(IVecI v)
ICurveGeo
cp in interface ITransformablecp in class ICurveGeo
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||