ostk.mathematics.geometry.d2.Transformation

class Transformation(
self: ostk.mathematics.geometry.d2.Transformation,
matrix: numpy.ndarray[numpy.float64[3, 3]],
)

Bases: pybind11_object

Methods

apply_to

Overloaded function.

get_inverse

get_matrix

get_type

identity

is_defined

rotation

rotation_around

string_from_type

translation

type_of_matrix

undefined

class Type(self: ostk.mathematics.geometry.d2.Transformation.Type, value: int)

Bases: pybind11_object

Members:

Undefined

Identity

Translation

Rotation

Scaling

Reflection

Shear

Affine

property name
apply_to(*args, **kwargs)

Overloaded function.

  1. apply_to(self: ostk.mathematics.geometry.d2.Transformation, point: ostk.mathematics.geometry.d2.object.Point) -> ostk.mathematics.geometry.d2.object.Point

  2. apply_to(self: ostk.mathematics.geometry.d2.Transformation, vector: numpy.ndarray[numpy.float64[2, 1]]) -> numpy.ndarray[numpy.float64[2, 1]]

get_inverse(
self: ostk.mathematics.geometry.d2.Transformation,
) ostk.mathematics.geometry.d2.Transformation
get_matrix(
self: ostk.mathematics.geometry.d2.Transformation,
) numpy.ndarray[numpy.float64[3, 3]]
get_type(
self: ostk.mathematics.geometry.d2.Transformation,
) ostk::mathematics::geometry::d2::Transformation::Type
static identity() ostk.mathematics.geometry.d2.Transformation
is_defined(self: ostk.mathematics.geometry.d2.Transformation) bool
static rotation(
rotation_angle: ostk::mathematics::geometry::Angle,
) ostk.mathematics.geometry.d2.Transformation
static rotation_around(
point: ostk.mathematics.geometry.d2.object.Point,
rotation_angle: ostk::mathematics::geometry::Angle,
) ostk.mathematics.geometry.d2.Transformation
static string_from_type(
type: ostk::mathematics::geometry::d2::Transformation::Type,
) ostk.core.type.String
static translation(
transaction_vector: numpy.ndarray[numpy.float64[2, 1]],
) ostk.mathematics.geometry.d2.Transformation
static type_of_matrix(
matrix: numpy.ndarray[numpy.float64[3, 3]],
) ostk::mathematics::geometry::d2::Transformation::Type
static undefined() ostk.mathematics.geometry.d2.Transformation