Skip to main content

Module ffi

Module ffi 

Source

Structs§

ConstOutlinePtr
Shared struct for Outline pointers. This is needed because *const can’t be used directly in the CxxVector collection.
ConstRoadObjectPtr
Shared struct for RoadObject pointers. This is needed because *const can’t be used directly in the CxxVector collection.
Outline
OutlineCornerData
Shared struct for outline corner data. This is a flat representation of OutlineCorner to avoid a new opaque CXX type. height is 0.0 when has_height is false.
RoadObject
RoadObjectBook
RoadObjectType
Shared enum representing different types of road objects. This is needed to access the enum variant from Rust API since the C++ enum has an opaque implementation. The order of these variants must match with the order of the enum class defined in maliput C++ API.
StringPair
Shared struct for pairs in a properties map. This is needed because maps can’t be bound directly.

Functions§

Outline_corners
Outline_id
Outline_is_closed
Outline_num_corners
RoadObjectBook_FindByLane
RoadObjectBook_FindByType
RoadObjectBook_FindInRadius
RoadObjectBook_GetRoadObject
RoadObjectBook_RoadObjects
RoadObject_bounding_box
RoadObject_id
RoadObject_name
RoadObject_object_type
RoadObject_orientation
RoadObject_outlines
RoadObject_position_has_lane_position
RoadObject_position_inertial
RoadObject_position_lane_h
RoadObject_position_lane_id
RoadObject_position_lane_r
RoadObject_position_lane_s
RoadObject_properties
RoadObject_related_lanes
RoadObject_subtype

Type Aliases§

BoundingBox
InertialPosition
Rotation
StringWrapper
Vector3