AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
ClassId | GetClassId () |
Float32Buffer (long itemCount) | |
Float32Buffer (FloatList data) | |
Float32Buffer | Clone () |
EnumDataType | GetDataType () |
Vector3 | GetValue (long idx) |
void | SetValue (long idx, Vector3 data) |
void | SetValue (long idx, float x, float y, float z) |
void | Append3 (Vector3 val) |
void | Append2 (Vector2 val) |
void | Plus (long idx, Vector3 v) |
boolean | SaveText (String fileName) |
Public 成员函数 继承自 Float32TypedBuffer | |
FloatList | GetData () |
void | Reserve (long count) |
void | Set (long idx, float val) |
float | Get (long idx) |
void | Append (float val) |
void | Append (float a, float b) |
void | Append (float a, float b, float c) |
void | Append (float a, float b, float c, float d) |
long | GetBufferSize () |
long | GetItemCount () |
Public 成员函数 继承自 ArrayBuffer | |
ClassId | GetClassId () |
long | GetBufferSize () |
long | GetItemCount () |
EnumDataType | GetDataType () |
boolean | Save (String fleName) |
Public 成员函数 继承自 AObject | |
ClassId | GetClassId () |
boolean | IsEqual (AObject other) |
静态 Public 成员函数 | |
static ClassId | GetStaticClassId () |
static Float32Buffer | Cast (AObject obj) |
static Float32Buffer | Create (FloatList data) |
static ClassId | GetStaticClassId () |
static ArrayBuffer | Cast (AObject obj) |
static ClassId | GetStaticClassId () |
<> 内容为Float32的内存空间
void Float32Buffer.Append2 | ( | Vector2 | val | ) |
在尾部添加Vector2f值
val | 值 |
void Float32Buffer.Append3 | ( | Vector3 | val | ) |
在尾部添加Vector3f数据
val | 值 |
|
static |
重载 ArrayBuffer .
|
static |
使用数据来构造Buffer
data | float数组 |
ClassId Float32Buffer.GetClassId | ( | ) |
EnumDataType Float32Buffer.GetDataType | ( | ) |
|
static |
void Float32Buffer.Plus | ( | long | idx, |
Vector3 | v | ||
) |
Add v to the exsiting value
idx | |
v |
boolean Float32Buffer.SaveText | ( | String | fileName | ) |
保存为文本。用于做测试使用
fileName | 文件名 |