PbDefinedValueIsDefined Method |
The default instance of PbDefinedValue always returns TRUE.
Namespace: OIV.MeshViz.DataAssembly: OIV.MeshViz (in OIV.MeshViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public abstract bool IsDefined(
float nodeValue,
int nodeIndex,
int setIndex
)
Public MustOverride Function IsDefined (
nodeValue As Single,
nodeIndex As Integer,
setIndex As Integer
) As Boolean
public:
virtual bool IsDefined(
float nodeValue,
int nodeIndex,
int setIndex
) abstract
abstract IsDefined :
nodeValue : float32 *
nodeIndex : int *
setIndex : int -> bool
Parameters
- nodeValue
- Type: SystemSingle
- nodeIndex
- Type: SystemInt32
- setIndex
- Type: SystemInt32
Return Value
Type:
BooleanRemarks
This operator should be overridden (by subclassing) when
the application needs to manage undefined values on mesh nodes.
This method is used by MeshViz (specifically in PbMesh2D::GetFaultMesh())
to determine if the node specified by the following:
- value is @I node_value @i
- index in the mesh is @I node_index @i
- set index in the mesh is @I set_index @i
should be considered defined or undefined. false is returned to indicate
"undefined", true otherwise.
See Also