Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
Reset ( ) : void |
public static From4Points ( Vector3D s1, Vector3D s2, Vector3D s3, Vector3D s4 ) : |
||
s1 | Vector3D | |
s2 | Vector3D | |
s3 | Vector3D | |
s4 | Vector3D | |
Результат |
public Intersection ( |
||
s | ||
Результат |
public IsPointInside ( Vector3D test ) : bool | ||
test | Vector3D | |
Результат | bool |
public IsPointInsideOrOn ( Vector3D test ) : bool | ||
test | Vector3D | |
Результат | bool |
public static Plane ( Vector3D normal ) : |
||
normal | Vector3D | |
Результат |
public static Plane ( Vector3D offset, Vector3D normal ) : |
||
offset | Vector3D | |
normal | Vector3D | |
Результат |
public ProjectToSurface ( Vector3D p ) : Vector3D | ||
p | Vector3D | |
Результат | Vector3D |
public ReflectPoint ( Vector3D p ) : Vector3D | ||
p | Vector3D | |
Результат | Vector3D |
public static RotateSphere ( |
||
s | ||
axis | Vector3D | |
rotation | double | |
Результат | void |
public static ScaleSphere ( |
||
s | ||
factor | double | |
Результат | void |
public Sphere ( ) : System.Collections.Generic | ||
Результат | System.Collections.Generic |
public Sphere ( Vector3D center, double radius ) : System.Collections.Generic | ||
center | Vector3D | |
radius | double | |
Результат | System.Collections.Generic |