Sets the hit data of a specified hit. It uses the part coordinate system relative to the current alignment.
Visual Basic |
---|
Public Function SetHit( _ ByVal index As Long, _ ByVal DataType As FHITDATA_TYPES, _ ByVal MeasOrTheo As FDATA_DATASET, _ ByVal X As Double, _ ByVal Y As Double, _ ByVal Z As Double _ ) As Boolean |
- index
- Integer representing the hit number.
- DataType
Enumerated data type that specifies what type of data you are setting. This can be Centroid, Vector, or BallCenter.Value Description FHITDATA_BALLCENTER FHITDATA_CENTROID FHITDATA_VECTOR - MeasOrTheo
Enumerated value that indentifies the portion of the hit getting set.Value Description FDATA_ALL FDATA_MEAS FDATA_TARG FDATA_THEO - X
- The X value for the point / vector being set.
- Y
- The Y value for the point / vector being set.
- Z
- The Z value for the point / vector being set.
Boolean value. This function returns TRUE if the hit or vector gets successfully set, FALSE otherwise.