Skip to content

SolidOrShellTessellationControls

Public Class

Controls various aspects of the triangulation produced by [!:SolidUtils::tessellateSolidOrShell()] method.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.SolidOrShellTessellationControls

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class SolidOrShellTessellationControls : IDisposable

The SolidOrShellTessellationControls type exposes the following members.

Constructors

Name

Description


Public Method
SolidOrShellTessellationControls

Default constructor.


Properties

Name

Description


Public Property
Accuracy

A positive real number specifying how accurately a triangulation should approximate a solid or shell.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property
LevelOfDetail

An number between 0 and 1 (inclusive) specifying the level of detail for the triangulation of a solid or shell.


Public Property
MinAngleInTriangle

A non-negative real number specifying the minimum allowed angle for any triangle in the triangulation, in radians.


Public Property
MinExternalAngleBetweenTriangles

A positive real number specifying the minimum allowed value for the external angle between two adjacent triangles, in radians.


Methods

Name

Description


Public Method

Disables the use of levelOfDetail. The use of levelOfDetail is enabled by calling setLevelOfDetail (with a valid input).


Public Method

Releases all resources used by the SolidOrShellTessellationControls


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Public Method

Returns true if the use of levelOfDetail is enabled, false if not. The use of levelOfDetail is enabled by calling setLevelOfDetail (with a valid input).