Represents a 3D sphere. More...


Public Member Functions | |
| E3DSphere () | |
| Creates an E3DSphere object. | |
| E3DSphere (eVision.Easy3D.E3DPoint center, float radius) | |
| Creates an E3DSphere object. | |
| E3DSphere (eVision.Easy3D.E3DPoint point1, eVision.Easy3D.E3DPoint point2, eVision.Easy3D.E3DPoint point3, eVision.Easy3D.E3DPoint point4) | |
| Creates an E3DSphere object. | |
| E3DSphere (eVision.Easy3D.E3DSphere other) | |
| Creates an E3DSphere object. | |
| void | Define (eVision.Easy3D.E3DPoint center, float radius) |
| (re)Defines the sphere parameters: | |
| void | Define (eVision.Easy3D.E3DPoint point1, eVision.Easy3D.E3DPoint point2, eVision.Easy3D.E3DPoint point3, eVision.Easy3D.E3DPoint point4) |
| (re)Defines the sphere parameters: | |
| float | DistanceTo (eVision.Easy3D.E3DPoint point) |
| Computes the distance between a E3DPoint and the sphere, defined as the distance to the nearest point of the sphere. | |
| eVision.Easy3D.E3DSphere | Transform (eVision.Easy3D.E3DTransformMatrix matrix) |
| Transforms the 3D sphere with the given transformation matrix. The transformation matrix must contain a rigid transformation (translation and rotation only) optionally combined with an isotropic scaling transform. | |
| void | Load (string path) |
| Loads a E3DSphere. The given ESerializer must have been created for reading. | |
| void | Load (eVision.ESerializer serializer) |
| Loads a E3DSphere. The given ESerializer must have been created for reading. | |
| void | Save (string path) |
| Saves a E3DSphere. The given ESerializer must have been created for writing. | |
| void | Save (eVision.ESerializer serializer) |
| Saves a E3DSphere. The given ESerializer must have been created for writing. | |
Properties | |
| eVision.Easy3D.E3DPoint | Center [get] |
| Gets the center point of the sphere. | |
| float | Radius [get] |
| Gets the radius of the sphere. | |
Represents a 3D sphere.
License(s): Easy3D
| eVision.Easy3D.E3DSphere.E3DSphere | ( | ) |
Creates an E3DSphere object.
It is possible to initialize it by specifying its center and radius or 4 points lying on it surface.
| eVision.Easy3D.E3DSphere.E3DSphere | ( | eVision.Easy3D.E3DPoint | center, |
| float | radius ) |
Creates an E3DSphere object.
It is possible to initialize it by specifying its center and radius or 4 points lying on it surface.
| center | The center of the sphere. |
| radius | The radius of the sphere. |
| eVision.Easy3D.E3DSphere.E3DSphere | ( | eVision.Easy3D.E3DPoint | point1, |
| eVision.Easy3D.E3DPoint | point2, | ||
| eVision.Easy3D.E3DPoint | point3, | ||
| eVision.Easy3D.E3DPoint | point4 ) |
Creates an E3DSphere object.
It is possible to initialize it by specifying its center and radius or 4 points lying on it surface.
| point1 | First points on the surface of the sphere. |
| point2 | Second points on the surface of the sphere. |
| point3 | Third points on the surface of the sphere. |
| point4 | Fourth points on the surface of the sphere. |
| eVision.Easy3D.E3DSphere.E3DSphere | ( | eVision.Easy3D.E3DSphere | other | ) |
| void eVision.Easy3D.E3DSphere.Define | ( | eVision.Easy3D.E3DPoint | center, |
| float | radius ) |
(re)Defines the sphere parameters:
It is possible to use the center and the radius of the sphere or 4 points lying on the surface of the sphere.
| center | The center of the sphere. |
| radius | The radius of the sphere. |
| void eVision.Easy3D.E3DSphere.Define | ( | eVision.Easy3D.E3DPoint | point1, |
| eVision.Easy3D.E3DPoint | point2, | ||
| eVision.Easy3D.E3DPoint | point3, | ||
| eVision.Easy3D.E3DPoint | point4 ) |
(re)Defines the sphere parameters:
It is possible to use the center and the radius of the sphere or 4 points lying on the surface of the sphere.
| point1 | First points on the surface of the sphere. |
| point2 | Second points on the surface of the sphere. |
| point3 | Third points on the surface of the sphere. |
| point4 | Fourth points on the surface of the sphere. |
| float eVision.Easy3D.E3DSphere.DistanceTo | ( | eVision.Easy3D.E3DPoint | point | ) |
Computes the distance between a E3DPoint and the sphere, defined as the distance to the nearest point of the sphere.
| point | The 3D point to measure the distance to. |
| void eVision.Easy3D.E3DSphere.Load | ( | eVision.ESerializer | serializer | ) |
Loads a E3DSphere. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| void eVision.Easy3D.E3DSphere.Load | ( | string | path | ) |
Loads a E3DSphere. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision.Easy3D.E3DSphere.Save | ( | eVision.ESerializer | serializer | ) |
Saves a E3DSphere. The given ESerializer must have been created for writing.
| serializer | The ESerializer object that is written to. |
| void eVision.Easy3D.E3DSphere.Save | ( | string | path | ) |
Saves a E3DSphere. The given ESerializer must have been created for writing.
| path | The file path. |
| eVision.Easy3D.E3DSphere eVision.Easy3D.E3DSphere.Transform | ( | eVision.Easy3D.E3DTransformMatrix | matrix | ) |
Transforms the 3D sphere with the given transformation matrix. The transformation matrix must contain a rigid transformation (translation and rotation only) optionally combined with an isotropic scaling transform.
| matrix | The 3D transformation matrix. |
|
get |
Gets the center point of the sphere.
|
get |
Gets the radius of the sphere.