CroSec_Circlesketch Method
add vertices on cross-section to mesh and corresponding colors
origin is the point on the element axis, axis the local coordinate system,
cmap contains the information for coloring points and n_faces the number
of points to be calculated.
Namespace: Karamba.CrossSectionsAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public override void sketch(
Mesh3 mesh,
List<double> values,
Point3 origin,
Vector3[] axis,
CroSecStrain strainTen,
CroSecStrain strainCom,
int nFaces,
bool tensionValid = true,
bool compressionValid = true
)
Public Overrides Sub sketch (
mesh As Mesh3,
values As List(Of Double),
origin As Point3,
axis As Vector3(),
strainTen As CroSecStrain,
strainCom As CroSecStrain,
nFaces As Integer,
Optional tensionValid As Boolean = true,
Optional compressionValid As Boolean = true
)
public:
virtual void sketch(
Mesh3^ mesh,
List<double>^ values,
Point3 origin,
array<Vector3>^ axis,
CroSecStrain^ strainTen,
CroSecStrain^ strainCom,
int nFaces,
bool tensionValid = true,
bool compressionValid = true
) override
abstract sketch :
mesh : Mesh3 *
values : List<float> *
origin : Point3 *
axis : Vector3[] *
strainTen : CroSecStrain *
strainCom : CroSecStrain *
nFaces : int *
?tensionValid : bool *
?compressionValid : bool
(* Defaults:
let _tensionValid = defaultArg tensionValid true
let _compressionValid = defaultArg compressionValid true
*)
-> unit
override sketch :
mesh : Mesh3 *
values : List<float> *
origin : Point3 *
axis : Vector3[] *
strainTen : CroSecStrain *
strainCom : CroSecStrain *
nFaces : int *
?tensionValid : bool *
?compressionValid : bool
(* Defaults:
let _tensionValid = defaultArg tensionValid true
let _compressionValid = defaultArg compressionValid true
*)
-> unit
Parameters
- mesh Mesh3
- Mesh to which faces are to be added.
- values ListDouble
- nodal values.
- origin Point3
- point on the element axis.
- axis Vector3
- local coordinate system.
- strainTen CroSecStrain
- contains the information for coloring points for tensile strains.
- strainCom CroSecStrain
- contains the information for coloring points for compressive strains.
- nFaces Int32
- number of points to be added per boundary line of cross section.
- tensionValid Boolean (Optional)
- true if the tension strain is valid.
- compressionValid Boolean (Optional)
- true if the compression strain is valid.