Method | Description | |
---|---|---|
Clone ( ) : |
||
Equals ( object obj ) : bool | ||
From4Points ( Vector3D s1, Vector3D s2, Vector3D s3, Vector3D s4 ) : |
||
GetHashCode ( ) : int | ||
Intersection ( |
Finds the intersection (a circle) between us and another sphere. Returns null if sphere centers are coincident or no intersection exists. Does not currently work for planes.
|
|
IsPointInside ( Vector3D test ) : bool | ||
IsPointInsideOrOn ( Vector3D test ) : bool | ||
IsPointOn ( Vector3D test ) : bool | ||
Plane ( Vector3D normal ) : |
||
Plane ( Vector3D offset, Vector3D normal ) : |
||
ProjectToSurface ( Vector3D p ) : Vector3D |
Radially project a point onto our surface.
|
|
Reflect ( |
Reflect ourselves about another sphere.
|
|
ReflectPoint ( Vector3D p ) : Vector3D |
Reflect a point in us.
|
|
RotateSphere ( |
||
ScaleSphere ( |
||
Sphere ( ) : System.Collections.Generic | ||
Sphere ( Vector3D center, double radius ) : System.Collections.Generic |
Method | Description | |
---|---|---|
Reset ( ) : void |
public static From4Points ( Vector3D s1, Vector3D s2, Vector3D s3, Vector3D s4 ) : |
||
s1 | Vector3D | |
s2 | Vector3D | |
s3 | Vector3D | |
s4 | Vector3D | |
return |
public IsPointInside ( Vector3D test ) : bool | ||
test | Vector3D | |
return | bool |
public IsPointInsideOrOn ( Vector3D test ) : bool | ||
test | Vector3D | |
return | bool |
public static Plane ( Vector3D normal ) : |
||
normal | Vector3D | |
return |
public static Plane ( Vector3D offset, Vector3D normal ) : |
||
offset | Vector3D | |
normal | Vector3D | |
return |
public ProjectToSurface ( Vector3D p ) : Vector3D | ||
p | Vector3D | |
return | Vector3D |
public ReflectPoint ( Vector3D p ) : Vector3D | ||
p | Vector3D | |
return | Vector3D |
public static RotateSphere ( |
||
s | ||
axis | Vector3D | |
rotation | double | |
return | void |
public static ScaleSphere ( |
||
s | ||
factor | double | |
return | void |
public Sphere ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public Sphere ( Vector3D center, double radius ) : System.Collections.Generic | ||
center | Vector3D | |
radius | double | |
return | System.Collections.Generic |