ostk.mathematics.geometry.d2.object.Line

class Line(
self: ostk.mathematics.geometry.d2.object.Line,
point: ostk.mathematics.geometry.d2.object.Point,
direction: numpy.ndarray[numpy.float64[2, 1]],
)

Bases: Object

Methods

apply_transformation

contains

Overloaded function.

distance_to

get_direction

get_origin

intersects

is_defined

points

undefined

class Format(self: ostk.mathematics.geometry.d2.Object.Format, value: int)

Bases: pybind11_object

Members:

Undefined

Standard

WKT

property name
apply_transformation(
self: ostk.mathematics.geometry.d2.object.Line,
transformation: ostk::mathematics::geometry::d2::Transformation,
) None
contains(*args, **kwargs)

Overloaded function.

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

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

distance_to(
self: ostk.mathematics.geometry.d2.object.Line,
point: ostk.mathematics.geometry.d2.object.Point,
) ostk.core.type.Real
get_direction(
self: ostk.mathematics.geometry.d2.object.Line,
) numpy.ndarray[numpy.float64[2, 1]]
get_origin(
self: ostk.mathematics.geometry.d2.object.Line,
) ostk.mathematics.geometry.d2.object.Point
intersects(
self: ostk.mathematics.geometry.d2.object.Line,
point: ostk.mathematics.geometry.d2.object.Point,
) bool
is_defined(self: ostk.mathematics.geometry.d2.object.Line) bool
static points(
first_point: ostk.mathematics.geometry.d2.object.Point,
second_point: ostk.mathematics.geometry.d2.object.Point,
) ostk.mathematics.geometry.d2.object.Line
static undefined() ostk.mathematics.geometry.d2.object.Line