simulation.utils.geometry.point module

Basic point class which is compatible with all needed formats.

Summary

Exceptions:

InvalidPointOperationError

Classes:

Point

Point subclass of Vector which implements a point.

Reference

exception InvalidPointOperationError[source]

Bases: Exception

class Point(*args, **kwargs)[source]

Bases: simulation.utils.geometry.vector.Vector

Point subclass of Vector which implements a point.

Compared with its Superclass, this class imposes some restrictions to better fit the interpretation of a point in the mathematical sense.

Uses vector’s initializer.

to_geometry_msg() → geometry_msgs.msg._Point.Point[source]

To ROS geometry_msg.

Returns

This point as a geometry_msgs/Point

rotated(*args, **kwargs)[source]