Class CadRuleScore
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
How one rule of a standard fared (Rules): the score, from 0 to 1, and the numbers it is made
of. The score is 1 - offenders / subjects, and 1 where the rule found nothing to look at: a rule about the text
heights of 40 words, 10 of them set at a height the standard does not list, scores 0.75.
public sealed class CadRuleScore
- Inheritance
-
CadRuleScore
- Inherited Members
Properties
- Offenders
Gets how many of them offend, each counted once however many violations it has.
- Score
Gets the score, from 0 (every subject offends) to 1 (none does, or there was nothing to check).
- Subjects
Gets how many things the rule looked at: objects, or layers and styles for the rules about the tables.
- Weight
Gets the weight the standard gives the rule in the total score.