Namespace:
Autodesk.Revit.DB
ConicalFace
Class
Description:
A conical face of a 3d solid or open shell.
A conical face of a 3d solid or open shell.
Remarks:
For details on the parameterization, refer to the documentation for ConicalSurface.
For details on the parameterization, refer to the documentation for ConicalSurface.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Face
Autodesk.Revit.DB.ConicalFace
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Face
Autodesk.Revit.DB.ConicalFace
Examples
private void GetConicalFaceInfo(Face face)
{
ConicalFace conicalFace = face as ConicalFace;
if (null != conicalFace)
{
XYZ axis = conicalFace.Axis;
XYZ origin = conicalFace.Origin;
double halfAngle = conicalFace.HalfAngle;
XYZ radius = conicalFace.get_Radius(0);
}
}