namespace GeometriCS
{
///
/// Intersection between a plane and a line3, double precision.
///
public class IntersectionPlaneToLine3d
{
///
/// Possible statuses the intersection can be.
///
public enum Statuses
{
///
/// Intersection is valid.
///
SUCCESS,
///
/// The line is on a plane coplanar to the intersection plane.
///
COPLANAR,
}
///
/// The intersecting plane.
///
public Planed Plane { get; }
///
/// The intersecting line.
///
public Line3d Line { get; }
///
/// Status of the intersection.
///
public Statuses Status { get; }
///
/// Point on the intersection of the plane and the line.
///
public Vector3d? Result { get; }
///
/// Constructor for Planed to Line3d intersection.
///
/// The intersecting plane.
/// The intersecting line.
public IntersectionPlaneToLine3d(Planed plane, Line3d line)
{
Plane = plane;
Line = line;
// Process the intersection
throw new NotImplementedException();
}
}
}