MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.FaceNormals Class Reference
Inheritance diagram for meshlib.FaceNormals:

Public Member Functions

 FaceNormals (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 FaceNormals ()
 FaceNormals (meshlib.FaceNormals _other)
 FaceNormals (long size)
 FaceNormals (long size, meshlib.Vector3f val)
meshlib.FaceNormals assignFromAnother (meshlib.FaceNormals _other)
void assign (long count, meshlib.Vector3f val)
boolean opEqual (meshlib.FaceNormals b)
boolean opNotEqual (meshlib.FaceNormals b)
void clear ()
boolean empty ()
long size ()
long max_size ()
void resize (long newSize)
void resize (long newSize, meshlib.Vector3f t)
void resizeNoInit (long targetSize, meshlib.ReserveMode mode)
long capacity ()
void reserve (long capacity)
void shrink_to_fit ()
meshlib.Vector3f index (meshlib.FaceId i)
meshlib.Vector3f index_mut (meshlib.FaceId i)
void resizeWithReserve (long newSize)
void resizeWithReserve (long newSize, meshlib.Vector3f value)
void autoResizeSet (meshlib.FaceId pos, long len, meshlib.Vector3f val)
void autoResizeSet (meshlib.FaceId i, meshlib.Vector3f val)
meshlib.Vector3f autoResizeAt (meshlib.FaceId i)
void push_back_const_MR_Vector3f_ref (meshlib.Vector3f t)
void push_back_MR_Vector3f_rvalue_ref (meshlib.Vector3f t)
void pop_back ()
meshlib.Vector3f front ()
meshlib.Vector3f front_mut ()
meshlib.Vector3f back ()
meshlib.Vector3f back_mut ()
meshlib.FaceId beginId ()
meshlib.FaceId backId ()
meshlib.FaceId endId ()
meshlib.Vector3f data_mut ()
meshlib.Vector3f data ()
void swap (meshlib.FaceNormals b)
long heapBytes ()
meshlib.std_vector_MR_Vector3f_MR_Allocator_MR_Vector3f vec ()
void setVec (meshlib.std_vector_MR_Vector3f_MR_Allocator_MR_Vector3f value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

Vector<T> is indexed by size_t Generated from class MR::FaceNormals.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ FaceNormals() [1/5]

meshlib.FaceNormals.FaceNormals ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ FaceNormals() [2/5]

meshlib.FaceNormals.FaceNormals ( )

creates empty vector

Calls MR_FaceNormals_DefaultConstruct().

◆ FaceNormals() [3/5]

meshlib.FaceNormals.FaceNormals ( meshlib.FaceNormals _other)

Generated from constructor MR::FaceNormals::FaceNormals. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_FaceNormals_ConstructFromAnother().

◆ FaceNormals() [4/5]

meshlib.FaceNormals.FaceNormals ( long size)

creates a vector with size elements with default value Generated from constructor MR::FaceNormals::FaceNormals. The reference to the parameter size might be preserved in the constructed object.

Calls MR_FaceNormals_Construct().

◆ FaceNormals() [5/5]

meshlib.FaceNormals.FaceNormals ( long size,
meshlib.Vector3f val )

creates a vector with size elements with the given value Generated from constructor MR::FaceNormals::FaceNormals. The reference to the parameter size might be preserved in the constructed object. The reference to the parameter val might be preserved in the constructed object.

Calls MR_FaceNormals_Construct_fill().

Member Function Documentation

◆ assign()

void meshlib.FaceNormals.assign ( long count,
meshlib.Vector3f val )

replaces the contents with count copies of val Generated from method MR::FaceNormals::assign. The reference to things referred to by the parameter val (if any) might be preserved in this object.

Calls MR_FaceNormals_assign().

◆ assignFromAnother()

meshlib.FaceNormals meshlib.FaceNormals.assignFromAnother ( meshlib.FaceNormals _other)

Generated from method MR::FaceNormals::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_FaceNormals_AssignFromAnother().

◆ autoResizeAt()

meshlib.Vector3f meshlib.FaceNormals.autoResizeAt ( meshlib.FaceId i)

this accessor automatically adjusts the size of the vector Generated from method MR::FaceNormals::autoResizeAt.

Calls MR_FaceNormals_autoResizeAt().

◆ autoResizeSet() [1/2]

void meshlib.FaceNormals.autoResizeSet ( meshlib.FaceId i,
meshlib.Vector3f val )

sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::FaceNormals::autoResizeSet.

Calls MR_FaceNormals_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.FaceNormals.autoResizeSet ( meshlib.FaceId pos,
long len,
meshlib.Vector3f val )

sets elements [pos, pos+len) to the given value, adjusting the size of the vector to include new elements; the elements in between old size and pos are also set to val (for faster implementation) Generated from method MR::FaceNormals::autoResizeSet.

Calls MR_FaceNormals_autoResizeSet_3().

◆ back()

meshlib.Vector3f meshlib.FaceNormals.back ( )

Generated from method MR::FaceNormals::back. The reference to this object might be preserved in the return value.

Calls MR_FaceNormals_back().

◆ back_mut()

meshlib.Vector3f meshlib.FaceNormals.back_mut ( )

Generated from method MR::FaceNormals::back. The reference to this object might be preserved in the return value.

Calls MR_FaceNormals_back_mut().

◆ backId()

meshlib.FaceId meshlib.FaceNormals.backId ( )

returns the identifier of the back() element Generated from method MR::FaceNormals::backId.

Calls MR_FaceNormals_backId().

◆ beginId()

meshlib.FaceId meshlib.FaceNormals.beginId ( )

returns the identifier of the first element Generated from method MR::FaceNormals::beginId.

Calls MR_FaceNormals_beginId().

◆ capacity()

long meshlib.FaceNormals.capacity ( )

Generated from method MR::FaceNormals::capacity.

Calls MR_FaceNormals_capacity().

◆ clear()

void meshlib.FaceNormals.clear ( )

Generated from method MR::FaceNormals::clear.

Calls MR_FaceNormals_clear().

◆ data()

meshlib.Vector3f meshlib.FaceNormals.data ( )

Generated from method MR::FaceNormals::data. The reference to this object might be preserved in the return value.

Calls MR_FaceNormals_data().

◆ data_mut()

meshlib.Vector3f meshlib.FaceNormals.data_mut ( )

Generated from method MR::FaceNormals::data. The reference to this object might be preserved in the return value.

Calls MR_FaceNormals_data_mut().

◆ empty()

boolean meshlib.FaceNormals.empty ( )

Generated from method MR::FaceNormals::empty.

Calls MR_FaceNormals_empty().

◆ endId()

meshlib.FaceId meshlib.FaceNormals.endId ( )

returns backId() + 1 Generated from method MR::FaceNormals::endId.

Calls MR_FaceNormals_endId().

◆ front()

meshlib.Vector3f meshlib.FaceNormals.front ( )

Generated from method MR::FaceNormals::front. The reference to this object might be preserved in the return value.

Calls MR_FaceNormals_front().

◆ front_mut()

meshlib.Vector3f meshlib.FaceNormals.front_mut ( )

Generated from method MR::FaceNormals::front. The reference to this object might be preserved in the return value.

Calls MR_FaceNormals_front_mut().

◆ heapBytes()

long meshlib.FaceNormals.heapBytes ( )

returns the amount of memory this object occupies on heap Generated from method MR::FaceNormals::heapBytes.

Calls MR_FaceNormals_heapBytes().

◆ index()

meshlib.Vector3f meshlib.FaceNormals.index ( meshlib.FaceId i)

Generated from method MR::FaceNormals::operator[]. The reference to this object might be preserved in the return value.

Calls MR_FaceNormals_index().

◆ index_mut()

meshlib.Vector3f meshlib.FaceNormals.index_mut ( meshlib.FaceId i)

Generated from method MR::FaceNormals::operator[]. The reference to this object might be preserved in the return value.

Calls MR_FaceNormals_index_mut().

◆ max_size()

long meshlib.FaceNormals.max_size ( )

Generated from method MR::FaceNormals::max_size.

Calls MR_FaceNormals_max_size().

◆ opEqual()

boolean meshlib.FaceNormals.opEqual ( meshlib.FaceNormals b)

Generated from method MR::FaceNormals::operator==.

Calls MR_equal_MR_FaceNormals().

◆ opNotEqual()

boolean meshlib.FaceNormals.opNotEqual ( meshlib.FaceNormals b)

Generated from method MR::FaceNormals::operator!=.

Calls MR_not_equal_MR_FaceNormals().

◆ pop_back()

void meshlib.FaceNormals.pop_back ( )

Generated from method MR::FaceNormals::pop_back.

Calls MR_FaceNormals_pop_back().

◆ push_back_const_MR_Vector3f_ref()

void meshlib.FaceNormals.push_back_const_MR_Vector3f_ref ( meshlib.Vector3f t)

Generated from method MR::FaceNormals::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.

Calls MR_FaceNormals_push_back_const_MR_Vector3f_ref().

◆ push_back_MR_Vector3f_rvalue_ref()

void meshlib.FaceNormals.push_back_MR_Vector3f_rvalue_ref ( meshlib.Vector3f t)

Generated from method MR::FaceNormals::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.

Calls MR_FaceNormals_push_back_MR_Vector3f_rvalue_ref().

◆ reserve()

void meshlib.FaceNormals.reserve ( long capacity)

Generated from method MR::FaceNormals::reserve.

Calls MR_FaceNormals_reserve().

◆ resize() [1/2]

void meshlib.FaceNormals.resize ( long newSize)

Generated from method MR::FaceNormals::resize.

Calls MR_FaceNormals_resize_1().

◆ resize() [2/2]

void meshlib.FaceNormals.resize ( long newSize,
meshlib.Vector3f t )

Generated from method MR::FaceNormals::resize.

Calls MR_FaceNormals_resize_2().

◆ resizeNoInit()

void meshlib.FaceNormals.resizeNoInit ( long targetSize,
meshlib.ReserveMode mode )

resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor ) Generated from method MR::FaceNormals::resizeNoInit.

Calls MR_FaceNormals_resizeNoInit().

◆ resizeWithReserve() [1/2]

void meshlib.FaceNormals.resizeWithReserve ( long newSize)

same as resize(newSize), which already grows the capacity geometrically Generated from method MR::FaceNormals::resizeWithReserve.

Calls MR_FaceNormals_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.FaceNormals.resizeWithReserve ( long newSize,
meshlib.Vector3f value )

same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::FaceNormals::resizeWithReserve.

Calls MR_FaceNormals_resizeWithReserve_2().

◆ setVec()

void meshlib.FaceNormals.setVec ( meshlib.std_vector_MR_Vector3f_MR_Allocator_MR_Vector3f value)

The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::FaceNormals named vec. The reference to the parameter value might be preserved in this object in element vec.

Calls MR_FaceNormals_Set_vec().

◆ shrink_to_fit()

void meshlib.FaceNormals.shrink_to_fit ( )

Generated from method MR::FaceNormals::shrink_to_fit.

Calls MR_FaceNormals_shrink_to_fit().

◆ size()

long meshlib.FaceNormals.size ( )

Generated from method MR::FaceNormals::size.

Calls MR_FaceNormals_size().

◆ swap()

void meshlib.FaceNormals.swap ( meshlib.FaceNormals b)

Generated from method MR::FaceNormals::swap.

Calls MR_FaceNormals_swap().

◆ vec()

The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::FaceNormals named vec. The reference to this object might be preserved as the return value.

Calls MR_FaceNormals_Get_vec().


The documentation for this class was generated from the following file: