Skip to main content

BinaryTopology

Classes

BinaryTopology

Heavily influenced by blender's internal mesh structure

Constants

FLOAT_32_SIZE : number

Byte size of FLOAT_32

UINT_32_SIZE : number

Byte size of UINT_32

NULL_POINTER : number

BinaryTopology

Heavily influenced by blender's internal mesh structure

Kind: global class
See: https://github.com/blender/blender/blob/master/source/blender/bmesh/bmesh_class.h

binaryTopology.byteSize ⇒ number

Total (approximate) size of this structure in memory, in bytes

Kind: instance property of BinaryTopology

binaryTopology.edges ⇒ BinaryElementPool

Edges are shared among faces, edges point to 2 unordered vertices

Kind: instance property of BinaryTopology

binaryTopology.loops ⇒ BinaryElementPool

Loops are corners of faces, a single vertex can be associated with many loops, one per connected face

Kind: instance property of BinaryTopology

binaryTopology.clear()

Clear the topology, removed all data

Kind: instance method of BinaryTopology

binaryTopology.vertex_read_coordinate(result, result_offset, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
resultArray.<number> | ArrayLike.<number> | Float32Array
result_offsetnumber
idnumbervertex ID

binaryTopology.vertex_write_coordinate(id, value, value_offset)

Kind: instance method of BinaryTopology

ParamType
idnumber
valueArray.<number>
value_offsetnumber

binaryTopology.vertex_read_normal(result, result_offset, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
resultArray.<number> | ArrayLike.<number> | Float32Array
result_offsetnumber
idnumbervertex ID

binaryTopology.vertex_write_normal(id, value, value_offset)

Kind: instance method of BinaryTopology

ParamType
idnumber
valueArray.<number>
value_offsetnumber

binaryTopology.vertex_read_edge(id) ⇒ number

Kind: instance method of BinaryTopology

ParamType
idnumber

binaryTopology.vertex_write_edge(edge_id, id)

Kind: instance method of BinaryTopology

ParamType
edge_idnumber
idnumber

binaryTopology.edge_read_vertex1(id) ⇒ number

Kind: instance method of BinaryTopology

ParamTypeDescription
idnumberedge ID

binaryTopology.edge_write_vertex1(value, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
valuenumber
idnumberedge ID

binaryTopology.edge_read_vertex2(id) ⇒ number

Kind: instance method of BinaryTopology

ParamTypeDescription
idnumberedge ID

binaryTopology.edge_write_vertex2(value, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
valuenumber
idnumberedge ID

binaryTopology.edge_read_loop(id) ⇒ number

Kind: instance method of BinaryTopology

ParamTypeDescription
idnumberedge ID

binaryTopology.edge_write_loop(value, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
valuenumber
idnumberedge ID

binaryTopology.edge_read_v1_disk_next(id) ⇒ number

Kind: instance method of BinaryTopology

ParamTypeDescription
idnumberedge ID

binaryTopology.edge_write_v1_disk_next(value, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
valuenumber
idnumberedge ID

binaryTopology.edge_read_v1_disk_prev(id) ⇒ number

Kind: instance method of BinaryTopology

ParamTypeDescription
idnumberedge ID

binaryTopology.edge_write_v1_disk_prev(value, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
valuenumber
idnumberedge ID

binaryTopology.edge_read_v2_disk_next(id) ⇒ number

Kind: instance method of BinaryTopology

ParamTypeDescription
idnumberedge ID

binaryTopology.edge_write_v2_disk_next(value, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
valuenumber
idnumberedge ID

binaryTopology.edge_read_v2_disk_prev(id) ⇒ number

Kind: instance method of BinaryTopology

ParamTypeDescription
idnumberedge ID

binaryTopology.edge_write_v2_disk_prev(value, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
valuenumber
idnumberedge ID

binaryTopology.loop_initialize(id)

Put loop into valid initial state, set all pointers to NULL

Kind: instance method of BinaryTopology

ParamType
idnumber

binaryTopology.loop_read_vertex(id) ⇒ number

Kind: instance method of BinaryTopology

ParamTypeDescription
idnumberloop ID

binaryTopology.loop_write_vertex(value, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
valuenumber
idnumberloop ID

binaryTopology.loop_read_edge(id) ⇒ number

Kind: instance method of BinaryTopology

ParamTypeDescription
idnumberloop ID

binaryTopology.loop_write_edge(value, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
valuenumber
idnumberloop ID

binaryTopology.loop_read_face(id) ⇒ number

Kind: instance method of BinaryTopology

ParamTypeDescription
idnumberloop ID

binaryTopology.loop_write_face(value, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
valuenumber
idnumberloop ID

binaryTopology.loop_read_radial_next(id) ⇒ number

Kind: instance method of BinaryTopology

ParamTypeDescription
idnumberloop ID

binaryTopology.loop_write_radial_next(value, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
valuenumber
idnumberloop ID

binaryTopology.loop_read_radial_prev(id) ⇒ number

Kind: instance method of BinaryTopology

ParamTypeDescription
idnumberloop ID

binaryTopology.loop_write_radial_prev(value, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
valuenumber
idnumberloop ID

binaryTopology.loop_read_next(id) ⇒ number

Kind: instance method of BinaryTopology

ParamTypeDescription
idnumberloop ID

binaryTopology.loop_write_next(value, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
valuenumber
idnumberloop ID

binaryTopology.loop_read_prev(id) ⇒ number

Kind: instance method of BinaryTopology

ParamTypeDescription
idnumberloop ID

binaryTopology.loop_write_prev(value, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
valuenumber
idnumberloop ID

binaryTopology.face_read_loop(id) ⇒ number

Kind: instance method of BinaryTopology

ParamTypeDescription
idnumberface ID

binaryTopology.face_write_loop(value, id)

Kind: instance method of BinaryTopology

ParamTypeDescription
valuenumber
idnumberface ID

FLOAT_32_SIZE : number

Byte size of FLOAT_32

Kind: global constant
Read only: true

UINT_32_SIZE : number

Byte size of UINT_32

Kind: global constant
Read only: true

NULL_POINTER : number

Kind: global constant
Read only: true