The classes used to define the reticle image.
Key elements of the reticle definition
The main class that contains the reticle definition
is ReticleDefinition
.
You can either create the reticle programmatically or load it from the reticle definition file.
The reticle image is defined by adding
ReticleElement
s
to ReticleDefinition.Elements
collection.
You can also define BDC (bullet drop compensator)
point to display the distances that matches the specified mark on the reticle.
Add BDC points to
ReticleDefinition.BulletDropCompensator
.
Coordinate System
The reticle uses angular coordinate system, i.e. position and size of each element is defined in mils, minutes of angle or other angular units.
You define two parameters for the reticle: the size (which is, in other words, the field of view) and the offset of zero point from top-left corner of the retcile.
The zero point will have coordinates (0, 0).
X coordiante is for windage (i.e. drifting the projectile left or right from the line of sight due to wind or precession). A negative value means drift to left, a positive value means drift to right.
Y coordinate is for projectile drop (i.e. moving the projectile via ballistic trajectory). Positive value means that the projectile is above the line of sight and the negative value means that the projectile is below the line of sight.
Refer to image below for visualization of the reticle coordinate system
See also the definition of MilDot reticle for 10x scope in the library sources
Classes | |
The information about bullet drop compensator point |
|
Collection of ReticleBulletDropCompensatorPoint |
|
A circle |
|
The base class for reticle collections |
|
The definition of a reticle |
|
An element of a reticle |
|
A collection of reticle elements |
|
A line |
|
Reticle path. |
|
The base class for path elements |
|
Arc path element |
|
LineTo path element |
|
MoveTo path element |
|
A collection of reticle path elements |
|
A position on the reticle |
|
Rectangle |
|
Text |
Enumerations | |
The type of the |
|
The type of a reticle path element |
|
Text anchor position |
Tags | |
The section describes the reticle definition file format |