For Babelfish Release 1.11.3.13

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.11.3.13+877481945de6b4d2a3a561fea58e2494717cd263
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