C# Класс Canguro.Analysis.ExtrudedShape.Extrusion

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

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

Метод Описание
Build ( System.Vector2 shape, System.Vector3 axis, System.Vector3 axisDerivative, System.Vector3 &extrudedMesh, int &extrudedIndices, bool faceNormals, short cover, System.Vector3 origAxes ) : void

Builds an extrusion from the shape along a curve

Build ( System.Vector2 shape, short shapeIndices, System.Vector2 cardinalPointOffset, System.Vector3 axis, System.Vector3 axisDerivative, System.Vector3 &extrudedMesh, short &meshIB, System.Vector3 origAxes ) : void

Builds an extrusion from the shape along a curve

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

Метод Описание
computeLocalSystem ( System.Vector3 line, System.Vector3 origAxes ) : System.Vector3[]

Builds a local system on the line

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

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

Builds an extrusion from the shape along a curve
public static Build ( System.Vector2 shape, System.Vector3 axis, System.Vector3 axisDerivative, System.Vector3 &extrudedMesh, int &extrudedIndices, bool faceNormals, short cover, System.Vector3 origAxes ) : void
shape System.Vector2 An array indicating the shape points ordered counter_clockwise. First index is for vertex and second for normals.
axis System.Vector3 The curve that must be followed. Array of vertixes.
axisDerivative System.Vector3 The derivative at each vertex in the curve.
extrudedMesh System.Vector3 A ref variable containing the extruded mesh. First index refers to vertices and the second to normals.
extrudedIndices int
faceNormals bool
cover short
origAxes System.Vector3
Результат void

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

Builds an extrusion from the shape along a curve
public static Build ( System.Vector2 shape, short shapeIndices, System.Vector2 cardinalPointOffset, System.Vector3 axis, System.Vector3 axisDerivative, System.Vector3 &extrudedMesh, short &meshIB, System.Vector3 origAxes ) : void
shape System.Vector2 An array indicating the shape points ordered counter_clockwise. First index is for vertex and second for normals.
shapeIndices short
cardinalPointOffset System.Vector2
axis System.Vector3 The curve that must be followed. Array of vertixes.
axisDerivative System.Vector3 The derivative at each vertex in the curve.
extrudedMesh System.Vector3 A ref variable containing the extruded mesh. First index refers to vertices and the second to normals.
meshIB short A ref variable containing the union rules for the extruded mesh (index buffer)
origAxes System.Vector3
Результат void