🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::VectorN< _Scalar, 3 > 模板类 参考

Public 类型

enum  { Dimension = 3 }
 
typedef VectorN< _Scalar, 3 > Self
 
typedef _Scalar Scalar
 

Public 成员函数

_Scalar at (size_t idx) const
 
_Scalar & at (size_t idx)
 
double normalize ()
 
Self normalized () const
 
double norm () const
 
double squaredNorm () const
 
Self cross (const Self &other) const
 
double dot (const Self &other) const
 
void setZero ()
 
Selfoperator*= (Scalar s)
 
Self operator* (Scalar s) const
 
Self operator- () const
 
Self operator- (const Self &other) const
 
Self operator+ (const Self &other) const
 
Selfoperator+= (const Self &other)
 
std::string toString () const
 
 _AST_DEF_VECTOR_METHOD (Scalar)
 

静态 Public 成员函数

static Self Zero ()
 
static Self UnitX ()
 
static Self UnitY ()
 
static Self UnitZ ()
 

Public 属性

_Scalar x_
 
_Scalar y_
 
_Scalar z_
 

该类的文档由以下文件生成: