SolidPrimitive class final
Defines box, sphere, cylinder, cone and prism. All shapes are defined to have their bounding boxes centered around 0,0,0.
shape_msgs/msg/SolidPrimitive
Constructors
- SolidPrimitive({int type = 0, Float64List? dimensions, Polygon? polygon})
-
SolidPrimitive.fromJson(Map<
String, Object?> json) -
factory
Properties
- dimensions → Float64List
-
At no point will dimensions have a length > 3.
At most 3 elements.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- polygon → Polygon
-
final
- rosType → String
-
The fully qualified ROS type name, e.g.
geometry_msgs/msg/Twist.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - The rosbridge JSON representation of this message.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- box → const int
- boxX → const int
- boxY → const int
- boxZ → const int
- cone → const int
- coneHeight → const int
- coneRadius → const int
- cylinder → const int
- cylinderHeight → const int
- cylinderRadius → const int
- prism → const int
- prismHeight → const int
- sphere → const int
- sphereRadius → const int