RhinoCommon API
new_releases
RhinoCommon documentation has a new look. The old site can still be found here.
play_arrow
Rhino
play_arrow
Rhino.ApplicationSettings
play_arrow
Rhino.Collections
play_arrow
Rhino.Commands
play_arrow
Rhino.Display
play_arrow
Rhino.DocObjects
play_arrow
Rhino.DocObjects.Custom
play_arrow
Rhino.DocObjects.SnapShots
play_arrow
Rhino.DocObjects.Tables
play_arrow
Rhino.FileIO
play_arrow
Rhino.Geometry
play_arrow
Rhino.Geometry.Collections
play_arrow
Rhino.Geometry.Intersect
play_arrow
Rhino.Geometry.MeshRefinements
play_arrow
Rhino.Geometry.Morphs
play_arrow
Rhino.Input
play_arrow
Rhino.Input.Custom
play_arrow
Rhino.NodeInCode
play_arrow
Rhino.ObjectManager
play_arrow
Rhino.PlugIns
play_arrow
Rhino.Render
play_arrow
Rhino.Render.ChangeQueue
play_arrow
Rhino.Render.ChildSlotNames
play_arrow
Rhino.Render.CustomRenderMeshes
play_arrow
Rhino.Render.DataSources
play_arrow
Rhino.Render.Fields
play_arrow
Rhino.Render.ParameterNames
play_arrow
Rhino.Render.PostEffects
play_arrow
Rhino.Render.UI
play_arrow
Rhino.Runtime
play_arrow
Rhino.Runtime.InProcess
play_arrow
Rhino.Runtime.InteropWrappers
play_arrow
Rhino.Runtime.Notifications
play_arrow
Rhino.Runtime.RhinoAccounts
play_arrow
Rhino.UI
play_arrow
Rhino.UI.Controls
play_arrow
Rhino.UI.Controls.DataSource
play_arrow
Rhino.UI.Controls.ThumbnailUI
play_arrow
Rhino.UI.Controls.Thumbnaillist
play_arrow
Rhino.UI.Gumball
play_arrow
dotnetstart
home
/
Rhino.Geometry
/
SubDPatchStyle

SubDPatchStyle enum

SubD::PatchStyle identifies the style of patch used to fill holes.

Derived Classes:

Namespace: Rhino.Geometry
SubDPatchStyle: references

keyboard_arrow_down
Values (6)

Unset = 0

 
Not a valid style. This encourages developers to thoughtfully select a patch style and can be used to indicate a UI control is not initialized.

Automatic = 1

 
Automatically choose a patch style that will generally create a good looking result. If a hole boundary is not convex, it is triangulated. Otherwise: If a hole has 3 edges, a single triangle face is used. If a hole has 4 edges, a single quad face is used. If a hole has 5 or more edges and an odd number of edges, a triangle fan is used. If a hole has 6 or more edges and an even number of edges, a quad fan is used.

SingleFace = 2

 
A single face is used under all conditions.

TriangleFan = 3

 
A triangle fan used under all conditions. The center of the fan is the average of the hole boundary vertex control net points.

QuadOrTriangleFan = 4

 
If the hole boundary has an even number of edges, a quad fan is used. Otherwise a triangle fan is used. The center of the fan is the average of the hole boundary vertex control net points.

Triangulated = 5

 
The hole boundary is triangluated. Typically this style is selected when a boundary not convex and the other styles produce faces with overlapping regions.

Nothing found