namespace GeometriCS
{
///
/// Intersection between two planes, double precision.
///
public struct IntersectionPlaneToPlaned
{
///
/// Possible statuses the intersection can be.
///
public enum Statuses
{
///
/// Intersection is valid.
///
SUCCESS,
///
/// The two intersecting planes are coplanar.
///
COPLANAR,
}
///
/// First of the intersecting planes.
///
public Planed Plane1 { get; }
///
/// The second intersecting plane.
///
public Planed Plane2 { get; }
///
/// Status of the intersection.
///
public Statuses Status { get; }
///
/// Resulting intersection line between the two planes.
///
public Line3d? Result { get; }
///
/// Constructor for Planed to Planed intersection.
///
/// First of the intersecting planes.
/// Second of the intersecting planes.
public IntersectionPlaneToPlaned(Planed plane1, Planed plane2)
{
Plane1 = plane1;
Plane2 = plane2;
// Process the intersection.
throw new NotImplementedException();
}
}
}