For Babelfish Release 1.12.4.4

ScoringShapeDimensionHitsScoringShape Method

Returns a boolean indicating if a bullet centered at (x, y), with scoring diameter, if that shot touches this ScoringShape.

Definition

Namespace: Scopos.BabelFish.DataModel.Definitions
Assembly: BabelFish (in BabelFish.dll) Version: 1.12.4.4+d2f3bdeedfc7a151494a378da1156fb690afa333
C#
public bool HitsScoringShape(
	float x,
	float y,
	float scoringDiameter
)

Parameters

x  Single
X coordinate of the center of the shot, measured in mm.
y  Single
Y coordinate of the center of the shot, measured in mm.
scoringDiameter  Single
Scoring diameter of the shot, measuredi in mm.

Return Value

Boolean

Exceptions

NotImplementedExceptionThrown if .Shape is not a CIRCLE.

See Also