Click or drag to resize

SubDCreateSubDBox Method (Box, Double, UInt32, UInt32, UInt32)

Creates a SubD box from a Box.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.36
Syntax
public static SubD CreateSubDBox(
	Box box,
	double edgeSharpness,
	uint faceCountX,
	uint faceCountY,
	uint faceCountZ
)

Parameters

box
Type: Rhino.GeometryBox
The box to build from. It must be valid.
edgeSharpness
Type: SystemDouble
The sharpness to give the edges where box sides meet. See CreateSubDBox(IEnumerablePoint3d, Double, UInt32, UInt32, UInt32).
faceCountX
Type: SystemUInt32
Number of faces in the box X direction.
faceCountY
Type: SystemUInt32
Number of faces in the box Y direction.
faceCountZ
Type: SystemUInt32
Number of faces in the box Z direction.

Return Value

Type: SubD
A new SubD box, or null if the input is not valid.
See Also