Share

CylindricalSurface Class

A cylindrical surface.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.Surface
    Autodesk.Revit.DB.CylindricalSurface


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class CylindricalSurface : Surface

The CylindricalSurface type exposes the following members.

Properties

 NameDescription
Public propertyAxis Axis of the cylinder. This is the Z axis of the local coordinate system associated with this cylinder.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from Surface)
Public propertyOrientationMatchesParametricOrientation Indicates whether this Surface's orientation is the same as or opposite to its parametric orientation.
(Inherited from Surface)
Public propertyOrigin Center of the circle that defines the base of the cylinder. This is the origin of the local coordinate system associated with this cylinder.
Public propertyRadius Radius of the circle that defines the base of this cylinder.
Public propertyXDir X axis of the local coordinate system associated with this cylinder.
Public propertyYDir Y axis of the local coordinate system associated with this cylinder.

Methods

 NameDescription
Public methodStatic memberCreate Construct a cylindrical surface defined by a local coordinate system and a radius.
Public methodDispose
(Inherited from Surface)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetBoundingBoxUV Gets the UV bounding box of the surface.
(Inherited from Surface)
Public methodGetFrameOfReference Returns frame of reference associated with this CylindricalSurface.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodProject Project a 3D point orthogonally onto a surface (to find the nearest point). Throws InvalidOperationException if the projection fails.
(Inherited from Surface)
Public methodProjectWithGuessPoint 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)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

Remarks

The parametric equation of the cylinder is S(u, v) = center + radius*cos(u)*xVec + radius*sin(u)*yVec + v*zVec.

See Also

Reference

Was this information helpful?