SubDToBrepOptions

References
Options used for converting a SubD to a Brep

Constructors

SubDToBrepOptions

#Since v7.0
Create default options
public SubDToBrepOptions()

SubDToBrepOptions

#Since v7.1
Create options from the given packFaces and vertexProcess values.
public SubDToBrepOptions(
packFaces,
Sets the pack faces options.
vertexProcess
Sets the extraordinary vertex process option.
)

Finalizer

~SubDToBrepOptions

#
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
~SubDToBrepOptions()

Properties

Default

#Since v7.0
Default SubDToBrepOptions settings. Currently selects the same options as DefaultUnpacked: Locally-G1 smoothing of extraordinary vertices, unpacked faces.
public static SubDToBrepOptions Default { get; }
Remarks: These are the settings used by ON_SubD::BrepForm()

DefaultPacked

#Since v7.0
Default ON_SubDToBrepParameters settings for creating a packed brep. Locally-G1 smoothing of extraordinary vertices, packed faces.
public static SubDToBrepOptions DefaultPacked { get; }

DefaultUnpacked

#Since v7.0
Default ON_SubDToBrepParameters settings for creating an unpacked brep. Locally-G1 smoothing of extraordinary vertices, unpacked faces.
public static SubDToBrepOptions DefaultUnpacked { get; }

ExtraordinaryVertexProcess

#Since v7.0
Get or sets the extraordinary vertex process option.
public SubDToBrepOptions.ExtraordinaryVertexProcessOption ExtraordinaryVertexProcess { get; set; }

PackFaces

#Since v7.0
Get or sets the pack faces option.
public bool PackFaces { get; set; }

Methods

Dispose

#Since v7.0
Actively reclaims unmanaged resources that this instance uses.
public void Dispose()

Dispose

#
For derived class implementers.

This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.

You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.

Also, you must call the base virtual method within your overriding method.

protected virtual void Dispose(
disposing
true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer.
)