Simply3DScan
Resolution.cs
Go to the documentation of this file.
1 using System;
2 using PostSharp.Patterns.Contracts;
3 
4 namespace Configuration
5 {
9  [Serializable]
10  public class Resolution
11  {
18  public Precision Precision { get; set; }
25  public float Degrees { get; set; }
32  [StrictlyPositive]
33  public int Steps { get; set; }
40  [StrictlyPositive]
41  public int SweepSteps { get; set; }
42 
50  public Resolution(Precision precision, float degrees, int steps, int sweepSteps )
51  {
52  this.Precision = precision;
53  this.Degrees = degrees;
54  this.Steps = steps;
55  this.SweepSteps = sweepSteps;
56  }
57 
61  public Resolution()
62  {
63  }
64  }
65 }
Configuration of a scan resulution
Definition: Resolution.cs:10
Resolution(Precision precision, float degrees, int steps, int sweepSteps)
Initializes a new instance of the Resolution class.
Definition: Resolution.cs:50
int Steps
Gets or sets the steps.
Definition: Resolution.cs:33
Resolution()
Initializes a new instance of the Resolution class.
Definition: Resolution.cs:61
int SweepSteps
Gets or sets the sweep steps.
Definition: Resolution.cs:41
Precision
Information about the precision of a scan
Definition: Precision.cs:6
float Degrees
Gets or sets the degrees.
Definition: Resolution.cs:25