Package | Description |
---|---|
math.geom3d |
Spatial geometry toolbox.
|
math.geom3d.curve |
Spatial geometry toolbox.
|
math.geom3d.line |
Spatial geometry toolbox.
|
math.geom3d.plane |
Spatial geometry toolbox.
|
math.geom3d.transform |
Spatial geometry toolbox.
|
Modifier and Type | Field and Description |
---|---|
protected Collection<Point3D> |
PointSet3D.points |
Modifier and Type | Method and Description |
---|---|
Point3D |
Point3D.transform(AffineTransform3D trans) |
Modifier and Type | Method and Description |
---|---|
Iterator<Point3D> |
PointSet3D.getPoints()
Returns an iterator on the internal point collection.
|
Iterator<Point3D> |
PointSet3D.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
PointSet3D.addPoint(Point3D point)
Adds a new point to the set of point.
|
void |
PointSet3D.addPoints(Point3D[] points)
Add a series of points
|
boolean |
Shape3D.contains(Point3D point) |
boolean |
Shape3D.EmptySet3D.contains(Point3D point) |
boolean |
PointSet3D.contains(Point3D point) |
boolean |
Point3D.contains(Point3D point)
A point 'contains' another point if their euclidean distance is less than
the accuracy.
|
double |
Shape3D.getDistance(Point3D p)
Gets the distance of the shape to the given point, or the distance of
point to the frontier of the shape in the case of a plain shape.
|
double |
Shape3D.EmptySet3D.getDistance(Point3D p)
return positive infinity.
|
double |
PointSet3D.getDistance(Point3D p) |
double |
Point3D.getDistance(Point3D point) |
void |
Point3D.setLocation(Point3D point) |
Modifier and Type | Method and Description |
---|---|
void |
PointSet3D.addPoints(Collection<Point3D> points) |
Constructor and Description |
---|
Box3D(Point3D p1,
Point3D p2)
Constructor from 2 points, giving extreme coordinates of the box.
|
PointSet3D(Point3D[] points)
Instances of Point3D are directly added, other Point are converted to
Point3D with the same location.
|
Vector3D(Point3D point)
Construct a new vector between origin and a 3D point.
|
Vector3D(Point3D point1,
Point3D point2)
construct a new vector between two points, the vector is leading from the 'point1' to 'point2'.
|
Constructor and Description |
---|
PointSet3D(Collection<? extends Point3D> points)
Points must be a collection of java.awt.Point.
|
Modifier and Type | Method and Description |
---|---|
Point3D |
Curve3D.getFirstPoint()
Get the first point of the curve.
|
Point3D |
Curve3D.getLastPoint()
Get the last point of the curve.
|
Point3D |
Curve3D.getPoint(double t)
Gets the point from a parametric representation of the curve.
|
Point3D |
Curve3D.getPoint(double t,
Point3D point)
Same as getPoint(t), but gives the point as a parameter.
|
Modifier and Type | Method and Description |
---|---|
Collection<Point3D> |
Curve3D.getSingularPoints()
Returns a set of singular points, i.
|
Modifier and Type | Method and Description |
---|---|
Point3D |
Curve3D.getPoint(double t,
Point3D point)
Same as getPoint(t), but gives the point as a parameter.
|
double |
Curve3D.getPosition(Point3D point)
Get position of the point on the curve.
|
double |
Curve3D.project(Point3D point)
Returns the position of the closest orthogonal projection of the point on
the curve, or of the closest singular point.
|
Modifier and Type | Method and Description |
---|---|
Point3D |
StraightLine3D.getExamplePoint1() |
Point3D |
StraightLine3D.getExamplePoint2() |
Point3D |
StraightLine3D.getFirstPoint() |
Point3D |
LineSegment3D.getFirstPoint() |
Point3D |
StraightLine3D.getLastPoint() |
Point3D |
LineSegment3D.getLastPoint() |
Point3D |
StraightLine3D.getOrigin() |
Point3D |
StraightLine3D.getPoint(double t) |
Point3D |
LineSegment3D.getPoint(double t) |
Point3D |
StraightLine3D.getPoint(double t,
Point3D point) |
Point3D |
LineSegment3D.getPoint(double t,
Point3D point) |
Point3D |
StraightLine3D.projectPoint(Point3D point) |
Point3D |
LineSegment3D.projectPoint(Point3D point) |
Modifier and Type | Method and Description |
---|---|
Collection<Point3D> |
StraightLine3D.getSingularPoints()
Returns an empty array of Point3D.
|
Collection<Point3D> |
LineSegment3D.getSingularPoints()
Returns the2 end points.
|
Modifier and Type | Method and Description |
---|---|
boolean |
StraightLine3D.contains(Point3D point) |
boolean |
LineSegment3D.contains(Point3D point) |
double |
StraightLine3D.getDistance(Point3D p) |
double |
LineSegment3D.getDistance(Point3D point) |
Point3D |
StraightLine3D.getPoint(double t,
Point3D point) |
Point3D |
LineSegment3D.getPoint(double t,
Point3D point) |
double |
StraightLine3D.getPosition(Point3D point) |
double |
LineSegment3D.getPosition(Point3D point)
If point does not project on the line segment, return Double.NaN.
|
double |
StraightLine3D.project(Point3D point)
Compute the position of the orthogonal projection of the given point on
this line.
|
double |
LineSegment3D.project(Point3D point) |
Point3D |
StraightLine3D.projectPoint(Point3D point) |
Point3D |
LineSegment3D.projectPoint(Point3D point) |
Constructor and Description |
---|
LineSegment3D(Point3D p1,
Point3D p2) |
StraightLine3D(Point3D p1,
Point3D p2)
Constructs a line passing through the 2 points.
|
StraightLine3D(Point3D origin,
Vector3D direction) |
Modifier and Type | Method and Description |
---|---|
Point3D |
Plane3D.getLineIntersection(StraightLine3D line)
Compute intersection of a line with this plane.
|
Point3D |
Plane3D.getOrigin() |
Point3D |
Plane3D.getPoint(double u,
double v) |
Point3D |
Plane3D.projectPoint(Point3D point) |
Modifier and Type | Method and Description |
---|---|
boolean |
Plane3D.contains(Point3D point) |
double |
Plane3D.getDistance(Point3D point) |
Point2D |
Plane3D.getPointPosition(Point3D point) |
Point3D |
Plane3D.projectPoint(Point3D point) |
Constructor and Description |
---|
Plane3D(Point3D point,
Vector3D vector1,
Vector3D vector2) |
Modifier and Type | Method and Description |
---|---|
Point3D |
Transform3D.transformPoint(Point3D src,
Point3D dst) |
Point3D |
AffineTransform3D.transformPoint(Point3D src,
Point3D dst) |
Point3D[] |
Transform3D.transformPoints(Point3D[] src,
Point3D[] dst) |
Point3D[] |
AffineTransform3D.transformPoints(Point3D[] src,
Point3D[] dst) |
Modifier and Type | Method and Description |
---|---|
Point3D |
Transform3D.transformPoint(Point3D src,
Point3D dst) |
Point3D |
AffineTransform3D.transformPoint(Point3D src,
Point3D dst) |
Point3D[] |
Transform3D.transformPoints(Point3D[] src,
Point3D[] dst) |
Point3D[] |
Transform3D.transformPoints(Point3D[] src,
Point3D[] dst) |
Point3D[] |
AffineTransform3D.transformPoints(Point3D[] src,
Point3D[] dst) |
Point3D[] |
AffineTransform3D.transformPoints(Point3D[] src,
Point3D[] dst) |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.