Click or drag to resize
AB4D logo

ExtensionsGetDiagonalLength Method

Returns a length of a Rect3D diagonal.

Namespace: Ab3d
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public static double GetDiagonalLength(
	this Rect3D bounds
)

Parameters

bounds  Rect3D
bounding box as Rect3D

Return Value

Double
length of a Rect3D diagonal

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Rect3D. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also