Geometry constructor
Geometry({
- Pose? center,
- Sphere? sphere,
- RectangularPrism? box,
- String? label,
- Capsule? capsule,
Implementation
factory Geometry({
Pose? center,
Sphere? sphere,
RectangularPrism? box,
$core.String? label,
Capsule? capsule,
}) {
final $result = create();
if (center != null) {
$result.center = center;
}
if (sphere != null) {
$result.sphere = sphere;
}
if (box != null) {
$result.box = box;
}
if (label != null) {
$result.label = label;
}
if (capsule != null) {
$result.capsule = capsule;
}
return $result;
}