Plane Structure |
Namespace: ABB.Robotics.Math
public struct Plane
The Plane type exposes the following members.
Name | Description | |
---|---|---|
Plane(Matrix4, Axis) |
Creates a plane from a matrix
| |
Plane(Vector3, Vector3) |
Creates a plane from a normal and a point on the plane.
| |
Plane(Vector3, Double) |
Creates a plane from a normal and a distance.
| |
Plane(Vector3, Vector3, Vector3) |
Creates a plane from three points. The points are in counterclockwise order seen from in front of the plane. | |
Plane(Double, Double, Double, Double) |
Creates a plane from four doubles.
|
Name | Description | |
---|---|---|
Angle |
Computes the angle between the projection of two vectors onto the plane.
| |
Distance |
Returns the distance between the plane and a point.
| |
Equals | (Overrides ValueTypeEquals(Object).) | |
GetHashCode | (Overrides ValueTypeGetHashCode.) | |
GetType | (Inherited from Object.) | |
Intersect(Vector3, Vector3, Vector3) |
Calculates if and where a straight line between two
points intersects the plane.
| |
Intersect(Vector3, Vector3, Vector3, Double) |
Calculates if and where a straight line between two
points intersects the plane.
| |
IntersectRay |
Calculates the intersection between a Ray and the plane.
| |
MirrorMatrixFlip |
Mirrors a coordinate system (represented by a matrix) in the plane
and optionally inverts one axis to keep the handedness. The matrix is assumed to be affine. | |
MirrorMatrixKeep |
Mirrors a coordinate system (represented by a matrix) in the plane
and optionally switches two axes to keep the handedness. The matrix is assumed to be affine. | |
MirrorPoint |
Mirrors a point in the plane.
| |
MirrorVector |
Mirrors a vector (direction) in the plane.
| |
ProjectPoint |
Projects a point onto the plane.
| |
ProjectVector |
Projects a vector into the plane.
| |
ToString |
Returns a string in the format (Overrides ValueTypeToString.)[x y z d] |
Name | Description | |
---|---|---|
Equality |
Equality operator
| |
Inequality |
Inequality operator
|
Name | Description | |
---|---|---|
d |
Distance from origin. Negative if the normal points away from the origin, positive if the normal points toward the origin. | |
x |
Plane normal
| |
y |
Plane normal
| |
z |
Plane normal
|