Surface
Description:
A mathematical representation of a surface.
A mathematical representation of a surface.
Remarks:
This geometric object is not bounded by edges or edge loops. A bounded surface obtained from a Revit element will be represented by a Face instead.
This geometric object is not bounded by edges or edge loops. A bounded surface obtained from a Revit element will be represented by a Face instead.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.Surface
Autodesk.Revit.DB.ConicalSurface
Autodesk.Revit.DB.CylindricalSurface
Autodesk.Revit.DB.HermiteSurface
Autodesk.Revit.DB.OffsetSurface
Autodesk.Revit.DB.Plane
Autodesk.Revit.DB.RevolvedSurface
Autodesk.Revit.DB.RuledSurface
System.Object
Autodesk.Revit.DB.Surface
Autodesk.Revit.DB.ConicalSurface
Autodesk.Revit.DB.CylindricalSurface
Autodesk.Revit.DB.HermiteSurface
Autodesk.Revit.DB.OffsetSurface
Autodesk.Revit.DB.Plane
Autodesk.Revit.DB.RevolvedSurface
Autodesk.Revit.DB.RuledSurface
public class Surface : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetBoundingBoxUV() | BoundingBoxUV | Gets the UV bounding box of the surface. |
| Project(XYZ, UV%, Double%) | None | Project a 3D point orthogonally onto a surface (to find the nearest point). Throws InvalidOperationException if the projection fails. |
| ProjectWithGuessPoint(XYZ, UV, UV%, Double%) | None | Project a 3D point orthogonally onto a surface (to find the nearest point). This method is meant to be used when a good approximate solution for the projection is available. Throws InvalidOperationException if the projection fails. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| OrientationMatchesParametricOrientation | bool | Indicates whether this Surface's orientation is the same as or opposite to its parametric orientation. |