DracoImage.Depth

DracoImage.Depth property

Gets the depth of the image. Calculated as the difference between maximum and minimum values of the Z coordinate amongst all vertices. Minimal allowed depth is 0.

public override int Depth { get; }

Property Value

The depth of the image.

Examples

Prints the depth of the DRACO drawing.

using (DracoImage drcImage = (DracoImage)Image.Load(fileName))
{
    System.Console.WriteLine("The depth of the image is {0}", drcImage.Depth);
}

See Also