diff --git a/Docs/python_api.md b/Docs/python_api.md index 692d0c8ad..be121def9 100644 --- a/Docs/python_api.md +++ b/Docs/python_api.md @@ -2390,15 +2390,15 @@ Y-axis value. - **Parameters:** - `x` (_float_) - `y` (_float_) -- **squared_length**(**self**) -Computes the squared length of the vector. - - **Return:** _float_ -- **length**(**self**) -Computes the length of the vector. - - **Return:** _float_ -- **make_unit_vector**(**self**) -Returns a vector with the same direction and unitary length. - - **Return:** _[carla.Vector2D](#carla.Vector2D)_ +- **length**(**self**) +Computes the length of the vector. + - **Return:** _float_ +- **make_unit_vector**(**self**) +Returns a vector with the same direction and unitary length. + - **Return:** _[carla.Vector3D](#carla.Vector3D)_ +- **squared_length**(**self**) +Computes the squared length of the vector. + - **Return:** _float_ ##### Dunder methods - **\__add__**(**self**, **other**=[carla.Vector2D](#carla.Vector2D)) @@ -2434,50 +2434,50 @@ Z-axis value. - `x` (_float_) - `y` (_float_) - `z` (_float_) -- **length**(**self**) -Computes the length of the vector. - - **Return:** _float_ -- **squared_length**(**self**) -Computes the squared length of the vector. - - **Return:** _float_ -- **make_unit_vector**(**self**) -Returns a vector with the same direction and unitary length. - - **Return:** _[carla.Vector3D](#carla.Vector3D)_ -- **dot**(**self**, **vector**) -Computes the dot product between two vectors. +- **cross**(**self**, **vector**) +Computes the cross product between two vectors. - **Parameters:** - - `vector` (_[carla.Vector3D](#carla.Vector3D)_) - - **Return:** _float_ -- **distance**(**self**, **vector**) -Computes the distance between two vectors. + - `vector` (_[carla.Vector3D](#carla.Vector3D)_) + - **Return:** _[carla.Vector3D](#carla.Vector3D)_ +- **distance**(**self**, **vector**) +Computes the distance between two vectors. - **Parameters:** - - `vector` (_[carla.Vector3D](#carla.Vector3D)_) - - **Return:** _float_ -- **distance_squared**(**self**, **vector**) -Computes the squared distance between two vectors. + - `vector` (_[carla.Vector3D](#carla.Vector3D)_) + - **Return:** _float_ +- **distance_2d**(**self**, **vector**) +Computes the 2-dimensional distance between two vectors. - **Parameters:** - - `vector` (_[carla.Vector3D](#carla.Vector3D)_) - - **Return:** _float_ -- **dot_2d**(**self**, **vector**) -Computes the 2-dimensional dot product between two vectors. + - `vector` (_[carla.Vector3D](#carla.Vector3D)_) + - **Return:** _float_ +- **distance_squared**(**self**, **vector**) +Computes the squared distance between two vectors. - **Parameters:** - - `vector` (_[carla.Vector3D](#carla.Vector3D)_) - - **Return:** _float_ -- **distance_2d**(**self**, **vector**) -Computes the 2-dimensional distance between two vectors. + - `vector` (_[carla.Vector3D](#carla.Vector3D)_) + - **Return:** _float_ +- **distance_squared_2d**(**self**, **vector**) +Computes the 2-dimensional squared distance between two vectors. - **Parameters:** - - `vector` (_[carla.Vector3D](#carla.Vector3D)_) - - **Return:** _float_ -- **distance_squared_2d**(**self**, **vector**) -Computes the 2-dimensional squared distance between two vectors. + - `vector` (_[carla.Vector3D](#carla.Vector3D)_) + - **Return:** _float_ +- **dot**(**self**, **vector**) +Computes the dot product between two vectors. - **Parameters:** - - `vector` (_[carla.Vector3D](#carla.Vector3D)_) - - **Return:** _float_ -- **get_vector_angle**(**self**, **vector**) -Computes the angle between two vectors. + - `vector` (_[carla.Vector3D](#carla.Vector3D)_) + - **Return:** _float_ +- **dot_2d**(**self**, **vector**) +Computes the 2-dimensional dot product between two vectors. - **Parameters:** - - `vector` (_[carla.Vector3D](#carla.Vector3D)_) - - **Return:** _float_ + - `vector` (_[carla.Vector3D](#carla.Vector3D)_) + - **Return:** _float_ +- **length**(**self**) +Computes the length of the vector. + - **Return:** _float_ +- **make_unit_vector**(**self**) +Returns a vector with the same direction and unitary length. + - **Return:** _[carla.Vector3D](#carla.Vector3D)_ +- **squared_length**(**self**) +Computes the squared length of the vector. + - **Return:** _float_ ##### Dunder methods - **\__abs__**(**self**) @@ -3740,90 +3740,6 @@ print("R lane marking change: " + str(waypoint.right_lane_marking.lane_change)) -