import ResultPoint from '../ResultPoint' ; import BitMatrix from '../common/BitMatrix' ; import DetectorResult from '../common/DetectorResult' ; /**
 * <p>Extends  DetectorResult with more information specific to the Aztec format,
 * like the number of layers and whether it's compact.</p>
 *
 *  author Sean Owen
  export default class AztecDetectorResult extends DetectorResult { private compact : boolean ; private nbDatablocks : number ; private nbLayers : number ; public constructor ( bits , points , compact , nbDatablocks , nbLayers ) { super ( bits , points ) ; this . compact = compact ; this . nbDatablocks = nbDatablocks ; this . nbLayers = nbLayers ; } public getNbLayers ( ) { return this . nbLayers ; } public getNbDatablocks ( ) { return this . nbDatablocks ; } public isCompact ( ) { return this . compact ; } }