Public Member Functions | |
| GridSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| GridSettings () | |
| GridSettings (meshlib.Vector2i dim, meshlib.BMap_MR_VertId_size_t vertIds, meshlib.BMap_MR_UndirectedEdgeId_size_t uedgeIds, meshlib.BMap_MR_FaceId_size_t faceIds) | |
| GridSettings (meshlib.GridSettings _other) | |
| meshlib.GridSettings | assignFromAnother (meshlib.GridSettings _other) |
| meshlib.Vector2i | dim () |
| void | setDim (meshlib.Vector2i value) |
| meshlib.BMap_MR_VertId_size_t | vertIds () |
| void | setVertIds (meshlib.BMap_MR_VertId_size_t value) |
| meshlib.BMap_MR_UndirectedEdgeId_size_t | uedgeIds () |
| void | setUedgeIds (meshlib.BMap_MR_UndirectedEdgeId_size_t value) |
| meshlib.BMap_MR_FaceId_size_t | faceIds () |
| void | setFaceIds (meshlib.BMap_MR_FaceId_size_t 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) | |
settings defining regular grid, where each quadrangular cell is split on two triangles in one of two ways Generated from class MR::GridSettings.
Instances created here own their C++ objects, see CppObject.
| meshlib.GridSettings.GridSettings | ( | 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.
| meshlib.GridSettings.GridSettings | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_GridSettings_DefaultConstruct().
| meshlib.GridSettings.GridSettings | ( | meshlib.Vector2i | dim, |
| meshlib.BMap_MR_VertId_size_t | vertIds, | ||
| meshlib.BMap_MR_UndirectedEdgeId_size_t | uedgeIds, | ||
| meshlib.BMap_MR_FaceId_size_t | faceIds ) |
Constructs MR::GridSettings elementwise. The reference to the parameter dim might be preserved in the constructed object. The reference to the parameter vertIds might be preserved in the constructed object. The reference to the parameter uedgeIds might be preserved in the constructed object. The reference to the parameter faceIds might be preserved in the constructed object.
Calls MR_GridSettings_ConstructFrom().
| meshlib.GridSettings.GridSettings | ( | meshlib.GridSettings | _other | ) |
Generated from constructor MR::GridSettings::GridSettings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_GridSettings_ConstructFromAnother().
| meshlib.GridSettings meshlib.GridSettings.assignFromAnother | ( | meshlib.GridSettings | _other | ) |
Generated from method MR::GridSettings::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_GridSettings_AssignFromAnother().
| meshlib.Vector2i meshlib.GridSettings.dim | ( | ) |
the number of cells in X and Y dimensions; the number of vertices will be at most (X+1)*(Y+1) Returns a pointer to a member variable of class MR::GridSettings named dim. The reference to this object might be preserved as the return value.
Calls MR_GridSettings_Get_dim().
| meshlib.BMap_MR_FaceId_size_t meshlib.GridSettings.faceIds | ( | ) |
grid coordinates of lower-left vertex and triangle-type to faceId; all 3 vertices and all 3 edges of valid face must be valid as well; index is 2 * ( x + y * settings.dim.x ) + triType Returns a pointer to a member variable of class MR::GridSettings named faceIds. The reference to this object might be preserved as the return value.
Calls MR_GridSettings_Get_faceIds().
| void meshlib.GridSettings.setDim | ( | meshlib.Vector2i | value | ) |
the number of cells in X and Y dimensions; the number of vertices will be at most (X+1)*(Y+1) Modifies a member variable of class MR::GridSettings named dim. The reference to the parameter value might be preserved in this object in element dim.
Calls MR_GridSettings_Set_dim().
| void meshlib.GridSettings.setFaceIds | ( | meshlib.BMap_MR_FaceId_size_t | value | ) |
grid coordinates of lower-left vertex and triangle-type to faceId; all 3 vertices and all 3 edges of valid face must be valid as well; index is 2 * ( x + y * settings.dim.x ) + triType Modifies a member variable of class MR::GridSettings named faceIds. The reference to the parameter value might be preserved in this object in element faceIds.
Calls MR_GridSettings_Set_faceIds().
| void meshlib.GridSettings.setUedgeIds | ( | meshlib.BMap_MR_UndirectedEdgeId_size_t | value | ) |
grid coordinates of lower-left vertex and edge-type to edgeId with the origin in this vertex; both vertices of valid edge must be valid as well; index is 4 * ( x + y * ( settings.dim.x + 1 ) ) + edgeType Modifies a member variable of class MR::GridSettings named uedgeIds. The reference to the parameter value might be preserved in this object in element uedgeIds.
Calls MR_GridSettings_Set_uedgeIds().
| void meshlib.GridSettings.setVertIds | ( | meshlib.BMap_MR_VertId_size_t | value | ) |
grid coordinates to vertex Id; invalid vertex Id means that this vertex is missing in grid; index is x + y * ( settings.dim.x + 1 ) Modifies a member variable of class MR::GridSettings named vertIds. The reference to the parameter value might be preserved in this object in element vertIds.
Calls MR_GridSettings_Set_vertIds().
| meshlib.BMap_MR_UndirectedEdgeId_size_t meshlib.GridSettings.uedgeIds | ( | ) |
grid coordinates of lower-left vertex and edge-type to edgeId with the origin in this vertex; both vertices of valid edge must be valid as well; index is 4 * ( x + y * ( settings.dim.x + 1 ) ) + edgeType Returns a pointer to a member variable of class MR::GridSettings named uedgeIds. The reference to this object might be preserved as the return value.
Calls MR_GridSettings_Get_uedgeIds().
| meshlib.BMap_MR_VertId_size_t meshlib.GridSettings.vertIds | ( | ) |
grid coordinates to vertex Id; invalid vertex Id means that this vertex is missing in grid; index is x + y * ( settings.dim.x + 1 ) Returns a pointer to a member variable of class MR::GridSettings named vertIds. The reference to this object might be preserved as the return value.
Calls MR_GridSettings_Get_vertIds().