C# Класс Revit.SDK.Samples.GeometryCreation_BooleanOperation.CS.GeometryCreation

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateCenterbasedBox ( XYZ center, double edgelength ) : Solid

Create a centerbased box

CreateCenterbasedCylinder ( XYZ center, double bottomradius, double height, CylinderDirection cylinderdirection ) : Solid

Create a centerbased cylinder, only on X, Y, Z three axes forward direction

CreateCenterbasedSphere ( XYZ center, double radius ) : Solid

Create a centerbased sphere

getInstance ( Autodesk app ) : GeometryCreation

Get the singleton instance of GeometryCreation

Приватные методы

Метод Описание
CreateBlend ( CurveLoop firstLoop, CurveLoop secondLoop, List vertexPairs ) : Solid

Create a blend geometry

CreateExtrusion ( List profileLoops, XYZ extrusionDir, double extrusionDist ) : Solid

Create an extrusion geometry

CreateRevolved ( Autodesk coordinateFrame, List profileLoops, double startAngle, double endAngle ) : Solid

Create a revolved geometry

CreateSwept ( CurveLoop sweepPath, int pathAttachmentCrvIdx, double pathAttachmentParam, List profileLoops ) : Solid

Create a swept geometry

CreateSweptBlend ( Curve pathCurve, List pathParams, List profileLoops, List vertexPairs ) : Solid

Create a swept and blend geometry

GeometryCreation ( Autodesk app ) : System

Constructor

Описание методов

CreateCenterbasedBox() публичный Метод

Create a centerbased box
public CreateCenterbasedBox ( XYZ center, double edgelength ) : Solid
center XYZ The given box center
edgelength double The given box's edge length
Результат Solid

CreateCenterbasedCylinder() публичный Метод

Create a centerbased cylinder, only on X, Y, Z three axes forward direction
public CreateCenterbasedCylinder ( XYZ center, double bottomradius, double height, CylinderDirection cylinderdirection ) : Solid
center XYZ The given cylinder center
bottomradius double The given cylinder's bottom radius
height double The given cylinder's height
cylinderdirection CylinderDirection Cylinder's extrusion direction
Результат Solid

CreateCenterbasedSphere() публичный Метод

Create a centerbased sphere
public CreateCenterbasedSphere ( XYZ center, double radius ) : Solid
center XYZ The given sphere center
radius double The given sphere's radius
Результат Solid

getInstance() публичный статический Метод

Get the singleton instance of GeometryCreation
public static getInstance ( Autodesk app ) : GeometryCreation
app Autodesk Revit application
Результат GeometryCreation