SpecifiedCoverageGrid Constructor (ReferenceFrame, IListPoint, IListScalar) |
Initializes the grid with the specified parameters.
Namespace:
AGI.Foundation.Geometry.Discrete
Assembly:
AGI.Foundation.Spatial (in AGI.Foundation.Spatial.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic SpecifiedCoverageGrid(
ReferenceFrame referenceFrame,
IList<Point> gridPoints,
IList<Scalar> weights
)
Public Sub New (
referenceFrame As ReferenceFrame,
gridPoints As IList(Of Point),
weights As IList(Of Scalar)
)
public:
SpecifiedCoverageGrid(
ReferenceFrame^ referenceFrame,
IList<Point^>^ gridPoints,
IList<Scalar^>^ weights
)
new :
referenceFrame : ReferenceFrame *
gridPoints : IList<Point> *
weights : IList<Scalar> -> SpecifiedCoverageGridParameters
- referenceFrame
- Type: AGI.Foundation.GeometryReferenceFrame
The reference frame used for the grid points. - gridPoints
- Type: System.Collections.GenericIListPoint
A list of Points that represent the grid points. - weights
- Type: System.Collections.GenericIListScalar
A list of weights that are to be used with the points.
Exceptions| Exception | Condition |
|---|
| ArgumentException | Thrown if the number of grid points does not equal the number of weights. |
| ArgumentNullException | Thrown if any of the parameters are . |
RemarksNote that the number of grid points must be equal to the number of weights. The weights are paired with the grid points in order.
See Also