AnyCAD Rapid API 2024
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 | SetValueByVec3 (long idx, Vector3 data) |
void | SetValue (long idx, float x, float y, float z) |
void | SetValueByXYZ (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) |
float | GetItem (long idx) |
void | Append (float val) |
void | AppendItem1 (float val) |
void | Append (float a, float b) |
void | AppendItem2 (float a, float b) |
void | Append (float a, float b, float c) |
void | AppendItem3 (float a, float b, float c) |
void | Append (float a, float b, float c, float d) |
void | AppendItem4 (float a, float b, float c, float d) |
long | GetBufferSize () |
long | GetItemCount () |
Public 成员函数 继承自 ArrayBuffer | |
boolean | Save (String fleName) |
Public 成员函数 继承自 AObject | |
boolean | IsEqual (AObject other) |
静态 Public 成员函数 | |
static ClassId | GetStaticClassId () |
static Float32Buffer | Cast (AObject obj) |
static Float32Buffer | Create (FloatList data) |
static Float32Buffer | CreateByArray (FloatList data) |
static Float32Buffer | Create (long count) |
<> 内容为Float32的内存空间
void Float32Buffer.Append2 | ( | Vector2 | val | ) |
在尾部添加Vector2f值
val | 值 |
void Float32Buffer.Append3 | ( | Vector3 | val | ) |
在尾部添加Vector3f数据
val | 值 |
|
static |
重载 ArrayBuffer .
|
static |
使用数据来构造Buffer
data | float数组 |
|
static |
构造函数
count | 元素的个数 |
ClassId Float32Buffer.GetClassId | ( | ) |
EnumDataType Float32Buffer.GetDataType | ( | ) |
|
static |
Vector3 Float32Buffer.GetValue | ( | long | idx | ) |
获取idx位置的值
idx | 索引 |
void Float32Buffer.Plus | ( | long | idx, |
Vector3 | v ) |
Add v to the exsiting value
idx<br> | |
v |
boolean Float32Buffer.SaveText | ( | String | fileName | ) |
保存为文本。用于做测试使用
fileName | 文件名 |
void Float32Buffer.SetValue | ( | long | idx, |
float | x, | ||
float | y, | ||
float | z ) |
设置idx位置的值
x | 值 |
y | 值 |
z | 值 |
void Float32Buffer.SetValue | ( | long | idx, |
Vector3 | data ) |
设置idx位置的值
data | 值 |