Ellipsoid3D
Canonical path: NemAll_Python_Geometry.Ellipsoid3D
3D ellipsoid
GetCenter
GetCenter() -> Point3D
GetIsoLines
GetIsoLines(USegmentsCount: int, VSegmentsCount: int) -> Arc3DList
Test whether the Ellipsoid is Sphere
Parameters:
-
USegmentsCount
(int
) –count of circles
-
VSegmentsCount
(int
) –count of circles
Returns:
-
Arc3DList
–vector of circles
GetLocalPlacement
GetLocalPlacement() -> AxisPlacement3D
GetSilhouetteContour
GetXAxis
GetXAxis() -> Vector3D
GetXRadius
Get X Radius of the Ellipsoid
Returns:
-
float
–Reference to X Radius.
GetYAxis
GetYAxis() -> Vector3D
GetYRadius
Get Y Radius of the Ellipsoid
Returns:
-
float
–Reference to Y Radius.
GetZAxis
GetZAxis() -> Vector3D
GetZRadius
Get Z Radius of the Ellipsoid
Returns:
-
float
–Reference to Z Radius.
SetXRadius
Set X Radius of the Ellipsoid
Parameters:
-
rad
(float
) –New radius.
Returns:
-
–
Reference to X Radius.
SetYRadius
Set Y Radius of the Ellipsoid
Parameters:
-
rad
(float
) –New radius
SetZRadius
Set Z Radius of the Ellipsoid
Parameters:
-
rad
(float
) –New radius
__eq__
__eq__(ellipsoid: Ellipsoid3D) -> object
Comparison of ellipsoids without tolerance.
Be careful, this method work without tolerance!
Parameters:
-
ellipsoid
(Ellipsoid3D
) –Compared ellipsoid.
Returns:
-
object
–True when ellipsoids are equal, otherwise false.
__init__
overloaded
Initialize
__init__(ellipsoid: Ellipsoid3D)
__init__(
refPlacement: AxisPlacement3D,
radiusX: float,
radiusY: float,
radiusZ: float,
)
Constructor.
Parameters:
-
refPlacement
(AxisPlacement3D
) –Local Placement of the ellipsoid.
-
radiusX
(float
) –X radius of the Ellipsoid.
-
radiusY
(float
) –Y radius of the Ellipsoid.
-
radiusZ
(float
) –Z radius of the Ellipsoid.
Constructor.
Parameters:
-
radiusX
(float
) –X radius of the Ellipsoid.
-
radiusY
(float
) –Y radius of the Ellipsoid.
-
radiusZ
(float
) –Z radius of the Ellipsoid.