Beispiel #1
0
        public static float BoundingBoxArea(IList <Vector2> splinePoints)
        {
            var bounds = MeshHelper.GetBounds(splinePoints);

            return((bounds.z - bounds.x) * (bounds.w - bounds.y));
        }