ostk.mathematics.geometry.d3.object.Pyramid

class Pyramid(
self: ostk.mathematics.geometry.d3.object.Pyramid,
base: ostk.mathematics.geometry.d3.object.Polygon,
apex: ostk.mathematics.geometry.d3.object.Point,
)

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_apex

get_base

get_lateral_face_at

get_lateral_face_count

get_rays_of_lateral_face_at

get_rays_of_lateral_faces

intersection_with

Overloaded function.

intersects

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

undefined

apply_transformation(
self: ostk.mathematics.geometry.d3.object.Pyramid,
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.Pyramid, point: ostk.mathematics.geometry.d3.object.Point) -> bool

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

  3. contains(self: ostk.mathematics.geometry.d3.object.Pyramid, segment: ostk.mathematics.geometry.d3.object.Segment) -> bool

  4. contains(self: ostk.mathematics.geometry.d3.object.Pyramid, ellipsoid: ostk.mathematics.geometry.d3.object.Ellipsoid) -> bool

get_apex(
self: ostk.mathematics.geometry.d3.object.Pyramid,
) ostk.mathematics.geometry.d3.object.Point
get_base(
self: ostk.mathematics.geometry.d3.object.Pyramid,
) ostk.mathematics.geometry.d3.object.Polygon
get_lateral_face_at(
self: ostk.mathematics.geometry.d3.object.Pyramid,
arg0: int,
) ostk.mathematics.geometry.d3.object.Polygon
get_lateral_face_count(self: ostk.mathematics.geometry.d3.object.Pyramid) int
get_rays_of_lateral_face_at(
self: ostk.mathematics.geometry.d3.object.Pyramid,
lateral_face_index: int,
ray_count: int = 2,
) list[ostk.mathematics.geometry.d3.object.Ray]
get_rays_of_lateral_faces(
self: ostk.mathematics.geometry.d3.object.Pyramid,
ray_count: int = 0,
) list[ostk.mathematics.geometry.d3.object.Ray]
intersection_with(*args, **kwargs)

Overloaded function.

  1. intersection_with(self: ostk.mathematics.geometry.d3.object.Pyramid, sphere: ostk.mathematics.geometry.d3.object.Sphere, only_in_sight: bool = False, discretization_level: int = 40) -> ostk::mathematics::geometry::d3::Intersection

  2. intersection_with(self: ostk.mathematics.geometry.d3.object.Pyramid, ellipsoid: ostk.mathematics.geometry.d3.object.Ellipsoid, only_in_sight: bool = False, discretization_level: int = 40) -> ostk::mathematics::geometry::d3::Intersection

intersects(
self: ostk.mathematics.geometry.d3.object.Pyramid,
ellipsoid: ostk.mathematics.geometry.d3.object.Ellipsoid,
discretization_level: int = 40,
) bool
is_defined(self: ostk.mathematics.geometry.d3.object.Pyramid) 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
static undefined() ostk.mathematics.geometry.d3.object.Pyramid