| Package | Description |
|---|---|
| org.xmlcml.euclid |
| Modifier and Type | Field and Description |
|---|---|
protected List<Point3> |
Point3Vector.vector |
| Modifier and Type | Method and Description |
|---|---|
static Point3 |
Point3.calculateFromInternalCoordinates(Point3 p1,
Point3 p2,
Point3 p3,
double length,
Angle angle,
Angle torsion)
add point using internal coordinates.
|
Point3 |
Point3.divideBy(double f)
scale point does NOT alter this
|
Point3 |
Point3Vector.elementAt(int i)
get Point3 element.
|
Point3 |
Point3Vector.get(int i)
get Point3 element.
|
Point3 |
Transform3.getCentreOfRotation()
get centre of rotation.
|
Point3 |
Point3Vector.getCentroid()
get centroid of all points
|
Point3 |
Point3.getClosestPointOnLine(Line3 l)
get closest point on line.
|
Point3 |
Line3.getClosestPointTo(Point3 p2)
point on line closest to another point.
|
Point3 |
Plane3.getClosestPointTo(Point3 p2)
point on plane closest to another point.
|
Point3 |
Plane3.getIntersectionWith(Line3 l)
point of intersection of plane and line.
|
Point3 |
Line3.getIntersectionWith(Plane3 pl)
point of intersection of line and plane calls
Plane3.getIntersectionWith(Point3)
|
Point3 |
Plane3.getIntersectionWith(Plane3 pl2,
Plane3 pl3)
point where three planes intersect
|
Point3 |
Real3Range.getMaxPoint3()
get point with max x, y, z.
|
Point3 |
Point3.getMidPoint(Point3 p2)
mid-point of two points.
|
Point3 |
Real3Range.getMinPoint3()
get point with min x, y, z.
|
Point3 |
Line3.getPoint()
get point from line.
|
Point3 |
Point3Vector.getPoint3(int i)
get a single point by REFERENCE
|
Point3 |
Point3.multiplyBy(double f)
scale point.
|
Point3 |
Point3.plus(Point3 p)
New point by adding points as vectors.
|
Point3 |
Point3.plus(Vector3 v)
New point from point+vector does NOT alter this
|
Point3 |
Point3.subtract(Vector3 v)
New point from point minus vector.
|
Point3 |
Point3.transform(Transform3 t)
get transformed point.
|
| Modifier and Type | Method and Description |
|---|---|
List<Point3> |
Point3Vector.getPoint3List()
get points as list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Real3Range.add(Point3 p)
add a Point3 to a range
|
void |
Point3Vector.add(Point3 p)
add point.
|
void |
Point3Vector.addElement(Point3 p)
add point.
|
static Point3 |
Point3.calculateFromInternalCoordinates(Point3 p1,
Point3 p2,
Point3 p3,
double length,
Angle angle,
Angle torsion)
add point using internal coordinates.
|
Vector3 |
Vector3.clone(Point3 p)
from Point3 vector is from origin to point
|
boolean |
Line3.containsPoint(Point3 p)
is a point on a line.
|
boolean |
Plane3.containsPoint(Point3 p)
is a point on the plane.
|
boolean |
Point3.equalsCrystallographically(Point3 p)
are two crystallographic points identical.
|
static Angle |
Point3.getAngle(Point3 p1,
Point3 p2,
Point3 p3)
get angle.
|
Point3 |
Line3.getClosestPointTo(Point3 p2)
point on line closest to another point.
|
Point3 |
Plane3.getClosestPointTo(Point3 p2)
point on plane closest to another point.
|
double |
Point3.getDistanceFromPoint(Point3 p2)
distance of point from another point
|
double |
Line3.getDistanceFromPoint(Point3 p)
distance of a point from a line
|
double |
Plane3.getDistanceFromPoint(Point3 p)
distance of point from plane.
|
int |
Point3Vector.getFurthestPointFrom(Point3 p)
get point furthest from another.
|
Point3 |
Point3.getMidPoint(Point3 p2)
mid-point of two points.
|
int |
Point3Vector.getPointMakingSmallestAngle(Point3 p1,
Point3 p2)
get point making smallest angle with two others.
|
double |
Point3.getSquaredDistanceFromPoint(Point3 p2)
Gets the squared Distance between this point and another
|
static Angle |
Point3.getTorsion(Point3 p1,
Point3 p2,
Point3 p3,
Point3 p4)
torsion angle.
|
boolean |
Real3Range.includes(Point3 p)
is a Point3 within a Real3Range
|
boolean |
Point3.isEqualTo(Point3 p)
are two points identical.
|
boolean |
Point3.isEqualTo(Point3 p,
double eps)
are two points identical.
|
Point3 |
Point3.plus(Point3 p)
New point by adding points as vectors.
|
void |
Point3.plusEquals(Point3 pt)
Move this Point3.
|
void |
Point3Vector.setElementAt(Point3 p,
int i)
insert point.
|
Vector3 |
Point3.subtract(Point3 p2)
vector between two points.
|
void |
Point3.subtractEquals(Point3 pt)
Shift point from point.
|
| Constructor and Description |
|---|
Line3(Point3 p1,
Point3 p2)
construct a line from two Point3s.
|
Line3(Point3 p,
Vector3 v)
construct from point and vector.
|
Plane3(Line3 l,
Point3 p)
make a plane from a line and a point not on the line.
|
Plane3(Point3 p1,
Point3 p2,
Point3 p3)
make a plane from three points.
|
Point3(Point3 p)
copy constructor
|
Transform3(Transform3 t,
Point3 p)
from rotation about a point.
|
Vector3(Point3 p)
make a vector from a point vector is from origin to point
|
Copyright © 1994–2024 Peter Murray-Rust. All rights reserved.