| 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.polygon | |
| 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.minus(Vector3D vector) |
Point3D |
Point3D.plus(Vector3D vector) |
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 |
Axis3D.getCoord(Point3D point)
Get coordinate of the axis
|
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) |
double |
Point3D.getDistanceSquare(Point3D point) |
void |
Point3D.setLocation(Point3D point)
Deprecated.
Point3D shall be immutable
|
| 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)
Deprecated.
Point3D shall be immutable
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Point3D> |
Curve3D.getSingularPoints()
Returns a set of singular points, i. e. which do not locally admit
derivative.
|
| Modifier and Type | Method and Description |
|---|---|
Point3D |
Curve3D.getPoint(double t,
Point3D point)
Deprecated.
Point3D shall be immutable
|
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 | Field and Description |
|---|---|
protected Point3D |
LineSegment3D.firstPoint |
protected Point3D |
LineSegment3D.lastPoint |
protected Point3D |
StraightLine3D.origin |
| 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.getPlaneIntersection(Plane3D plane)
Compute intersection with a plane.
|
Point3D |
StraightLine3D.getPoint(double t) |
Point3D |
LineSegment3D.getPoint(double t) |
Point3D |
StraightLine3D.getPoint(double t,
Point3D point)
Deprecated.
Point3D shall be immutable
|
Point3D |
LineSegment3D.getPoint(double t,
Point3D point)
Deprecated.
|
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)
Deprecated.
Point3D shall be immutable
|
Point3D |
LineSegment3D.getPoint(double t,
Point3D point)
Deprecated.
|
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 vector) |
| Modifier and Type | Field and Description |
|---|---|
protected Point3D |
Plane3D.origin |
| Modifier and Type | Method and Description |
|---|---|
Point3D |
Plane3DCoordinateSubsystem.get(Point2D point)
Get 3D coords of a point within the coordinate subsystem
|
Point3D |
AxisAlignedPlane3D.getLineIntersection(StraightLine3D line)
Compute intersection of a line with this plane.
|
Point3D |
Plane3D.getOrigin()
Get origin
|
Point3D |
AxisAlignedPlane3D.getOriginPoint()
Get point of origin
|
static Point3D[] |
Plane3D.pickAnchors(Collection<Point3D> pointsInPlane)
Pick anchors of a plane
Picks 3 anchors that define the plane well (see
Plane3D.rateAnchors(Point3D, Point3D, Point3D)).. |
Point3D |
Plane3D.project(Point3D point)
Project a point onto plane
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Plane3D.contains(Point3D point) |
double |
AxisAlignedPlane3D.getAxisCoord(Point3D point)
Get coordinate matching the axis perpendicular to the plane
|
double |
Plane3D.getDistance(Point3D point) |
double |
Plane3D.getSignedDistance(Point3D point)
Get signed distance determined by normal vector
|
double |
AxisAlignedPlane3D.getSignedDistance(Point3D point)
Get signed distance from point
|
Point2D |
Plane3DCoordinateSubsystem.project(Point3D point)
Project a point to 2D coordinate subsystem of the plane
|
Point3D |
Plane3D.project(Point3D point)
Project a point onto plane
|
protected static double |
Plane3D.rateAnchors(Point3D a,
Point3D b,
Point3D c)
Rate the ability of points to define a plane
Anchors need to be distant from each other (to avoid floating point math inaccuracies) and must be linearly independent.
|
| Modifier and Type | Method and Description |
|---|---|
static Plane3D |
Plane3D.createPlaneDefinedByPoints(Collection<Point3D> pointsInPlane)
Construct from points in plane
Picks 3 anchors from provided list of points, see
Plane3D.pickAnchors(Collection) |
static Point3D[] |
Plane3D.pickAnchors(Collection<Point3D> pointsInPlane)
Pick anchors of a plane
Picks 3 anchors that define the plane well (see
Plane3D.rateAnchors(Point3D, Point3D, Point3D)).. |
| Constructor and Description |
|---|
Plane3D(Point3D origin,
Vector3D vector1,
Vector3D vector2)
Construct from origin and vectors
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Point3D> |
SimplePlanarPolygon3D.vertices |
| Modifier and Type | Method and Description |
|---|---|
Point3D |
SimplePlanarPolygon3D.getCentroid()
Get centroid
|
Point3D |
SimplePlanarPolygon3D.project(Point3D point)
Project point
|
| Modifier and Type | Method and Description |
|---|---|
List<Point3D> |
SimplePlanarPolygon3D.getVertices()
Get vertices
Read only.
|
| Modifier and Type | Method and Description |
|---|---|
double |
SimplePlanarPolygon3D.getDistance(Point3D from)
Get distance to a point
|
Point3D |
SimplePlanarPolygon3D.project(Point3D point)
Project point
|
| Constructor and Description |
|---|
SimplePlanarPolygon3D(Collection<Point3D> vertices)
Construct planar polygon in 3D from vertices
|
| Modifier and Type | Method and Description |
|---|---|
Point3D |
Transform3D.transformPoint(Point3D point) |
Point3D |
AffineTransform3D.transformPoint(Point3D point) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Point3D> |
Transform3D.transformPoints(Collection<Point3D> points) |
ArrayList<Point3D> |
AffineTransform3D.transformPoints(Collection<Point3D> points) |
| Modifier and Type | Method and Description |
|---|---|
Point3D |
Transform3D.transformPoint(Point3D point) |
Point3D |
AffineTransform3D.transformPoint(Point3D point) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Point3D> |
Transform3D.transformPoints(Collection<Point3D> points) |
ArrayList<Point3D> |
AffineTransform3D.transformPoints(Collection<Point3D> points) |
Copyright © 2019 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.