|
ExtensionsGetCenterPosition Method |
Returns center position of a bounding box specified as Rect3D (contains double.NaN values when bounds is empty.
Namespace: Ab3dAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static Point3D GetCenterPosition(
this Rect3D bounds
)
Parameters
- bounds Rect3D
- bounding box as Rect3D
Return Value
Point3Dcenter position as Point3D (contains double.NaN values when bounds is empty)
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