AnyCAD Rapid API 2023
Help you to create a better world!
Float32Buffer Class Reference
Inheritance diagram for Float32Buffer:
Float32TypedBuffer ArrayBuffer

Public Member Functions

 Float32Buffer (long itemCount)
 
 Float32Buffer (FloatList data)
 
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 AddVector3 (long idx, Vector3 v)
 
- Public Member Functions inherited from Float32TypedBuffer
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 ()
 
FloatList GetData ()
 
- Public Member Functions inherited from ArrayBuffer
boolean Save (String fleName)
 

Static Public Member Functions

static Float32Buffer Create (FloatList data)
 

Detailed Description

<> The float32 buffer

Member Function Documentation

◆ GetDataType()

EnumDataType Float32Buffer.GetDataType ( )

Get the data type.

Returns
the type.

Reimplemented from ArrayBuffer.