Table of Contents

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

normal Vector3<T>
topLeft Point3<T>
width T
height T

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

b Slice3<T>
intersection Segment3<T>

Returns

bool

Project(Point3<T>)

public Point3<T> Project(Point3<T> point)

Parameters

point Point3<T>

Returns

Point3<T>

Project(Segment3<T>)

public Segment3<T> Project(Segment3<T> segment)

Parameters

segment Segment3<T>

Returns

Segment3<T>