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
Syntaxpublic static SubD CreateSubDBox(
Box box,
double edgeSharpness,
uint faceCountX,
uint faceCountY,
uint faceCountZ
)
Public Shared Function CreateSubDBox (
box As Box,
edgeSharpness As Double,
faceCountX As UInteger,
faceCountY As UInteger,
faceCountZ As UInteger
) As SubD
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:
SubDA new SubD box, or null if the input is not valid.
See Also