Class Slice3<T>
- Namespace
- FellowOakDicom.Imaging.Mathematics
- Assembly
- fo-dicom.core.dll
public class Slice3<T> where T : INumber<T>
Type Parameters
T
- Inheritance
-
Slice3<T>
- Inherited Members
- Extension Methods
Constructors
Slice3(Vector3<T>, Point3<T>, T, T)
public Slice3(Vector3<T> normal, Point3<T> topLeft, T width, T height)
Parameters
Properties
BottomLeft
public Point3<T> BottomLeft { get; }
Property Value
- Point3<T>
BottomRight
public Point3<T> BottomRight { get; }
Property Value
- Point3<T>
Height
public T Height { get; }
Property Value
- T
Normal
public Vector3<T> Normal { get; }
Property Value
- Vector3<T>
Plane
public Plane3<T> Plane { get; }
Property Value
- Plane3<T>
TopLeft
public Point3<T> TopLeft { get; }
Property Value
- Point3<T>
TopRight
public Point3<T> TopRight { get; }
Property Value
- Point3<T>
Width
public T Width { get; }
Property Value
- T
Methods
Intersect(Slice3<T>, out Segment3<T>)
public bool Intersect(Slice3<T> b, out Segment3<T> intersection)
Parameters
Returns
Project(Point3<T>)
public Point3<T> Project(Point3<T> point)
Parameters
pointPoint3<T>
Returns
- Point3<T>
Project(Segment3<T>)
public Segment3<T> Project(Segment3<T> segment)
Parameters
segmentSegment3<T>
Returns
- Segment3<T>