Namespace:
Autodesk.Revit.DB
RevolvedFace
Class
Description:
A revolved face of a 3d solid or open shell.
A revolved face of a 3d solid or open shell.
Remarks:
Revolved faces are defined by a profile curve and a local coordinate system. For details on the parameterization, refer to the documentation for RevolvedSurface
Revolved faces are defined by a profile curve and a local coordinate system. For details on the parameterization, refer to the documentation for RevolvedSurface
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Face
Autodesk.Revit.DB.RevolvedFace
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Face
Autodesk.Revit.DB.RevolvedFace
Examples
private void GetRevolvedFaceInfo(Face face)
{
RevolvedFace revolvedFace = face as RevolvedFace;
if (null != revolvedFace)
{
XYZ origin = revolvedFace.Origin;
XYZ axis = revolvedFace.Axis;
Curve curve = revolvedFace.Curve;
XYZ redius = revolvedFace.get_Radius(0);
}
}