Compute the zeroth and first moments of area of this polygon. Results will be zero if there are fewer than 3 vertices.
Namespace: Cognex.VisionAssembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.24.0.0
public void AreaMoments1(
out double sum,
out double sumX,
out double sumY
)
public void AreaMoments1(
out double sum,
out double sumX,
out double sumY
)
Public Sub AreaMoments1 (
<OutAttribute> ByRef sum As Double,
<OutAttribute> ByRef sumX As Double,
<OutAttribute> ByRef sumY As Double
)
Public Sub AreaMoments1 (
<OutAttribute> ByRef sum As Double,
<OutAttribute> ByRef sumX As Double,
<OutAttribute> ByRef sumY As Double
)
public:
void AreaMoments1(
[OutAttribute] double% sum,
[OutAttribute] double% sumX,
[OutAttribute] double% sumY
)
public:
void AreaMoments1(
[OutAttribute] double% sum,
[OutAttribute] double% sumX,
[OutAttribute] double% sumY
)
Parameters
- sum
- Type: System Double
Integral of the function 1 over the area of the polygon.
- sumX
- Type: System Double
Integral of the function x over the area of the polygon.
- sumY
- Type: System Double
Integral of the function y over the area of the polygon.
Compute the zeroth and first moments of area of this polygon. All results are zero if NumVertices is less than 3.