For Babelfish Release 1.12.3.10

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.3.10+306d87ab71d1aa659d07c082495f8eddb091ca7b
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