C# Класс SpaceClaim.AddInLibrary.ShapeHelper

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

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

Метод Описание
CreateBlock ( Box box, IPart part ) : DesignBody
CreateBlock ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, IPart part ) : DesignBody
CreateCable ( ITrimmedCurve iTrimmedCurve, double diameter ) : Body
CreateCable ( ITrimmedCurve iTrimmedCurve, double diameter, IPart part ) : DesignBody
CreateCircle ( Frame frame, double diameter, IPart part ) : DesignBody
CreateCircleThroughPoints ( SpaceClaim.Api.V10.Geometry.Point p0, SpaceClaim.Api.V10.Geometry.Point p1, SpaceClaim.Api.V10.Geometry.Point p2 ) : Circle
CreateCone ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter1, double diameter2, bool isSurface ) : Body
CreateCone ( IPart part, SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter1, double diameter2, bool isSurface ) : DesignBody
CreateCylinder ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter ) : Body
CreateCylinder ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter, IPart part ) : DesignBody
CreateCylinderMesh ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter, int sides ) : ICollection
CreateCylindricalSurface ( Plane startPlane, double radius, double height ) : Body
CreateDesignBody ( Body body, string name ) : DesignBody
CreateDesignBody ( Body body, string name, IPart part ) : DesignBody
CreateHelixAroundCurve ( this curveSegment, double turns, double radius, double pointCount ) : CurveSegment
CreatePolygon ( IList inputPoints, Plane plane, double thickness ) : Body
CreatePolygon ( IList inputPoints, double thickness ) : Body
CreatePolygon ( IList inputPoints, Plane plane, double thickness, IPart part ) : DesignBody
CreatePolygon ( IList inputPoints, double thickness, IPart part ) : DesignBody
CreatePolygon ( IList inputPoints, IPart part ) : IList
CreatePolygon ( IList points ) : IList
CreateRevolvedCurve ( System.Line axis, ITrimmedCurve curve ) : Body
CreateSausage ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter, IPart part ) : DesignBody
CreateSphere ( SpaceClaim.Api.V10.Geometry.Point center, double diameter ) : Body
CreateSphere ( SpaceClaim.Api.V10.Geometry.Point center, double diameter, IPart part ) : DesignBody
CreateTorus ( SpaceClaim.Api.V10.Geometry.Point center, Direction axis, double minorDiameter, double majorDiameter, IPart part ) : DesignBody

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

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

public static CreateBlock ( Box box, IPart part ) : DesignBody
box Box
part IPart
Результат DesignBody

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

public static CreateBlock ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, IPart part ) : DesignBody
point1 SpaceClaim.Api.V10.Geometry.Point
point2 SpaceClaim.Api.V10.Geometry.Point
part IPart
Результат DesignBody

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

public static CreateCable ( ITrimmedCurve iTrimmedCurve, double diameter ) : Body
iTrimmedCurve ITrimmedCurve
diameter double
Результат Body

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

public static CreateCable ( ITrimmedCurve iTrimmedCurve, double diameter, IPart part ) : DesignBody
iTrimmedCurve ITrimmedCurve
diameter double
part IPart
Результат DesignBody

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

public static CreateCircle ( Frame frame, double diameter, IPart part ) : DesignBody
frame Frame
diameter double
part IPart
Результат DesignBody

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

public static CreateCircleThroughPoints ( SpaceClaim.Api.V10.Geometry.Point p0, SpaceClaim.Api.V10.Geometry.Point p1, SpaceClaim.Api.V10.Geometry.Point p2 ) : Circle
p0 SpaceClaim.Api.V10.Geometry.Point
p1 SpaceClaim.Api.V10.Geometry.Point
p2 SpaceClaim.Api.V10.Geometry.Point
Результат Circle

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

public static CreateCone ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter1, double diameter2, bool isSurface ) : Body
point1 SpaceClaim.Api.V10.Geometry.Point
point2 SpaceClaim.Api.V10.Geometry.Point
diameter1 double
diameter2 double
isSurface bool
Результат Body

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

public static CreateCone ( IPart part, SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter1, double diameter2, bool isSurface ) : DesignBody
part IPart
point1 SpaceClaim.Api.V10.Geometry.Point
point2 SpaceClaim.Api.V10.Geometry.Point
diameter1 double
diameter2 double
isSurface bool
Результат DesignBody

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

public static CreateCylinder ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter ) : Body
point1 SpaceClaim.Api.V10.Geometry.Point
point2 SpaceClaim.Api.V10.Geometry.Point
diameter double
Результат Body

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

public static CreateCylinder ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter, IPart part ) : DesignBody
point1 SpaceClaim.Api.V10.Geometry.Point
point2 SpaceClaim.Api.V10.Geometry.Point
diameter double
part IPart
Результат DesignBody

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

public static CreateCylinderMesh ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter, int sides ) : ICollection
point1 SpaceClaim.Api.V10.Geometry.Point
point2 SpaceClaim.Api.V10.Geometry.Point
diameter double
sides int
Результат ICollection

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

public static CreateCylindricalSurface ( Plane startPlane, double radius, double height ) : Body
startPlane Plane
radius double
height double
Результат Body

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

public static CreateDesignBody ( Body body, string name ) : DesignBody
body Body
name string
Результат DesignBody

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

public static CreateDesignBody ( Body body, string name, IPart part ) : DesignBody
body Body
name string
part IPart
Результат DesignBody

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

public static CreateHelixAroundCurve ( this curveSegment, double turns, double radius, double pointCount ) : CurveSegment
curveSegment this
turns double
radius double
pointCount double
Результат CurveSegment

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

public static CreatePolygon ( IList inputPoints, Plane plane, double thickness ) : Body
inputPoints IList
plane Plane
thickness double
Результат Body

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

public static CreatePolygon ( IList inputPoints, double thickness ) : Body
inputPoints IList
thickness double
Результат Body

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

public static CreatePolygon ( IList inputPoints, Plane plane, double thickness, IPart part ) : DesignBody
inputPoints IList
plane Plane
thickness double
part IPart
Результат DesignBody

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

public static CreatePolygon ( IList inputPoints, double thickness, IPart part ) : DesignBody
inputPoints IList
thickness double
part IPart
Результат DesignBody

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

public static CreatePolygon ( IList inputPoints, IPart part ) : IList
inputPoints IList
part IPart
Результат IList

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

public static CreatePolygon ( IList points ) : IList
points IList
Результат IList

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

public static CreateRevolvedCurve ( System.Line axis, ITrimmedCurve curve ) : Body
axis System.Line
curve ITrimmedCurve
Результат Body

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

public static CreateSausage ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter, IPart part ) : DesignBody
point1 SpaceClaim.Api.V10.Geometry.Point
point2 SpaceClaim.Api.V10.Geometry.Point
diameter double
part IPart
Результат DesignBody

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

public static CreateSphere ( SpaceClaim.Api.V10.Geometry.Point center, double diameter ) : Body
center SpaceClaim.Api.V10.Geometry.Point
diameter double
Результат Body

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

public static CreateSphere ( SpaceClaim.Api.V10.Geometry.Point center, double diameter, IPart part ) : DesignBody
center SpaceClaim.Api.V10.Geometry.Point
diameter double
part IPart
Результат DesignBody

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

public static CreateTorus ( SpaceClaim.Api.V10.Geometry.Point center, Direction axis, double minorDiameter, double majorDiameter, IPart part ) : DesignBody
center SpaceClaim.Api.V10.Geometry.Point
axis Direction
minorDiameter double
majorDiameter double
part IPart
Результат DesignBody