コード例 #1
0
        /// <summary>
        /// Returns the crossproduct of all interpolating points of the curve array.
        /// </summary>
        /// <returns></returns>
        public double CrossProduct()
        {
            xyArray A = getxyArray();

            return(A.cross());
        }
コード例 #2
0
        /// <summary>
        /// Gets the area of a CurveArray. This is valid, if the array is closed and have no windings.
        /// </summary>
        /// <returns>Value of Area</returns>
        public double Area()
        {
            xyArray a = getxyArray();

            return(a.cross());
        }