ostk.mathematics.geometry.d3.object.Sphere

class Sphere(
self: ostk.mathematics.geometry.d3.object.Sphere,
center: ostk.mathematics.geometry.d3.object.Point,
radius: ostk.core.type.Real,
)

Bases: Object

Methods

apply_transformation

as_ellipsoid

as_line

as_line_string

as_plane

as_point

as_point_set

as_polygon

as_pyramid

as_ray

as_segment

as_sphere

contains

Overloaded function.

get_center

get_radius

intersection_with

Overloaded function.

intersects

Overloaded function.

is_defined

is_ellipsoid

is_line

is_line_string

is_plane

is_point

is_point_set

is_polygon

is_pyramid

is_ray

is_segment

is_sphere

is_unitary

undefined

unit

apply_transformation(
self: ostk.mathematics.geometry.d3.object.Sphere,
transformation: ostk::mathematics::geometry::d3::Transformation,
) None
as_ellipsoid(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Ellipsoid
as_line(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Line
as_line_string(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::LineString
as_plane(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Plane
as_point(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Point
as_point_set(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::PointSet
as_polygon(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Polygon
as_pyramid(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Pyramid
as_ray(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Ray
as_segment(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Segment
as_sphere(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Sphere
contains(*args, **kwargs)

Overloaded function.

  1. contains(self: ostk.mathematics.geometry.d3.object.Sphere, point: ostk.mathematics.geometry.d3.object.Point) -> bool

  2. contains(self: ostk.mathematics.geometry.d3.object.Sphere, point_set: ostk.mathematics.geometry.d3.object.PointSet) -> bool

get_center(
self: ostk.mathematics.geometry.d3.object.Sphere,
) ostk.mathematics.geometry.d3.object.Point
get_radius(
self: ostk.mathematics.geometry.d3.object.Sphere,
) ostk.core.type.Real
intersection_with(*args, **kwargs)

Overloaded function.

  1. intersection_with(self: ostk.mathematics.geometry.d3.object.Sphere, line: ostk.mathematics.geometry.d3.object.Line) -> ostk::mathematics::geometry::d3::Intersection

  2. intersection_with(self: ostk.mathematics.geometry.d3.object.Sphere, ray: ostk.mathematics.geometry.d3.object.Ray, only_in_sight: bool = False) -> ostk::mathematics::geometry::d3::Intersection

intersects(*args, **kwargs)

Overloaded function.

  1. intersects(self: ostk.mathematics.geometry.d3.object.Sphere, point: ostk.mathematics.geometry.d3.object.Point) -> bool

  2. intersects(self: ostk.mathematics.geometry.d3.object.Sphere, point_set: ostk.mathematics.geometry.d3.object.PointSet) -> bool

  3. intersects(self: ostk.mathematics.geometry.d3.object.Sphere, line: ostk.mathematics.geometry.d3.object.Line) -> bool

  4. intersects(self: ostk.mathematics.geometry.d3.object.Sphere, ray: ostk.mathematics.geometry.d3.object.Ray) -> bool

  5. intersects(self: ostk.mathematics.geometry.d3.object.Sphere, segment: ostk.mathematics.geometry.d3.object.Segment) -> bool

  6. intersects(self: ostk.mathematics.geometry.d3.object.Sphere, plane: ostk.mathematics.geometry.d3.object.Plane) -> bool

is_defined(self: ostk.mathematics.geometry.d3.object.Sphere) bool
is_ellipsoid(self: ostk.mathematics.geometry.d3.Object) bool
is_line(self: ostk.mathematics.geometry.d3.Object) bool
is_line_string(self: ostk.mathematics.geometry.d3.Object) bool
is_plane(self: ostk.mathematics.geometry.d3.Object) bool
is_point(self: ostk.mathematics.geometry.d3.Object) bool
is_point_set(self: ostk.mathematics.geometry.d3.Object) bool
is_polygon(self: ostk.mathematics.geometry.d3.Object) bool
is_pyramid(self: ostk.mathematics.geometry.d3.Object) bool
is_ray(self: ostk.mathematics.geometry.d3.Object) bool
is_segment(self: ostk.mathematics.geometry.d3.Object) bool
is_sphere(self: ostk.mathematics.geometry.d3.Object) bool
is_unitary(self: ostk.mathematics.geometry.d3.object.Sphere) bool
static undefined() ostk.mathematics.geometry.d3.object.Sphere
static unit(
center: ostk.mathematics.geometry.d3.object.Point,
) ostk.mathematics.geometry.d3.object.Sphere