> ## 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 CrossSectionBase

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

```csharp theme={null}
public class CrossSectionBase
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[CrossSectionBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Beam.CrossSectionBase.md)

#### Derived

[CIRCULAR](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Beam.CIRCULAR.md),
[ELLIPTICAL](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Beam.ELLIPTICAL.md),
[HOLLOW\_RECTANGULAR](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Beam.HOLLOW_RECTANGULAR.md),
[HOLLOW\_TAPERED\_CIRCULAR](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Beam.HOLLOW_TAPERED_CIRCULAR.md),
[I\_BEAM](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Beam.I_BEAM.md),
[RECTANGULAR](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Beam.RECTANGULAR.md),
[THIN\_TUBE](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Beam.THIN_TUBE.md),
[T\_BEAM](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Beam.T_BEAM.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/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/2025-r1/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/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### CrossSectionBase()

```csharp theme={null}
public CrossSectionBase()
```

## Fields

### m\_nGeomInfoArrayCount

```csharp theme={null}
protected uint m_nGeomInfoArrayCount
```

#### Field Value

[uint](https://learn.microsoft.com/dotnet/api/system.uint32)

### m\_nNastranArrayCount

```csharp theme={null}
protected uint m_nNastranArrayCount
```

#### Field Value

[uint](https://learn.microsoft.com/dotnet/api/system.uint32)

## Properties

### pi

```csharp theme={null}
protected double pi { get; }
```

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

## Methods

### CheckDensity(double)

```csharp theme={null}
protected void CheckDensity(double dDensity)
```

#### Parameters

`dDensity` [double](https://learn.microsoft.com/dotnet/api/system.double)

### CheckGeomInfo(double\[])

```csharp theme={null}
public void CheckGeomInfo(double[] dSInfo)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

### CheckInputCount(double\[])

```csharp theme={null}
protected void CheckInputCount(double[] dSInfo)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

### CheckLength(double)

```csharp theme={null}
protected void CheckLength(double dLength)
```

#### Parameters

`dLength` [double](https://learn.microsoft.com/dotnet/api/system.double)

### CheckMass(double)

```csharp theme={null}
protected void CheckMass(double dMass)
```

#### Parameters

`dMass` [double](https://learn.microsoft.com/dotnet/api/system.double)

### GenerateMultiSection(double\[], int)

```csharp theme={null}
public virtual double[] GenerateMultiSection(double[] dSInfo, int ElementCount)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`ElementCount` [int](https://learn.microsoft.com/dotnet/api/system.int32)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)\[]

### GenerateOneSection(double\[])

```csharp theme={null}
public virtual double[] GenerateOneSection(double[] dSInfo)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)\[]

### GeneratePostConnectivities(int, ref int\[], ref int\[])

```csharp theme={null}
public virtual int GeneratePostConnectivities(int RenderingType, ref int[] iENodes, ref int[] iStartENodes)
```

#### Parameters

`RenderingType` [int](https://learn.microsoft.com/dotnet/api/system.int32)

`iENodes` [int](https://learn.microsoft.com/dotnet/api/system.int32)\[]

`iStartENodes` [int](https://learn.microsoft.com/dotnet/api/system.int32)\[]

#### Returns

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### GeneratePostOneSection(double\[], int)

```csharp theme={null}
public virtual double[] GeneratePostOneSection(double[] dSInfo, int RenderingType = 1)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`RenderingType` [int](https://learn.microsoft.com/dotnet/api/system.int32)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)\[]

### GeneratePostTwoSection(double\[], double\[], double\[], double\[], double\[], int)

```csharp theme={null}
public virtual double[] GeneratePostTwoSection(double[] dSInfo, double[] dStartPoint, double[] dEndPoint, double[] dStartOri, double[] dEndOri, int RenderingType)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dStartPoint` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dEndPoint` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dStartOri` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dEndOri` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`RenderingType` [int](https://learn.microsoft.com/dotnet/api/system.int32)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)\[]

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

```csharp theme={null}
public double[,] GenerateTwoSection(double[] dSInfo, double[] dStartPoint, double[] dEndPoint, double[] dOrienMatrix)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dStartPoint` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dEndPoint` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dOrienMatrix` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)\[,]

### GetArea(double\[])

```csharp theme={null}
public virtual double GetArea(double[] dSInfo)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

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

```csharp theme={null}
public virtual double[] GetAreaProperties(double[] dSInfo, double dPoissonRatio)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dPoissonRatio` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)\[]

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

```csharp theme={null}
public virtual double GetAsy(double[] dSInfo, double dPoissonRatio)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dPoissonRatio` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

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

```csharp theme={null}
public virtual double GetAsz(double[] dSInfo, double dPoissonRatio)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dPoissonRatio` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

### GetIxx(double\[])

```csharp theme={null}
public virtual double GetIxx(double[] dSInfo)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

### GetIyy(double\[])

```csharp theme={null}
public virtual double GetIyy(double[] dSInfo)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

### GetIzz(double\[])

```csharp theme={null}
public virtual double GetIzz(double[] dSInfo)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

### GetJxx(double, double, double)

```csharp theme={null}
public double GetJxx(double dIxx, double dDensity, double dLength)
```

#### Parameters

`dIxx` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dDensity` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dLength` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

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

```csharp theme={null}
public double GetJxx(double[] dSInfo, double dDensity, double dLength)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dDensity` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dLength` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

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

```csharp theme={null}
public virtual double GetJyy(double dMass, double[] dSInfo, double dDensity, double dLength)
```

#### Parameters

`dMass` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dDensity` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dLength` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

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

```csharp theme={null}
public virtual double GetJyy(double[] dSInfo, double dDensity, double dLength)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dDensity` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dLength` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

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

```csharp theme={null}
public virtual double GetJzz(double dMass, double[] dSInfo, double dDensity, double dLength)
```

#### Parameters

`dMass` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dDensity` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dLength` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

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

```csharp theme={null}
public virtual double GetJzz(double[] dSInfo, double dDensity, double dLength)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dDensity` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dLength` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

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

```csharp theme={null}
public double GetMass(double[] dSInfo, double dDensity, double dLength)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dDensity` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dLength` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

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

```csharp theme={null}
public virtual double[] GetMassMomentOfInertia(double dMass, double dIxx, double[] dSInfo, double dDensity, double dLength)
```

#### Parameters

`dMass` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dIxx` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dDensity` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dLength` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)\[]

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

```csharp theme={null}
public virtual double[] GetMassProperties(double[] dSInfo, double dDensity, double dLength)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dDensity` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dLength` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)\[]

### GetNumSideEdges(int)

```csharp theme={null}
public virtual int GetNumSideEdges(int RenderingType = 1)
```

#### Parameters

`RenderingType` [int](https://learn.microsoft.com/dotnet/api/system.int32)

#### Returns

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### GetNumTotalElements(int)

```csharp theme={null}
public virtual int GetNumTotalElements(int RenderingType = 1)
```

#### Parameters

`RenderingType` [int](https://learn.microsoft.com/dotnet/api/system.int32)

#### Returns

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### GetNumTotalNodes(int)

```csharp theme={null}
public virtual int GetNumTotalNodes(int RenderingType = 1)
```

#### Parameters

`RenderingType` [int](https://learn.microsoft.com/dotnet/api/system.int32)

#### Returns

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### GetRequiredInputCount(CrossSectionType)

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

#### Parameters

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

#### Returns

[uint](https://learn.microsoft.com/dotnet/api/system.uint32)

### GetSphereBodyRadius(double\[])

```csharp theme={null}
public virtual double GetSphereBodyRadius(double[] dSInfo)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

### GetStiffnessElementsOfMatrixForceByCoef(double, double, double, double, double, double, double, double, double, double, double)

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

#### Parameters

`dArea` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dIyy` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dIzz` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dIxx` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dAsy` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dAsz` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dLength` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dPoissonRatio` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dDensity` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dYoungsModulus` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dShearModulus` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)\[]

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

```csharp theme={null}
public double[] GetStiffnessElementsOfMatrixForceByGeom(double[] dSInfo, double dLength, double dPoissonRatio, double dDensity, double dYoungsModulus, double dShearModulus)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`dLength` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dPoissonRatio` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dDensity` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dYoungsModulus` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dShearModulus` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)\[]

### SetVariablesFromArray2Local(double\[])

```csharp theme={null}
protected virtual void SetVariablesFromArray2Local(double[] dSInfo)
```

#### Parameters

`dSInfo` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

### TranslateNastran2DAFUL(double\[])

```csharp theme={null}
public virtual double[] TranslateNastran2DAFUL(double[] dNastran)
```

#### Parameters

`dNastran` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)\[]

### cos(double)

```csharp theme={null}
protected double cos(double a)
```

#### Parameters

`a` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

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

```csharp theme={null}
protected double[] mattrvec(double[] a, double[] b)
```

#### Parameters

`a` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`b` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)\[]

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

```csharp theme={null}
protected double[] matvec(double[] a, double[] b)
```

#### Parameters

`a` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

`b` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)\[]

### sin(double)

```csharp theme={null}
protected double sin(double a)
```

#### Parameters

`a` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)
