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

Public Member Functions

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
EnumDataType GetDataType ()
 
boolean Save (String fleName)
 

Detailed Description

Template class for array buffer.

Member Function Documentation

◆ GetBufferSize()

long Float32TypedBuffer.GetBufferSize ( )

Get the buffer size of Byte.

Returns
the size.

Reimplemented from ArrayBuffer.

◆ GetItemCount()

long Float32TypedBuffer.GetItemCount ( )

Get the item number.

Returns
the number

Reimplemented from ArrayBuffer.