public interface Curve3D extends Shape3D
Shape3D.EmptySet3D
Modifier and Type | Method and Description |
---|---|
Collection<? extends ContinuousCurve3D> |
getContinuousCurves()
Returns the collection of continuous curves which constitute this curve.
|
Point3D |
getFirstPoint()
Get the first point of the curve.
|
Point3D |
getLastPoint()
Get the last point of the curve.
|
Point3D |
getPoint(double t)
Gets the point from a parametric representation of the curve.
|
Point3D |
getPoint(double t,
Point3D point)
Same as getPoint(t), but gives the point as a parameter.
|
double |
getPosition(Point3D point)
Get position of the point on the curve.
|
Curve3D |
getReverseCurve()
Returns the curve with same trace on the plane with parametrization in
reverse order.
|
Collection<Point3D> |
getSingularPoints()
Returns a set of singular points, i.
|
Curve3D |
getSubCurve(double t0,
double t1)
Returns a portion of the original curve, delimited by two positions on
the curve.
|
double |
getT0()
Get value of parameter t for the first point of the curve.
|
double |
getT1()
Get value of parameter t for the last point of the curve.
|
double |
project(Point3D point)
Returns the position of the closest orthogonal projection of the point on
the curve, or of the closest singular point.
|
Curve3D |
transform(AffineTransform3D trans)
Transforms the curve by an affine transform.
|
clip, contains, getBoundingBox, getDistance, isBounded, isEmpty
double getT0()
double getT1()
Point3D getPoint(double t)
Point3D getPoint(double t, Point3D point)
Point3D getFirstPoint()
getPoint(getT0())
.Point3D getLastPoint()
getPoint(getT1())
.Collection<Point3D> getSingularPoints()
double getPosition(Point3D point)
point
- a point belonging to the curvedouble project(Point3D point)
point
- a point to projectCurve3D getReverseCurve()
Collection<? extends ContinuousCurve3D> getContinuousCurves()
Curve3D getSubCurve(double t0, double t1)
t0
- position of the start of the sub-curvet1
- position of the end of the sub-curveCurve3D transform(AffineTransform3D trans)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.