Class Line3D
Inheritance
System.Object
Line3D
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FellowOakDicom.Imaging.Mathematics
Assembly: fo-dicom.core.dll
Syntax
public class Line3D
Constructors
Line3D()
Declaration
public Line3D()
Line3D(Line3D)
Declaration
public Line3D(Line3D line)
Parameters
Type | Name | Description |
---|---|---|
Line3D | line |
Line3D(Point3D, Point3D)
Declaration
public Line3D(Point3D p1, Point3D p2)
Parameters
Type | Name | Description |
---|---|---|
Point3D | p1 | |
Point3D | p2 |
Line3D(Point3D, Vector3D)
Declaration
public Line3D(Point3D p, Vector3D v)
Parameters
Type | Name | Description |
---|---|---|
Point3D | p | |
Vector3D | v |
Properties
Point
Declaration
public Point3D Point { get; set; }
Property Value
Type | Description |
---|---|
Point3D |
Vector
Declaration
public Vector3D Vector { get; set; }
Property Value
Type | Description |
---|---|
Vector3D |
Methods
ClosestPoint(Point3D)
Declaration
public Point3D ClosestPoint(Point3D point)
Parameters
Type | Name | Description |
---|---|---|
Point3D | point |
Returns
Type | Description |
---|---|
Point3D |
ClosestPoints(Line3D, out Point3D, out Point3D)
Declaration
public bool ClosestPoints(Line3D b, out Point3D pa, out Point3D pb)
Parameters
Type | Name | Description |
---|---|---|
Line3D | b | |
Point3D | pa | |
Point3D | pb |
Returns
Type | Description |
---|---|
System.Boolean |