public class SbStructuredQuadrilateralMesh extends Inventor implements SafeDisposable
Defines a list of 3d vertices that can be accessed by (i,j) indices.
See also:
SoSFStructuredQuadrilateralMesh
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SbStructuredQuadrilateralMesh(long numCellsI,
long numCellsJ)
Constructor requiring the mesh number of cells in row and column.
|
Modifier and Type | Method and Description |
---|---|
boolean |
dispose()
Explicitly call this method to force object to dispose its unmanaged
resources.
|
long |
getNumCellsI()
Returns the mesh number of cell by row.
|
long |
getNumCellsJ()
Returns the mesh number of cell by column.
|
SbVec3f |
getVertex(long i,
long j)
Returns the vertex position.
|
boolean |
isDisposable()
Returns a boolean flag which indicates if it is safe to call
SafeDisposable.dispose() on the object. |
void |
setVertex(long i,
long j,
SbVec3f vertex)
Sets the position of a vertex.
|
getNativeResourceHandle
public SbStructuredQuadrilateralMesh(long numCellsI, long numCellsJ)
public boolean isDisposable()
SafeDisposable
SafeDisposable.dispose()
on the object.isDisposable
in interface SafeDisposable
true
if the object can be disposed in a safe mannerpublic boolean dispose()
Inventor
dispose
in interface SafeDisposable
dispose
in class Inventor
true
if this object native resources were successfully
disposed; false
if it was already disposed or no
native resources has been registered for this object.public long getNumCellsJ()
public void setVertex(long i, long j, SbVec3f vertex)
i
- column index of the vertex to modify. i must be in range [0-getNumCellsI()].
j
- row index of the vertex to modify. j must be in range [0-getNumCellsJ()].
vertex
- new value.public SbVec3f getVertex(long i, long j)
i
- column index of the vertex to modify. i must be in range [0-getNumCellsI()].
j
- row index of the vertex to modify. j must be in range [0-getNumCellsJ()].public long getNumCellsI()
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com