C# Class Revit.SDK.Samples.GeometryCreation_BooleanOperation.CS.GeometryCreation

Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

CreateCenterbasedBox() public méthode

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
Résultat Solid

CreateCenterbasedCylinder() public méthode

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
Résultat Solid

CreateCenterbasedSphere() public méthode

Create a centerbased sphere
public CreateCenterbasedSphere ( XYZ center, double radius ) : Solid
center XYZ The given sphere center
radius double The given sphere's radius
Résultat Solid

getInstance() public static méthode

Get the singleton instance of GeometryCreation
public static getInstance ( Autodesk app ) : GeometryCreation
app Autodesk Revit application
Résultat GeometryCreation