Class GeometryHelper
- Namespace
- FellowOakDicom.Imaging.Mathematics
- Assembly
- fo-dicom.core.dll
public static class GeometryHelper
- Inheritance
-
GeometryHelper
- Inherited Members
Methods
GetBoundingBox(FrameGeometry)
Finds the bounding box of the geometry by finding the bounding box of the 4 corners
public static (Point3D min, Point3D max) GetBoundingBox(this FrameGeometry geometry)
Parameters
geometry
FrameGeometry
Returns
GetBoundingBox(IEnumerable<Point3D>)
Finds the bounding box of a list of points in space.
public static (Point3D min, Point3D max) GetBoundingBox(this IEnumerable<Point3D> points)
Parameters
points
IEnumerable<Point3D>
Returns
Min(params double[])
Returns the minimal value of all the values
public static double Min(params double[] values)
Parameters
values
double[]A list of values