Class GearSetWormAndWormWheel
Last update: 16.07.2025Namespace: VM.Managed.DAFUL.GearTrain
Assembly: VMDGearTrain.dll
Gear set for Worm and WormWheel
public class GearSetWormAndWormWheel : GearSetBase<propertygearsetwormandwormwheel>, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, IEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IVisible, IDocumentOwner, INamed, INavigatorItem, IVisible, IMultiChangable, IHasProperty, IGroup, IOpenDesignerForGearTrain, IOpenDesigner, IReferencable, IGearSet, IHasGeometryInfo, ITransparentable, IHasBuilder, IReportable
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Implements
IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, IEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IVisible, IDocumentOwner, INamed, INavigatorItem, IVisible, IMultiChangable, IHasProperty, IGroup, IOpenDesignerForGearTrain, IOpenDesigner, IReferencable, IGearSet, IHasGeometryInfo, ITransparentable, IHasBuilder, IReportable
Inherited Members
GearSetBase
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
GearSetWormAndWormWheel()
Initializes a new instance of the
public GearSetWormAndWormWheel()
GearSetWormAndWormWheel(string)
Initializes a new instance of the
public GearSetWormAndWormWheel(string strName)
Parameters
strName string
Name of the string.
Properties
Extension
Gets the extension.
protected override string Extension { get; }
Property Value
TypeFileName
Gets the name of the type file.
public override string TypeFileName { get; }
Property Value
Methods
CreateGearGeometry(string, int, GearShapeBase[])
Create Gear Geometry.
protected override void CreateGearGeometry(string strGearType, int nNGear, GearShapeBase[] arGeom)
Parameters
strGearType string
THe gear type
nNGear int
The No. of gear
arGeom GearShapeBase[]
The gear shape geometry
LineLineIntersect(VectorBase, VectorBase, VectorBase, VectorBase, ref VectorBase, ref VectorBase, ref double, ref double)
calculate the line segment pa, pb that is the shortest route between two lines p1p2 and p3p4. calculate also the values of mua and mub where pa = p1 + mua * (p2 - p1) pb = p3 + mub * (p4 - p3)
public static bool LineLineIntersect(VectorBase p1, VectorBase p2, VectorBase p3, VectorBase p4, ref VectorBase pa, ref VectorBase pb, ref double mua, ref double mub)
Parameters
p1 VectorBase
start point of line 1
p2 VectorBase
end point of line 1
p3 VectorBase
start point of line 2
p4 VectorBase
end point of line 2
pa VectorBase
the point on the line 1 is closet to line 2
pb VectorBase
the point on the line 2 is closet to line 1
mua double
mub double
Returns
Meshing(List)
Meshing the gears.
public override bool Meshing(List<igearbuilder> lstGB)
Parameters
lstGB ListIGearBuilder>
The gear builder list.
Returns
OnPreBuildSpecial(PropertyGearSetBase, Document, string[])
Pre build in Special
protected override void OnPreBuildSpecial(PropertyGearSetBase propGearSet, Document doc, string[] InputArray)
Parameters
propGearSet PropertyGearSetBase
The gearset property
doc Document
The document
InputArray string[]
The input array