2026 Class
Changes 0
C

CylindricalSurface

Description:
A cylindrical surface.
Remarks:
The parametric equation of the cylinder is S(u, v) = center + radius*cos(u)*xVec + radius*sin(u)*yVec + v*zVec.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Surface
    Autodesk.Revit.DB.CylindricalSurface
public class CylindricalSurface : Surface
Name Return Type Description Inherited From
M Create(Frame, Double) CylindricalSurface Construct a cylindrical surface defined by a local coordinate system and a radius.
M Dispose() None (Inherited from Surface ) Surface
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetBoundingBoxUV() BoundingBoxUV Gets the UV bounding box of the surface. (Inherited from Surface ) Surface
M GetFrameOfReference() Frame Returns frame of reference associated with this CylindricalSurface.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M Project(XYZ, UV%, Double%) None Project a 3D point orthogonally onto a surface (to find the nearest point). Throws InvalidOperationException if the projection fails. (Inherited from Surface ) Surface
M 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. (Inherited from Surface ) Surface
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Axis XYZ Axis of the cylinder. This is the Z axis of the local coordinate system associated with this cylinder.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity. (Inherited from Surface ) Surface
P OrientationMatchesParametricOrientation bool Indicates whether this Surface's orientation is the same as or opposite to its parametric orientation. (Inherited from Surface ) Surface
P Origin XYZ Center of the circle that defines the base of the cylinder. This is the origin of the local coordinate system associated with this cylinder.
P Radius double Radius of the circle that defines the base of this cylinder.
P XDir XYZ X axis of the local coordinate system associated with this cylinder.
P YDir XYZ Y axis of the local coordinate system associated with this cylinder.