ostk.mathematics.geometry.d2.object.Segment¶
- class Segment(
- self: ostk.mathematics.geometry.d2.object.Segment,
- start_point: ostk.mathematics.geometry.d2.object.Point,
- end_point: ostk.mathematics.geometry.d2.object.Point,
- start_point: ostk.mathematics.geometry.d2.object.Point,
Bases:
Object
Methods
Overloaded function.
- 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.Segment,
- transformation: ostk::mathematics::geometry::d2::Transformation,
- distance_to(*args, **kwargs)¶
Overloaded function.
distance_to(self: ostk.mathematics.geometry.d2.object.Segment, point: ostk.mathematics.geometry.d2.object.Point) -> ostk.core.type.Real
distance_to(self: ostk.mathematics.geometry.d2.object.Segment, point_set: ostk.mathematics.geometry.d2.object.PointSet) -> ostk.core.type.Real
- get_center( ) ostk.mathematics.geometry.d2.object.Point ¶
- get_direction( ) numpy.ndarray[numpy.float64[2, 1]] ¶
- get_first_point( ) ostk.mathematics.geometry.d2.object.Point ¶
- get_length( ) ostk.core.type.Real ¶
- get_second_point( ) ostk.mathematics.geometry.d2.object.Point ¶
- is_defined(self: ostk.mathematics.geometry.d2.object.Segment) bool ¶
- is_degenerate(self: ostk.mathematics.geometry.d2.object.Segment) bool ¶
- to_line( ) ostk.mathematics.geometry.d2.object.Line ¶
- to_string(
- self: ostk.mathematics.geometry.d2.object.Segment,
- format: ostk.mathematics.geometry.d2.Object.Format = <Format.Standard: 1>,
- precision: ostk.core.type.Integer = Undefined,
- format: ostk.mathematics.geometry.d2.Object.Format = <Format.Standard: 1>,
- static undefined() ostk.mathematics.geometry.d2.object.Segment ¶