ostk.mathematics.geometry.d3.object.Ray

class Ray(
self: ostk.mathematics.geometry.d3.object.Ray,
origin: ostk.mathematics.geometry.d3.object.Point,
direction: numpy.ndarray[numpy.float64[3, 1]],
)

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.

distance_to

get_direction

get_origin

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

undefined

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

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

distance_to(
self: ostk.mathematics.geometry.d3.object.Ray,
point: ostk.mathematics.geometry.d3.object.Point,
) ostk.core.type.Real
get_direction(
self: ostk.mathematics.geometry.d3.object.Ray,
) numpy.ndarray[numpy.float64[3, 1]]
get_origin(
self: ostk.mathematics.geometry.d3.object.Ray,
) ostk.mathematics.geometry.d3.object.Point
intersection_with(*args, **kwargs)

Overloaded function.

  1. intersection_with(self: ostk.mathematics.geometry.d3.object.Ray, plane: ostk::mathematics::geometry::d3::object::Plane) -> ostk::mathematics::geometry::d3::Intersection

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

  3. intersection_with(self: ostk.mathematics.geometry.d3.object.Ray, ellipsoid: ostk::mathematics::geometry::d3::object::Ellipsoid, only_in_sight: bool = False) -> ostk::mathematics::geometry::d3::Intersection

intersects(*args, **kwargs)

Overloaded function.

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

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

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

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

is_defined(self: ostk.mathematics.geometry.d3.object.Ray) 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.Ray