ostk.mathematics.geometry.d3.object.Line

class Line(
self: ostk.mathematics.geometry.d3.object.Line,
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

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

points

undefined

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

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

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

Overloaded function.

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

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

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

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

is_defined(self: ostk.mathematics.geometry.d3.object.Line) 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 points(
first_point: ostk.mathematics.geometry.d3.object.Point,
second_point: ostk.mathematics.geometry.d3.object.Point,
) ostk.mathematics.geometry.d3.object.Line
static undefined() ostk.mathematics.geometry.d3.object.Line