示例#1
0
        /// <summary>
        /// Make a ScaledGimmickLocatorSet with random values and write it to an lba file.
        /// </summary>
        /// <param name="locatorCount">Number of locators to generate.</param>
        /// <param name="outputPath">Path of the file to write to.</param>
        private static void MakeRandomScaledLba(int locatorCount, string outputPath)
        {
            var locatorSet = GimmickLocatorSetExamples.Scaled.CreateRandomLocatorSet(locatorCount);

            GimmickLocatorSetExamples.WriteLocatorSet(locatorSet, outputPath);
        }
示例#2
0
        /// <summary>
        /// Make a PowerCutAreaGimmickLocatorSet with random values and write it to an lba file.
        /// </summary>
        /// <param name="locatorCount">Number of locators to generate.</param>
        /// <param name="outputPath">Path of the file to write to.</param>
        private static void MakeRandomPowerCutAreaLba(int locatorCount, string outputPath)
        {
            var locatorSet = GimmickLocatorSetExamples.PowerCutArea.CreateRandomLocatorSet(locatorCount);

            GimmickLocatorSetExamples.WriteLocatorSet(locatorSet, outputPath);
        }