> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class BeamCrossSection

Namespace: [VM.Managed.DAFUL.Beam](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam)\
Assembly: VM.Models.FE.BeamCrossSection.dll

```csharp theme={null}
public static class BeamCrossSection
```

#### Inheritance

object ←
[BeamCrossSection](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.BeamCrossSection.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### CheckGeomInfo(CrossSectionType, double\[], ref bool)

```csharp theme={null}
public static bool CheckGeomInfo(CrossSectionType sectionEnumType, double[] dSInfo, ref bool bValid)
```

#### Parameters

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

`dSInfo` double\[]

`bValid` bool

#### Returns

bool

### CheckYDirection(double\[], double\[], double\[])

```csharp theme={null}
public static bool CheckYDirection(double[] dblStartPoint, double[] dblEndPoint, double[] dblYDir)
```

#### Parameters

`dblStartPoint` double\[]

`dblEndPoint` double\[]

`dblYDir` double\[]

#### Returns

bool

### ConnectivityGenerator(string, int, ref int\[], ref int\[])

```csharp theme={null}
public static int ConnectivityGenerator(string sectionStrType, int RenderingType, ref int[] iENodes, ref int[] iStartENodes)
```

#### Parameters

`sectionStrType` string

`RenderingType` int

`iENodes` int\[]

`iStartENodes` int\[]

#### Returns

int

### ConnectivityGenerator(string, ref int, ref int, ref int\[], ref int\[])

```csharp theme={null}
public static bool ConnectivityGenerator(string sectionStrType, ref int nTElement, ref int nTEdge, ref int[] iENodes, ref int[] iStartENodes)
```

#### Parameters

`sectionStrType` string

`nTElement` int

`nTEdge` int

`iENodes` int\[]

`iStartENodes` int\[]

#### Returns

bool

### ConvertSectionEnum2String(CrossSectionType)

```csharp theme={null}
public static string ConvertSectionEnum2String(CrossSectionType sectionEnumType)
```

#### Parameters

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

#### Returns

string

### ConvertSectionString2Enum(string)

```csharp theme={null}
public static CrossSectionType ConvertSectionString2Enum(string strType)
```

#### Parameters

`strType` string

#### Returns

[CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

### GetCrossProduct(double\[], double\[])

```csharp theme={null}
public static double[] GetCrossProduct(double[] vec1, double[] vec2)
```

#### Parameters

`vec1` double\[]

`vec2` double\[]

#### Returns

double\[]

### GetInnerProduct(double\[], double\[])

```csharp theme={null}
public static double[] GetInnerProduct(double[] vec1, double[] vec2)
```

#### Parameters

`vec1` double\[]

`vec2` double\[]

#### Returns

double\[]

### GetMagnitude(double\[])

```csharp theme={null}
public static double GetMagnitude(double[] dblAry)
```

#### Parameters

`dblAry` double\[]

#### Returns

double

### GetNumElements(string, int)

```csharp theme={null}
public static int GetNumElements(string sectionStrType, int RenderingType)
```

#### Parameters

`sectionStrType` string

`RenderingType` int

#### Returns

int

### GetNumNodes(string, int)

```csharp theme={null}
public static int GetNumNodes(string sectionStrType, int RenderingType)
```

#### Parameters

`sectionStrType` string

`RenderingType` int

#### Returns

int

### GetNumNodes(string)

```csharp theme={null}
public static int GetNumNodes(string sectionStrType)
```

#### Parameters

`sectionStrType` string

#### Returns

int

### GetRequiredInputCount(CrossSectionType)

```csharp theme={null}
public static uint GetRequiredInputCount(CrossSectionType sectionEnumType)
```

#### Parameters

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

#### Returns

uint

### GetSphereBodyRadius(CrossSectionType, double\[])

```csharp theme={null}
public static double GetSphereBodyRadius(CrossSectionType sectionEnumType, double[] dSInfo)
```

#### Parameters

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

`dSInfo` double\[]

#### Returns

double

### GetStiffnessElementsOfMatrixForceByCoef(CrossSectionType, double, double, double, double, double, double, double, double, double, double, double, ref double\[])

```csharp theme={null}
public static bool GetStiffnessElementsOfMatrixForceByCoef(CrossSectionType sectionEnumType, double dArea, double dIyy, double dIzz, double dIxx, double dAsy, double dAsz, double dLength, double dPoissonRatio, double dDensity, double dYoungsModulus, double dShearModulus, ref double[] dOutput)
```

#### Parameters

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

`dArea` double

`dIyy` double

`dIzz` double

`dIxx` double

`dAsy` double

`dAsz` double

`dLength` double

`dPoissonRatio` double

`dDensity` double

`dYoungsModulus` double

`dShearModulus` double

`dOutput` double\[]

#### Returns

bool

### GetStiffnessElementsOfMatrixForceByGeom(CrossSectionType, double\[], double, double, double, double, double, ref double\[])

```csharp theme={null}
public static bool GetStiffnessElementsOfMatrixForceByGeom(CrossSectionType sectionEnumType, double[] dSInfo, double dLength, double dPoissonRatio, double dDensity, double dYoungsModulus, double dShearModulus, ref double[] dOutput)
```

#### Parameters

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

`dSInfo` double\[]

`dLength` double

`dPoissonRatio` double

`dDensity` double

`dYoungsModulus` double

`dShearModulus` double

`dOutput` double\[]

#### Returns

bool

### SectionAreaProperties(string, double\[], double, ref double\[])

```csharp theme={null}
public static bool SectionAreaProperties(string sectionStrType, double[] dSInfo, double dPoissonRatio, ref double[] dOutput)
```

#### Parameters

`sectionStrType` string

`dSInfo` double\[]

`dPoissonRatio` double

`dOutput` double\[]

#### Returns

bool

### SectionAreaProperties(CrossSectionType, double\[], double, ref double\[])

```csharp theme={null}
public static bool SectionAreaProperties(CrossSectionType sectionEnumType, double[] dSInfo, double dPoissonRatio, ref double[] dOutput)
```

#### Parameters

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

`dSInfo` double\[]

`dPoissonRatio` double

`dOutput` double\[]

#### Returns

bool

### SectionGenerator(ResultType, string, double\[], ref double\[])

```csharp theme={null}
public static bool SectionGenerator(ResultType resultEnumType, string sectionStrType, double[] dSInfo, ref double[] dOutput)
```

#### Parameters

`resultEnumType` [ResultType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.ResultType.md)

`sectionStrType` string

`dSInfo` double\[]

`dOutput` double\[]

#### Returns

bool

### SectionGenerator(CrossSectionType, double\[], ref double\[])

```csharp theme={null}
public static bool SectionGenerator(CrossSectionType sectionEnumType, double[] dSInfo, ref double[] dOutput)
```

#### Parameters

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

`dSInfo` double\[]

`dOutput` double\[]

#### Returns

bool

### SectionGenerator(string, double\[], ref double\[])

```csharp theme={null}
public static bool SectionGenerator(string sectionStrType, double[] dSInfo, ref double[] dOutput)
```

#### Parameters

`sectionStrType` string

`dSInfo` double\[]

`dOutput` double\[]

#### Returns

bool

### SectionGenerator(ResultType, CrossSectionType, double\[], ref double\[])

```csharp theme={null}
public static bool SectionGenerator(ResultType resultEnumType, CrossSectionType sectionEnumType, double[] dSInfo, ref double[] dOutput)
```

#### Parameters

`resultEnumType` [ResultType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.ResultType.md)

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

`dSInfo` double\[]

`dOutput` double\[]

#### Returns

bool

### SectionGenerator(ResultType, string, double\[], double\[], double\[], double\[], ref double\[,])

```csharp theme={null}
public static bool SectionGenerator(ResultType resultEnumType, string sectionStrType, double[] dSInfo, double[] dStartPoint, double[] dEndPoint, double[] dOrienMatrix, ref double[,] dOutput)
```

#### Parameters

`resultEnumType` [ResultType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.ResultType.md)

`sectionStrType` string

`dSInfo` double\[]

`dStartPoint` double\[]

`dEndPoint` double\[]

`dOrienMatrix` double\[]

`dOutput` double\[,]

#### Returns

bool

### SectionGenerator(CrossSectionType, double\[], double\[], double\[], double\[], ref double\[,])

```csharp theme={null}
public static bool SectionGenerator(CrossSectionType sectionEnumType, double[] dSInfo, double[] dStartPoint, double[] dEndPoint, double[] dOrienMatrix, ref double[,] dOutput)
```

#### Parameters

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

`dSInfo` double\[]

`dStartPoint` double\[]

`dEndPoint` double\[]

`dOrienMatrix` double\[]

`dOutput` double\[,]

#### Returns

bool

### SectionGenerator(string, double\[], double\[], double\[], double\[], ref double\[,])

```csharp theme={null}
public static bool SectionGenerator(string sectionStrType, double[] dSInfo, double[] dStartPoint, double[] dEndPoint, double[] dOrienMatrix, ref double[,] dOutput)
```

#### Parameters

`sectionStrType` string

`dSInfo` double\[]

`dStartPoint` double\[]

`dEndPoint` double\[]

`dOrienMatrix` double\[]

`dOutput` double\[,]

#### Returns

bool

### SectionGenerator(ResultType, CrossSectionType, double\[], double\[], double\[], double\[], ref double\[,])

```csharp theme={null}
public static bool SectionGenerator(ResultType resultEnumType, CrossSectionType sectionEnumType, double[] dSInfo, double[] dStartPoint, double[] dEndPoint, double[] dOrienMatrix, ref double[,] dOutput)
```

#### Parameters

`resultEnumType` [ResultType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.ResultType.md)

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

`dSInfo` double\[]

`dStartPoint` double\[]

`dEndPoint` double\[]

`dOrienMatrix` double\[]

`dOutput` double\[,]

#### Returns

bool

### SectionGenerator(ResultType, string, double\[], double\[], double\[], double\[], double\[], int, ref double\[])

```csharp theme={null}
public static bool SectionGenerator(ResultType resultEnumType, string sectionStrType, double[] dSInfo, double[] dStartPoint, double[] dEndPoint, double[] dStartOri, double[] dEndOri, int RenderingType, ref double[] dOutput)
```

#### Parameters

`resultEnumType` [ResultType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.ResultType.md)

`sectionStrType` string

`dSInfo` double\[]

`dStartPoint` double\[]

`dEndPoint` double\[]

`dStartOri` double\[]

`dEndOri` double\[]

`RenderingType` int

`dOutput` double\[]

#### Returns

bool

### SectionGeomProperty(ResultType, string, double\[], double\[], ref double)

```csharp theme={null}
public static bool SectionGeomProperty(ResultType resultEnumType, string sectionStrType, double[] dSInfo, double[] dOtherInfos, ref double dOutput)
```

#### Parameters

`resultEnumType` [ResultType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.ResultType.md)

`sectionStrType` string

`dSInfo` double\[]

`dOtherInfos` double\[]

`dOutput` double

#### Returns

bool

### SectionGeomProperty(ResultType, CrossSectionType, double\[], double\[], ref double)

```csharp theme={null}
public static bool SectionGeomProperty(ResultType resultEnumType, CrossSectionType sectionEnumType, double[] dSInfo, double[] dOtherInfos, ref double dOutput)
```

#### Parameters

`resultEnumType` [ResultType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.ResultType.md)

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

`dSInfo` double\[]

`dOtherInfos` double\[]

`dOutput` double

#### Returns

bool

### SectionMass(string, double, double, double, ref double)

```csharp theme={null}
public static bool SectionMass(string sectionStrType, double dArea, double dDensity, double dLength, ref double dOutput)
```

#### Parameters

`sectionStrType` string

`dArea` double

`dDensity` double

`dLength` double

`dOutput` double

#### Returns

bool

### SectionMass(CrossSectionType, double, double, double, ref double)

```csharp theme={null}
public static bool SectionMass(CrossSectionType sectionEnumType, double dArea, double dDensity, double dLength, ref double dOutput)
```

#### Parameters

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

`dArea` double

`dDensity` double

`dLength` double

`dOutput` double

#### Returns

bool

### SectionMassMomentOfInertia(string, double, double, double\[], double, double, ref double\[])

```csharp theme={null}
public static bool SectionMassMomentOfInertia(string sectionStrType, double dMass, double dIxx, double[] dSInfo, double dDensity, double dLength, ref double[] dOutput)
```

#### Parameters

`sectionStrType` string

`dMass` double

`dIxx` double

`dSInfo` double\[]

`dDensity` double

`dLength` double

`dOutput` double\[]

#### Returns

bool

### SectionMassMomentOfInertia(CrossSectionType, double, double, double\[], double, double, ref double\[])

```csharp theme={null}
public static bool SectionMassMomentOfInertia(CrossSectionType sectionEnumType, double dMass, double dIxx, double[] dSInfo, double dDensity, double dLength, ref double[] dOutput)
```

#### Parameters

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

`dMass` double

`dIxx` double

`dSInfo` double\[]

`dDensity` double

`dLength` double

`dOutput` double\[]

#### Returns

bool

### SectionMassProperties(string, double\[], double, double, ref double\[])

```csharp theme={null}
public static bool SectionMassProperties(string sectionStrType, double[] dSInfo, double dDensity, double dLength, ref double[] dOutput)
```

#### Parameters

`sectionStrType` string

`dSInfo` double\[]

`dDensity` double

`dLength` double

`dOutput` double\[]

#### Returns

bool

### SectionMassProperties(CrossSectionType, double\[], double, double, ref double\[])

```csharp theme={null}
public static bool SectionMassProperties(CrossSectionType sectionEnumType, double[] dSInfo, double dDensity, double dLength, ref double[] dOutput)
```

#### Parameters

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

`dSInfo` double\[]

`dDensity` double

`dLength` double

`dOutput` double\[]

#### Returns

bool

### SetUnitVector(double\[])

```csharp theme={null}
public static void SetUnitVector(double[] dblAry)
```

#### Parameters

`dblAry` double\[]

### TranslateNastran2DAFUL(ResultType, CrossSectionType, double\[], ref double\[])

```csharp theme={null}
public static bool TranslateNastran2DAFUL(ResultType resultEnumType, CrossSectionType sectionEnumType, double[] dNastran, ref double[] dDAFUL)
```

#### Parameters

`resultEnumType` [ResultType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.ResultType.md)

`sectionEnumType` [CrossSectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

`dNastran` double\[]

`dDAFUL` double\[]

#### Returns

bool

### TranslateNastran2DAFUL(ResultType, string, double\[], ref double\[])

```csharp theme={null}
public static bool TranslateNastran2DAFUL(ResultType resultEnumType, string sectionStrType, double[] dNastran, ref double[] dDAFUL)
```

#### Parameters

`resultEnumType` [ResultType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.ResultType.md)

`sectionStrType` string

`dNastran` double\[]

`dDAFUL` double\[]

#### Returns

bool
