|
|
override object | Clone () |
| |
|
override bool | Equals (object otherObject, EqualityIntent equalityIntent) |
| |
| override int | GetHashCode () |
| | Returns a hash code for this instance.
|
| |
| VectorD | GetPositionOfCenter () |
| | To avoid numerical errors, it was defined that the physical position (0 m; 0 m) is always at the center of one sampling point. For odd sampling, the geometrical center of the field is in the center of one sampling point. Thus this method returns (0 m; 0 m) in this case. In contrast, for even sampling the geometrical center is at the border between two sampling points and thus the center of the pixel to the top left of the center has the physical position (0 m; 0 m). Consequently, the geometrical center has the physical coordinate (- sampling distance / 2, - sampling distance / 2).
|
| |
|
| SamplingParameters () |
| | Default Constructor. Create a SamplingParameters with the default number of sampling points and the default sampling distance.
|
| |
| | SamplingParameters (SamplingParameters samplingParameters) |
| | Copy Constructor.
|
| |
| | SamplingParameters (Vector SamplingPoints, VectorD SamplingDistance) |
| | Creates SamplingParameters using given sampling points and distance.
|
| |
| override string | ToString () |
| | Converts a SamplingParameters object into a string.
|
| |
| string | ToString (PhysicalProperty physicalProperty) |
| | Converts a SamplingParameters object into a string using information about the physical property of sampling distance and diameter.
|
| |
|
|
VectorD | Diameter [get] |
| | Calculates the diameter of the sampled area described by the sampling parameters. This is SamplingPoints * SamplingDistance.
|
| |
|
FieldDimensions | Dimensionality [get] |
| | Gets the dimensionality (one- or two-dimensional) of the sampling parameters.
|
| |
|
long | NumberOfSamplingPoints [get] |
| | Gets the number of sampling points.
|
| |
|
VectorD | SamplingDistance [get, set] |
| | Sampling distance for x- and y-axis.
|
| |
|
double | SamplingDistanceX [get, set] |
| | Sampling distance for x-axis. If the sampling distance less or equal zero, then the sampling distance is set to Double.Epsilon.
|
| |
|
double | SamplingDistanceY [get, set] |
| | Sampling distance for y-axis. If the sampling distance less or equal zero, then the sampling distance is set to Double.Epsilon.
|
| |
|
Vector | SamplingPoints [get, set] |
| | Number of sampling points in x- and y-axis.
|
| |
|
int | SamplingPointsX [get, set] |
| | Number of sampling points in x-axis. If the number of sampling points is below 1, then 1 sampling point is assumed.
|
| |
|
int | SamplingPointsY [get, set] |
| | Number of sampling points in y-axis. If the number of sampling points is below 1, then 1 sampling point is assumed.
|
| |
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
This class contains parameters for proper sampling of a complex field.