Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class SectionGeometryBase

Last update: 16.07.2025

Namespace: VM.Managed.DAFUL.GearTrain
Assembly: VMDGearTrain.dll

The Section GeometryBase

public abstract class SectionGeometryBase : LinkContainer, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable

Inheritance

object ← ObservableObject ← LinkableBase ← LinkContainer ← SectionGeometryBase

Derived

RackSectionGeometry, SectionGeometryCircular, SectionGeometryHollowCircular, SectionGeometryHollowTapered, SectionGeometryTapered

Implements

IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable

Inherited Members

LinkContainer.SetModified(), LinkContainer.raise_OnUpdating(object, LinkEventArgs), LinkContainer.raise_OnUpdate(object, LinkEventArgs), LinkContainer.raise_OnDestroying(object, LinkEventArgs), LinkContainer.raise_OnDestroy(object, LinkEventArgs), LinkContainer.raise_OnAdded(object, AddToDocEventArgs), LinkContainer.raise_OnRemoved(object, RemoveFromDocEventArgs), LinkContainer.GetTargetListForUpdate(), LinkContainer.SkipUpdateObjectImpl(), LinkContainer.Initialize(Unit.ConvertFactor), LinkContainer.SetFlagWhenXMLFile(string, bool), LinkContainer.IsSerializableEvent(Delegate), LinkContainer.CustomGetObjectData(SerializationInfo, StreamingContext), LinkContainer.GetSerializedData(SerializationInfo, StreamingContext), LinkContainer.LinkRequestUpdating(object, LinkEventArgs), LinkContainer.LinkRequestUpdate(object, LinkEventArgs), LinkContainer.LinkRequestDestroying(object, LinkEventArgs), LinkContainer.LinkRequestDestroy(object, LinkEventArgs), LinkContainer.LinkAddedToDocument(object, AddToDocEventArgs), LinkContainer.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), LinkContainer.OnLinkReserved(ILink, object, EventArgs), LinkContainer.CanBeDestroy(object), LinkContainer.DisposeManagedResources(), LinkContainer.SetContainer(IOwned, bool), LinkContainer.OnChildUpdated(object, LinkEventArgs), LinkContainer.OnContainerDestroy(object, LinkEventArgs), LinkContainer.OnDeserialization(object), LinkContainer.Verify(VerifiedResult), LinkContainer.GetCopy(object), LinkContainer.Dispose(bool), LinkContainer.ClearChildInfoBeforeDeserialize, LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, LinkContainer.OnUpdating, LinkableBase.OnDeserialization(object), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

SectionGeometryBase()

Initializes a new instance of the class.

public SectionGeometryBase()

Properties

Eccentricity

Gets or sets the eccentricity.

public virtual Variable Eccentricity { get; set; }

Property Value

Variable

Length

Gets or sets the length.

public virtual Variable Length { get; set; }

Property Value

Variable

TypeOfGeometry

Gets the type of geometry.

public abstract SectionGeometryBase.GeometryType TypeOfGeometry { get; }

Property Value

SectionGeometryBase.GeometryType

Methods

GetBottomAndTopPosition(VectorBase, ref VectorBase, ref VectorBase)

Gets the bottom and top position.

public void GetBottomAndTopPosition(VectorBase vecOffsetDirection, ref VectorBase vecTop, ref VectorBase vecBottom)

Parameters

vecOffsetDirection VectorBase

The offset direction.

vecTop VectorBase

The vec top.

vecBottom VectorBase

The vec bottom.

GetBuilder(BuilderColor, VectorBase)

Gets the builder.

public abstract Builder GetBuilder(BuilderColor color, VectorBase vecOffsetDirection)

Parameters

color BuilderColor

The color.

vecOffsetDirection VectorBase

The offset direction.

Returns

Builder

GetGeomInfo()

Gets the geom information.

public abstract double[] GetGeomInfo()

Returns

double[]

GetLengthAndHeight(ref double, ref double)

Gets the start and end point.

public virtual void GetLengthAndHeight(ref double dLength, ref double dHeight)

Parameters

dLength double

Length of the d.

dHeight double

Height of the d.

GetNewStartPointWithEccentricity(PointBase, VectorBase)

Get new start point with eccentricity

public PointBase GetNewStartPointWithEccentricity(PointBase ptStartPoint, VectorBase vecEccentricDirection)

Parameters

ptStartPoint PointBase

The old start point

vecEccentricDirection VectorBase

The eccentric direction

Returns

PointBase

GetNewStartPointWithEccentricity(VectorBase, VectorBase)

Get new start point with eccentricity

public VectorBase GetNewStartPointWithEccentricity(VectorBase vecStartPoint, VectorBase vecEccentricDirection)

Parameters

vecStartPoint VectorBase

The old start point

vecEccentricDirection VectorBase

The eccentric direction

Returns

VectorBase

GetSectionBuilder(double, List)

Gets the section builder.

public virtual Builder[] GetSectionBuilder(double dSegLen, List<vector> lstGearSection)

Parameters

dSegLen double

Length of the d seg.

lstGearSection List

The LST gear section.

Returns

Builder[]

GetSectionBuilderCore(double, List)

Gets the section builder core.

protected List<vector> GetSectionBuilderCore(double dSegLen, List<vector> lstSection)

Parameters

dSegLen double

Length of the d seg.

lstSection List

The LST section.

Returns

List

GetSectionName(HiddenShaftSetDocument, string, int)

Gets the name of the section.

protected string[] GetSectionName(HiddenShaftSetDocument hiddenDoc, string strName, int nNum)

Parameters

hiddenDoc HiddenShaftSetDocument

The hidden document.

strName string

Name of the string.

nNum int

The n number.

Returns

string[]

GetSectionPoint(double, List, List)

Gets the section point.

public Vector[] GetSectionPoint(double dSegLen, List<vector> lstDoubleSection, List<vector> lstSingleSection)

Parameters

dSegLen double

Length of the d seg.

lstDoubleSection List

The LST double section.

lstSingleSection List

The LST single section.

Returns

Vector[]

InitChild()

Initializes the child.

public virtual void InitChild()

InnerCreateParameter()

protected abstract BuilderParamBase InnerCreateParameter()

Returns

BuilderParamBase

InnerFillParameter(BuilderParamBase, BuilderColor, VectorBase)

protected abstract void InnerFillParameter(BuilderParamBase parameter, BuilderColor color, VectorBase vecOffsetDirection)

Parameters

parameter BuilderParamBase

color BuilderColor

vecOffsetDirection VectorBase

OnDeserialization(object)

Called when [deserialization].

protected override void OnDeserialization(object sender)

Parameters

sender object

The sender.

SamePositionVector(VectorBase, VectorBase)

Whether vectors is same

public static bool SamePositionVector(VectorBase vec1, VectorBase vec2)

Parameters

vec1 VectorBase

first vector.

vec2 VectorBase

second vector.

Returns

bool

SplitSectionInfo(HiddenShaftSetDocument, string, int)

Splits the section information.

public abstract SectionInfo[] SplitSectionInfo(HiddenShaftSetDocument hiddenDoc, string strName, int nNumber)

Parameters

hiddenDoc HiddenShaftSetDocument

The hidden document.

strName string

Name of the string.

nNumber int

The n number.

Returns

SectionInfo[]

Connect with Ansys