定义两个嵌套的命名空间:carla和geom。 更多...
#include <Vector2D.h>
Public 成员函数 | |
float | Length () const |
Vector2D | MakeUnitVector () const |
bool | operator!= (const Vector2D &rhs) const |
Vector2D & | operator*= (float rhs) |
Vector2D & | operator+= (const Vector2D &rhs) |
Vector2D & | operator-= (const Vector2D &rhs) |
Vector2D & | operator/= (float rhs) |
bool | operator== (const Vector2D &rhs) const |
float | SquaredLength () const |
Vector2D | ToCentimeters () const |
将向量从米转换为厘米 | |
FVector2D | ToFVector2D () const |
将向量转换为UE4引擎的FVector2D类型 | |
Vector2D | ToMeters () const |
将向量从厘米转换为米 | |
Vector2D ()=default | |
Vector2D (float ix, float iy) | |
定义一个默认构造函数。 | |
Public 属性 | |
float | x = 0.0f |
定义一个名为Vector2D的公共类,用于表示二维向量。 | |
float | y = 0.0f |
友元 | |
Vector2D | operator* (float lhs, Vector2D rhs) |
Vector2D | operator* (Vector2D lhs, float rhs) |
Vector2D | operator+ (Vector2D lhs, const Vector2D &rhs) |
Vector2D | operator- (Vector2D lhs, const Vector2D &rhs) |
Vector2D | operator/ (float lhs, Vector2D rhs) |
Vector2D | operator/ (Vector2D lhs, float rhs) |
定义两个嵌套的命名空间:carla和geom。
在文件 geom/Vector2D.h 第 17 行定义.
|
default |
|
inline |
定义一个默认构造函数。
在文件 geom/Vector2D.h 第 34 行定义.
|
inline |
|
inline |
|
inline |
在文件 geom/Vector2D.h 第 123 行定义.
|
inline |
在文件 geom/Vector2D.h 第 83 行定义.
在文件 geom/Vector2D.h 第 61 行定义.
在文件 geom/Vector2D.h 第 72 行定义.
|
inline |
在文件 geom/Vector2D.h 第 99 行定义.
|
inline |
在文件 geom/Vector2D.h 第 119 行定义.
|
inline |
|
inline |
将向量从米转换为厘米
在文件 geom/Vector2D.h 第 139 行定义.
|
inline |
|
inline |
将向量从厘米转换为米
在文件 geom/Vector2D.h 第 134 行定义.
在文件 geom/Vector2D.h 第 94 行定义.
在文件 geom/Vector2D.h 第 89 行定义.
在文件 geom/Vector2D.h 第 67 行定义.
在文件 geom/Vector2D.h 第 78 行定义.
在文件 geom/Vector2D.h 第 110 行定义.
在文件 geom/Vector2D.h 第 105 行定义.
float carla::geom::Vector2D::x = 0.0f |
定义一个名为Vector2D的公共类,用于表示二维向量。
在文件 geom/Vector2D.h 第 24 行定义.
被这些函数引用 MakeUnitVector(), operator*=(), operator+=(), operator-=(), operator/=(), operator==(), carla::road::element::GeometrySpiral::PosFromDist(), carla::road::element::GeometryPoly3::PosFromDist(), carla::road::element::GeometryParamPoly3::PosFromDist(), SquaredLength() , 以及 ToFVector2D().
float carla::geom::Vector2D::y = 0.0f |
在文件 geom/Vector2D.h 第 26 行定义.
被这些函数引用 MakeUnitVector(), operator*=(), operator+=(), operator-=(), operator/=(), operator==(), carla::road::element::GeometrySpiral::PosFromDist(), carla::road::element::GeometryPoly3::PosFromDist(), carla::road::element::GeometryParamPoly3::PosFromDist(), SquaredLength() , 以及 ToFVector2D().