Class Line3<T>
- Namespace
- FellowOakDicom.Imaging.Mathematics
- Assembly
- fo-dicom.core.dll
public class Line3<T> where T : INumber<T>
Type Parameters
T
- Inheritance
-
Line3<T>
- Inherited Members
- Extension Methods
Constructors
Line3()
public Line3()
Line3(Line3<T>)
public Line3(Line3<T> line)
Parameters
lineLine3<T>
Line3(Point3<T>, Point3<T>)
public Line3(Point3<T> p1, Point3<T> p2)
Parameters
Line3(Point3<T>, Vector3<T>)
public Line3(Point3<T> p, Vector3<T> v)
Parameters
Properties
Point
public Point3<T> Point { get; set; }
Property Value
- Point3<T>
Vector
public Vector3<T> Vector { get; set; }
Property Value
- Vector3<T>
Methods
ClosestPoint(Point3<T>)
public Point3<T> ClosestPoint(Point3<T> point)
Parameters
pointPoint3<T>
Returns
- Point3<T>
ClosestPoints(Line3<T>, out Point3<T>, out Point3<T>)
public bool ClosestPoints(Line3<T> b, out Point3<T> pa, out Point3<T> pb)