Method | Description | |
---|---|---|
BoundingSphere ( ) : System |
Initializes a new instance of the BoundingSphere class.
|
|
BoundingSphere ( System.Windows.Media.Media3D.Point3D center, double diameter ) : System |
Initializes a new instance of the BoundingSphere class.
|
|
Contains ( System.Windows.Media.Media3D.Point3D point ) : bool |
Determines if the specified point is inside the sphere.
|
|
CreateFromPoints ( IEnumerable |
Creates a bounding sphere from a collection of points.
|
|
CreateFromRect3D ( System.Windows.Media.Media3D.Rect3D rect ) : |
Creates a BoundingSphere from a Rect3D.
|
|
CreateMerged ( |
Creates a merged bounding sphere.
|
|
DistanceFrom ( System.Windows.Media.Media3D.Point3D point ) : double |
Calculates the distance from a point to the nearest point on the sphere surface.
|
|
Intersects ( |
Determines if the sphere intersects with the specified sphere.
|
|
RayIntersection ( |
Gets the intersection with the specified ray.
|
public BoundingSphere ( System.Windows.Media.Media3D.Point3D center, double diameter ) : System | ||
center | System.Windows.Media.Media3D.Point3D | /// The center. /// |
diameter | double | /// The diameter. /// |
return | System |
public Contains ( System.Windows.Media.Media3D.Point3D point ) : bool | ||
point | System.Windows.Media.Media3D.Point3D | /// The point. /// |
return | bool |
public static CreateFromPoints ( IEnumerable |
||
points | IEnumerable |
/// The points. /// |
return |
public static CreateFromRect3D ( System.Windows.Media.Media3D.Rect3D rect ) : |
||
rect | System.Windows.Media.Media3D.Rect3D | /// The 3D rectangle. /// |
return |
public static CreateMerged ( |
||
original | /// The original. /// | |
additional | /// The additional. /// | |
return |
public DistanceFrom ( System.Windows.Media.Media3D.Point3D point ) : double | ||
point | System.Windows.Media.Media3D.Point3D | /// The point. /// |
return | double |
public Intersects ( |
||
sphere | /// The sphere to check against. /// | |
return | bool |
public RayIntersection ( |
||
ray | The ray. | |
result | System.Windows.Media.Media3D.Point3D | The intersection point(s). |
return | bool |