#include <Vector3D.h>
Public 成员函数 | |
Vector3D | Abs () const |
float | Length () const |
float | Length2D () const |
Vector3D | MakeSafeUnitVector (const float epsilon) const |
Vector3D | MakeUnitVector () const |
template<typename MSGPACK_OBJECT > | |
void | msgpack_object (MSGPACK_OBJECT *o, clmdep_msgpack::zone &sneaky_variable_that_shadows_z) const |
template<typename Packer > | |
void | msgpack_pack (Packer &pk) const |
void | msgpack_unpack (clmdep_msgpack::object const &o) |
bool | operator!= (const Vector3D &rhs) const |
Vector3D & | operator*= (float rhs) |
Vector3D & | operator+= (const Vector3D &rhs) |
Vector3D & | operator-= (const float f) |
Vector3D & | operator-= (const Vector3D &rhs) |
Vector3D & | operator/= (float rhs) |
Vector3D & | operator= (const FVector &rhs)=delete |
bool | operator== (const Vector3D &rhs) const |
float | SquaredLength () const |
float | SquaredLength2D () const |
Vector3D | ToCentimeters () const |
Return a Vector3D converted from meters to centimeters. | |
FVector | ToFVector () const |
Vector3D | ToMeters () const |
Return a Vector3D converted from centimeters to meters. | |
Vector3D ()=default | |
Vector3D (const FVector &v)=delete | |
These 2 methods are explicitly deleted to avoid creating them by other users, unlike locations, some vectors have units and some don't, by removing these methods we found several places were the conversion from cm to m was missing | |
Vector3D (float ix, float iy, float iz) | |
Public 属性 | |
float | x = 0.0f |
float | y = 0.0f |
float | z = 0.0f |
友元 | |
Vector3D | operator* (float lhs, Vector3D rhs) |
Vector3D | operator* (Vector3D lhs, float rhs) |
Vector3D | operator+ (Vector3D lhs, const Vector3D &rhs) |
Vector3D | operator- (Vector3D lhs, const Vector3D &rhs) |
Vector3D | operator/ (float lhs, Vector3D rhs) |
Vector3D | operator/ (Vector3D lhs, float rhs) |
在文件 geom/Vector3D.h 第 17 行定义.
|
default |
|
inline |
在文件 geom/Vector3D.h 第 36 行定义.
|
delete |
These 2 methods are explicitly deleted to avoid creating them by other users, unlike locations, some vectors have units and some don't, by removing these methods we found several places were the conversion from cm to m was missing
|
inline |
|
inline |
在文件 geom/Vector3D.h 第 49 行定义.
引用了 SquaredLength().
被这些函数引用 carla::traffic_manager::MotionPlanStage::CollisionHandling(), ARayCastLidar::ComputeDetection(), carla::geom::MeshFactory::ComputeEdgesForLanemark(), ARayCastLidar::ComputeIntensity(), carla::traffic_manager::CollisionStage::GetBoundary(), carla::geom::Math::GetVectorAngle(), carla::traffic_manager::TrafficLightStage::HandleNonSignalisedJunction(), MakeSafeUnitVector(), MakeUnitVector(), carla::road::Map::SDFToMesh(), carla::traffic_manager::MotionPlanStage::Update(), carla::traffic_manager::CollisionStage::Update() , 以及 carla::traffic_manager::LocalizationStage::Update().
|
inline |
|
inline |
在文件 geom/Vector3D.h 第 72 行定义.
引用了 Length(), Vector3D(), x, y , 以及 z.
被这些函数引用 carla::traffic_manager::DeviationCrossProduct(), carla::traffic_manager::DeviationDotProduct(), carla::traffic_manager::CollisionStage::GetBoundary(), carla::traffic_manager::CollisionStage::GetGeodesicBoundary(), carla::traffic_manager::CollisionStage::NegotiateCollision(), carla::client::detail::Client::SpawnActorWithParent() , 以及 carla::traffic_manager::MotionPlanStage::Update().
|
inline |
在文件 geom/Vector3D.h 第 65 行定义.
引用了 DEVELOPMENT_ASSERT, Length(), Vector3D(), x, y , 以及 z.
被这些函数引用 carla::road::Map::GetTreesTransform(), ARayCastLidar::PostprocessDetection() , 以及 carla::road::Map::SDFToMesh().
|
inline |
在文件 geom/Vector3D.h 第 203 行定义.
|
inline |
z
variable. https://github.com/msgpack/msgpack-c/issues/709 在文件 geom/Vector3D.h 第 194 行定义.
|
inline |
在文件 geom/Vector3D.h 第 198 行定义.
|
inline |
在文件 geom/Vector3D.h 第 155 行定义.
|
inline |
在文件 geom/Vector3D.h 第 113 行定义.
在文件 geom/Vector3D.h 第 82 行定义.
|
inline |
在文件 geom/Vector3D.h 第 106 行定义.
在文件 geom/Vector3D.h 第 94 行定义.
|
inline |
在文件 geom/Vector3D.h 第 130 行定义.
|
delete |
|
inline |
在文件 geom/Vector3D.h 第 151 行定义.
|
inline |
在文件 geom/Vector3D.h 第 45 行定义.
被这些函数引用 Length(), carla::traffic_manager::MotionPlanStage::SafeAfterJunction(), carla::traffic_manager::LocalizationStage::Update(), carla::nav::WalkerManager::Update(), carla::nav::Navigation::UpdateCrowd() , 以及 carla::traffic_manager::ALSM::UpdateIdleTime().
|
inline |
|
inline |
Return a Vector3D converted from meters to centimeters.
在文件 geom/Vector3D.h 第 177 行定义.
|
inline |
在文件 geom/Vector3D.h 第 181 行定义.
|
inline |
Return a Vector3D converted from centimeters to meters.
在文件 geom/Vector3D.h 第 172 行定义.
在文件 geom/Vector3D.h 第 125 行定义.
在文件 geom/Vector3D.h 第 120 行定义.
在文件 geom/Vector3D.h 第 89 行定义.
在文件 geom/Vector3D.h 第 101 行定义.
在文件 geom/Vector3D.h 第 142 行定义.
在文件 geom/Vector3D.h 第 137 行定义.
float carla::geom::Vector3D::x = 0.0f |
在文件 geom/Vector3D.h 第 24 行定义.
被这些函数引用 Abs(), CaService::AddBasicVehicleContainerHighFrequency(), carla::road::Map::AddElementToRtree(), carla::nav::Navigation::AddOrUpdateVehicle(), carla::nav::Navigation::AddWalker(), carla::rss::RssCheck::AppendRoutingTarget(), carla::road::element::DirectedPoint::ApplyLateralOffset(), carla::road::element::LaneCrossingCalculator::Calculate(), carla::traffic_manager::LocalizationStage::ComputeActionBuffer(), carla::traffic_manager::LocalizationStage::ComputeNextAction(), carla::geom::BoundingBox::Contains(), carla::geom::Math::Cross(), carla::traffic_manager::DeviationCrossProduct(), carla::traffic_manager::DeviationDotProduct(), carla::geom::Math::DistanceArcToPoint(), carla::geom::Math::DistanceSquared(), carla::geom::Math::DistanceSquared2D(), carla::road::element::GeometrySpiral::DistanceTo(), carla::road::element::GeometryPoly3::DistanceTo(), carla::road::element::GeometryParamPoly3::DistanceTo(), carla::geom::Math::Dot(), carla::geom::Math::Dot2D(), carla::road::Map::FilterJunctionsByPosition(), carla::road::Map::FilterRoadsByPosition(), carla::nav::Navigation::GetAgentRoute(), carla::road::Map::GetAllCrosswalkZones(), carla::traffic_manager::CollisionStage::GetBoundary(), carla::road::Map::GetClosestWaypointOnRoad(), carla::traffic_manager::CollisionStage::GetGeodesicBoundary(), carla::rss::RssCheck::GetGreenTrafficLightsOnRoute(), carla::geom::Transform::GetInverseMatrix(), carla::geom::BoundingBox::GetLocalVerticesNoRotation(), carla::geom::Transform::GetMatrix(), carla::nav::Navigation::GetPath(), carla::nav::Navigation::GetRandomLocation(), carla::rss::RssCheck::GetRoutingTargets(), carla::client::TrafficLight::GetStopWaypoints(), carla::traffic_manager::MotionPlanStage::GetThreePointCircleRadius(), carla::nav::Navigation::GetWalkerPosition(), carla::nav::Navigation::GetWalkerTransform(), carla::traffic_manager::InMemoryMap::GetWaypoint(), carla::traffic_manager::InMemoryMap::GetWaypointsInDelta(), carla::client::WalkerAIController::GoToLocation(), carla::nav::Navigation::HasVehicleNear(), carla::geom::Rotation::InverseRotateVector(), MakeSafeUnitVector(), MakeUnitVector(), msgpack_object(), msgpack_pack(), msgpack_unpack(), carla::traffic_manager::CollisionStage::NegotiateCollision(), carla::geom::Location::operator FVector(), carla::rpc::WalkerControl::operator FWalkerControl(), carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl(), carla::nav::WalkerEventVisitor::operator()(), operator*=(), operator+=(), operator-=(), operator-=(), operator/=(), carla::geom::operator<<(), operator==(), carla::road::element::GeometryLine::PosFromDist(), carla::road::element::GeometryArc::PosFromDist(), carla::road::element::GeometrySpiral::PosFromDist(), carla::road::element::GeometryPoly3::PosFromDist(), carla::road::element::GeometryParamPoly3::PosFromDist(), carla::ros2::ROS2::ProcessDataFromCollisionSensor(), carla::ros2::ROS2::ProcessDataFromIMU(), CarlaRecorderQuery::QueryInfo(), carla::client::Rotate(), carla::geom::Math::RotatePointOnOrigin2D(), carla::geom::Rotation::RotateVector(), carla::road::Map::SDFToMesh(), carla::traffic_manager::SimpleWaypoint::SetLeftWaypoint(), carla::traffic_manager::SimpleWaypoint::SetRightWaypoint(), carla::traffic_manager::InMemoryMap::SetUpSpatialTree(), carla::nav::Navigation::SetWalkerDirectTargetIndex(), carla::nav::Navigation::SetWalkerLookAt(), carla::geom::Simplification::Simplificate(), SquaredLength(), SquaredLength2D(), TEST(), TEST(), TEST(), TEST(), TEST(), ToFVector(), carla::geom::GeoLocation::Transform(), carla::traffic_manager::CollisionStage::Update(), carla::nav::WalkerManager::Update(), carla::traffic_manager::ALSM::UpdateData(), carla::traffic_manager::ALSM::UpdateUnregisteredActorsData(), carla::client::detail::WalkerNavigation::UpdateVehiclesInCrowd(), carla::sensor::data::LidarDetection::WriteDetection(), carla::sensor::data::SemanticLidarDetection::WriteDetection() , 以及 carla::sensor::data::LidarData::WritePointSync().
float carla::geom::Vector3D::y = 0.0f |
在文件 geom/Vector3D.h 第 26 行定义.
被这些函数引用 Abs(), CaService::AddBasicVehicleContainerHighFrequency(), carla::road::Map::AddElementToRtree(), carla::nav::Navigation::AddOrUpdateVehicle(), carla::nav::Navigation::AddWalker(), carla::rss::RssCheck::AppendRoutingTarget(), carla::road::element::DirectedPoint::ApplyLateralOffset(), carla::road::element::LaneCrossingCalculator::Calculate(), carla::traffic_manager::LocalizationStage::ComputeActionBuffer(), carla::traffic_manager::LocalizationStage::ComputeNextAction(), carla::road::MapBuilder::ComputeSignalTransform(), carla::road::Lane::ComputeTransform(), carla::geom::BoundingBox::Contains(), carla::geom::Math::Cross(), carla::traffic_manager::DeviationCrossProduct(), carla::traffic_manager::DeviationDotProduct(), carla::geom::Math::DistanceArcToPoint(), carla::geom::Math::DistanceSquared(), carla::geom::Math::DistanceSquared2D(), carla::road::element::GeometrySpiral::DistanceTo(), carla::road::element::GeometryPoly3::DistanceTo(), carla::road::element::GeometryParamPoly3::DistanceTo(), carla::geom::Math::Dot(), carla::geom::Math::Dot2D(), carla::road::Map::FilterJunctionsByPosition(), carla::road::Map::FilterRoadsByPosition(), carla::geom::MeshFactory::GenerateLaneMarksForCenterLine(), carla::nav::Navigation::GetAgentRoute(), carla::traffic_manager::CollisionStage::GetBoundary(), carla::road::Map::GetClosestWaypointOnRoad(), carla::road::Lane::GetCornerPositions(), carla::traffic_manager::CollisionStage::GetGeodesicBoundary(), carla::geom::Transform::GetInverseMatrix(), carla::geom::BoundingBox::GetLocalVerticesNoRotation(), carla::geom::Transform::GetMatrix(), carla::nav::Navigation::GetPath(), carla::nav::Navigation::GetRandomLocation(), carla::rss::RssCheck::GetRoutingTargets(), carla::traffic_manager::MotionPlanStage::GetThreePointCircleRadius(), carla::nav::Navigation::GetWalkerPosition(), carla::nav::Navigation::GetWalkerTransform(), carla::traffic_manager::InMemoryMap::GetWaypoint(), carla::traffic_manager::InMemoryMap::GetWaypointsInDelta(), carla::client::WalkerAIController::GoToLocation(), carla::nav::Navigation::HasVehicleNear(), carla::geom::Rotation::InverseRotateVector(), MakeSafeUnitVector(), MakeUnitVector(), msgpack_object(), msgpack_pack(), msgpack_unpack(), carla::geom::Location::operator FVector(), carla::rpc::WalkerControl::operator FWalkerControl(), carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl(), carla::nav::WalkerEventVisitor::operator()(), operator*=(), operator+=(), operator-=(), operator-=(), operator/=(), carla::geom::operator<<(), operator==(), carla::road::element::GeometryLine::PosFromDist(), carla::road::element::GeometryArc::PosFromDist(), carla::road::element::GeometrySpiral::PosFromDist(), carla::road::element::GeometryPoly3::PosFromDist(), carla::road::element::GeometryParamPoly3::PosFromDist(), carla::ros2::ROS2::ProcessDataFromCollisionSensor(), CarlaRecorderQuery::QueryInfo(), carla::client::Rotate(), carla::geom::Math::RotatePointOnOrigin2D(), carla::geom::Rotation::RotateVector(), carla::road::Map::SDFToMesh(), carla::traffic_manager::SimpleWaypoint::SetLeftWaypoint(), carla::traffic_manager::SimpleWaypoint::SetRightWaypoint(), carla::traffic_manager::InMemoryMap::SetUpSpatialTree(), carla::nav::Navigation::SetWalkerDirectTargetIndex(), carla::nav::Navigation::SetWalkerLookAt(), carla::geom::Simplification::Simplificate(), SquaredLength(), SquaredLength2D(), TEST(), TEST(), TEST(), TEST(), TEST(), ToFVector(), carla::geom::GeoLocation::Transform(), carla::nav::WalkerManager::Update(), carla::traffic_manager::ALSM::UpdateData(), carla::traffic_manager::ALSM::UpdateUnregisteredActorsData(), carla::client::detail::WalkerNavigation::UpdateVehiclesInCrowd(), carla::sensor::data::LidarDetection::WriteDetection(), carla::sensor::data::SemanticLidarDetection::WriteDetection() , 以及 carla::sensor::data::LidarData::WritePointSync().
float carla::geom::Vector3D::z = 0.0f |
在文件 geom/Vector3D.h 第 28 行定义.
被这些函数引用 Abs(), CaService::AddBasicVehicleContainerHighFrequency(), carla::road::Map::AddElementToRtree(), carla::nav::Navigation::AddOrUpdateVehicle(), carla::nav::Navigation::AddWalker(), carla::road::MapBuilder::ComputeSignalTransform(), carla::geom::BoundingBox::Contains(), carla::geom::Math::Cross(), carla::traffic_manager::DeviationDotProduct(), carla::geom::Math::DistanceSquared(), carla::geom::Math::Dot(), carla::nav::Navigation::GetAgentRoute(), carla::road::Map::GetClosestWaypointOnRoad(), carla::road::Lane::GetCornerPositions(), carla::road::Road::GetDirectedPointIn(), carla::geom::Transform::GetInverseMatrix(), carla::geom::BoundingBox::GetLocalVerticesNoRotation(), carla::geom::Transform::GetMatrix(), carla::nav::Navigation::GetPath(), carla::nav::Navigation::GetRandomLocation(), carla::rss::RssCheck::GetRoutingTargets(), carla::nav::Navigation::GetWalkerPosition(), carla::nav::Navigation::GetWalkerTransform(), carla::traffic_manager::InMemoryMap::GetWaypoint(), carla::traffic_manager::InMemoryMap::GetWaypointsInDelta(), carla::client::WalkerAIController::GoToLocation(), carla::nav::Navigation::HasVehicleNear(), carla::geom::Rotation::InverseRotateVector(), MakeSafeUnitVector(), MakeUnitVector(), carla::geom::MeshFactory::MergeAndSmooth(), msgpack_object(), msgpack_pack(), msgpack_unpack(), carla::geom::Location::operator FVector(), carla::rpc::WalkerControl::operator FWalkerControl(), carla::rpc::WheelPhysicsControl::operator FWheelPhysicsControl(), carla::nav::WalkerEventVisitor::operator()(), operator*=(), operator+=(), operator-=(), operator-=(), operator/=(), carla::geom::operator<<(), operator==(), carla::ros2::ROS2::ProcessDataFromCollisionSensor(), CarlaRecorderQuery::QueryInfo(), carla::client::Rotate(), carla::geom::Rotation::RotateVector(), carla::road::Map::SDFToMesh(), carla::traffic_manager::InMemoryMap::SetUpSpatialTree(), carla::nav::Navigation::SetWalkerDirectTargetIndex(), carla::nav::Navigation::SetWalkerLookAt(), carla::geom::Simplification::Simplificate(), SquaredLength(), TEST(), TEST(), TEST(), TEST(), TEST(), ToFVector(), carla::geom::GeoLocation::Transform(), carla::traffic_manager::MotionPlanStage::Update(), carla::traffic_manager::CollisionStage::Update(), carla::nav::WalkerManager::Update(), carla::traffic_manager::ALSM::UpdateData(), carla::traffic_manager::ALSM::UpdateUnregisteredActorsData(), carla::client::detail::WalkerNavigation::UpdateVehiclesInCrowd(), carla::sensor::data::LidarDetection::WriteDetection(), carla::sensor::data::SemanticLidarDetection::WriteDetection() , 以及 carla::sensor::data::LidarData::WritePointSync().