> ## 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/lib/VM.Managed.DAFUL.Beam)\
Assembly: VM.Models.FE.BeamCrossSection.dll

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

#### Inheritance

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

#### Derived

[CIRCULAR](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.CIRCULAR.md),
[ELLIPTICAL](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.ELLIPTICAL.md),
[HOLLOW\_RECTANGULAR](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.HOLLOW_RECTANGULAR.md),
[HOLLOW\_TAPERED\_CIRCULAR](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.HOLLOW_TAPERED_CIRCULAR.md),
[I\_BEAM](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.I_BEAM.md),
[RECTANGULAR](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.RECTANGULAR.md),
[THIN\_TUBE](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.THIN_TUBE.md),
[T\_BEAM](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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/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_)

## Constructors

### CrossSectionBase()

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

## Fields

### m\_nGeomInfoArrayCount

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

#### Field Value

uint

### m\_nNastranArrayCount

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

#### Field Value

uint

## Properties

### pi

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

#### Property Value

double

## Methods

### CheckDensity(double)

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

#### Parameters

`dDensity` double

### CheckGeomInfo(double\[])

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

#### Parameters

`dSInfo` double\[]

### CheckInputCount(double\[])

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

#### Parameters

`dSInfo` double\[]

### CheckLength(double)

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

#### Parameters

`dLength` double

### CheckMass(double)

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

#### Parameters

`dMass` double

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

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

#### Parameters

`dSInfo` double\[]

`ElementCount` int

#### Returns

double\[]

### GenerateOneSection(double\[])

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

#### Parameters

`dSInfo` double\[]

#### Returns

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

`iENodes` int\[]

`iStartENodes` int\[]

#### Returns

int

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

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

#### Parameters

`dSInfo` double\[]

`RenderingType` int

#### Returns

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\[]

`dStartPoint` double\[]

`dEndPoint` double\[]

`dStartOri` double\[]

`dEndOri` double\[]

`RenderingType` int

#### Returns

double\[]

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

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

#### Parameters

`dSInfo` double\[]

`dStartPoint` double\[]

`dEndPoint` double\[]

`dOrienMatrix` double\[]

#### Returns

double\[,]

### GetArea(double\[])

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

#### Parameters

`dSInfo` double\[]

#### Returns

double

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

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

#### Parameters

`dSInfo` double\[]

`dPoissonRatio` double

#### Returns

double\[]

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

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

#### Parameters

`dSInfo` double\[]

`dPoissonRatio` double

#### Returns

double

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

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

#### Parameters

`dSInfo` double\[]

`dPoissonRatio` double

#### Returns

double

### GetIxx(double\[])

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

#### Parameters

`dSInfo` double\[]

#### Returns

double

### GetIyy(double\[])

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

#### Parameters

`dSInfo` double\[]

#### Returns

double

### GetIzz(double\[])

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

#### Parameters

`dSInfo` double\[]

#### Returns

double

### GetJxx(double, double, double)

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

#### Parameters

`dIxx` double

`dDensity` double

`dLength` double

#### Returns

double

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

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

#### Parameters

`dSInfo` double\[]

`dDensity` double

`dLength` double

#### Returns

double

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

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

#### Parameters

`dMass` double

`dSInfo` double\[]

`dDensity` double

`dLength` double

#### Returns

double

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

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

#### Parameters

`dSInfo` double\[]

`dDensity` double

`dLength` double

#### Returns

double

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

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

#### Parameters

`dMass` double

`dSInfo` double\[]

`dDensity` double

`dLength` double

#### Returns

double

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

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

#### Parameters

`dSInfo` double\[]

`dDensity` double

`dLength` double

#### Returns

double

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

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

#### Parameters

`dSInfo` double\[]

`dDensity` double

`dLength` double

#### Returns

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

`dIxx` double

`dSInfo` double\[]

`dDensity` double

`dLength` double

#### Returns

double\[]

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

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

#### Parameters

`dSInfo` double\[]

`dDensity` double

`dLength` double

#### Returns

double\[]

### GetNumSideEdges(int)

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

#### Parameters

`RenderingType` int

#### Returns

int

### GetNumTotalElements(int)

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

#### Parameters

`RenderingType` int

#### Returns

int

### GetNumTotalNodes(int)

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

#### Parameters

`RenderingType` int

#### Returns

int

### 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/lib/VM.Managed.DAFUL.Beam.CrossSectionType.md)

#### Returns

uint

### GetSphereBodyRadius(double\[])

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

#### Parameters

`dSInfo` double\[]

#### Returns

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

`dIyy` double

`dIzz` double

`dIxx` double

`dAsy` double

`dAsz` double

`dLength` double

`dPoissonRatio` double

`dDensity` double

`dYoungsModulus` double

`dShearModulus` double

#### Returns

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\[]

`dLength` double

`dPoissonRatio` double

`dDensity` double

`dYoungsModulus` double

`dShearModulus` double

#### Returns

double\[]

### SetVariablesFromArray2Local(double\[])

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

#### Parameters

`dSInfo` double\[]

### TranslateNastran2DAFUL(double\[])

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

#### Parameters

`dNastran` double\[]

#### Returns

double\[]

### cos(double)

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

#### Parameters

`a` double

#### Returns

double

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

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

#### Parameters

`a` double\[]

`b` double\[]

#### Returns

double\[]

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

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

#### Parameters

`a` double\[]

`b` double\[]

#### Returns

double\[]

### sin(double)

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

#### Parameters

`a` double

#### Returns

double
