C# Класс SolidworksAddinFramework.Geometry.BSplineFace

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ToRationalVector3 System.Vector3
ToRationalVector4WithWeighRescaling System.Vector4

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

Метод Описание
BSplineFace ( BSplineSurface surface, IReadOnlyList trimLoops ) : System
Create ( IFace2 swFace ) : BSplineFace

Create a BSplineFace from the TrimCurve data. http://help.solidworks.com/2015/English/api/sldworksapi/SOLIDWORKS.Interop.sldworks~SOLIDWORKS.Interop.sldworks.IFace2~GetTrimCurves2.html

ToSheetBody ( ) : Option

Generates a solidworks sheet body representation of the bspline face.

TransformSurfaceControlPoints ( Func xformSurface ) : BSplineFace
fixLoops ( IReadOnlyList trimLoops ) : void

Make sure that the last point of each sub curve is exactly the same as the first point of the next sub curve.

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

Метод Описание
ToRationalVector3 ( IList data ) : System.Vector3
ToRationalVector4WithWeighRescaling ( IList data ) : System.Vector4

This transforms solidworks (X,Y,Z,W) to (X*W,Y*W,Z*W,W) format that is nurbs book standard

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

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

public BSplineFace ( BSplineSurface surface, IReadOnlyList trimLoops ) : System
surface BSplineSurface
trimLoops IReadOnlyList
Результат System

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

Create a BSplineFace from the TrimCurve data. http://help.solidworks.com/2015/English/api/sldworksapi/SOLIDWORKS.Interop.sldworks~SOLIDWORKS.Interop.sldworks.IFace2~GetTrimCurves2.html
public static Create ( IFace2 swFace ) : BSplineFace
swFace IFace2
Результат BSplineFace

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

Generates a solidworks sheet body representation of the bspline face.
public ToSheetBody ( ) : Option
Результат Option

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

public TransformSurfaceControlPoints ( Func xformSurface ) : BSplineFace
xformSurface Func
Результат BSplineFace

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

Make sure that the last point of each sub curve is exactly the same as the first point of the next sub curve.
public static fixLoops ( IReadOnlyList trimLoops ) : void
trimLoops IReadOnlyList
Результат void