Table of Contents

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

line Line3<T>

Line3(Point3<T>, Point3<T>)

public Line3(Point3<T> p1, Point3<T> p2)

Parameters

p1 Point3<T>
p2 Point3<T>

Line3(Point3<T>, Vector3<T>)

public Line3(Point3<T> p, Vector3<T> v)

Parameters

p Point3<T>
v Vector3<T>

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

point Point3<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)

Parameters

b Line3<T>
pa Point3<T>
pb Point3<T>

Returns

bool