Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class GearShapeCustomBase.Profile

Last update: 16.07.2025

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

This class is to represent the profile.

public class GearShapeCustomBase.Profile

Inheritance

object ← GearShapeCustomBase.Profile

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

Profile()

Initializes a new instance of the class.

public Profile()

Properties

Distance

The distance from the base profile

public double Distance { get; set; }

Property Value

double

PointCount

The number of profile points.

public int PointCount { get; }

Property Value

int

PointList

The profile points.

public List<GearShapeCustomBase.Point2D> PointList { get; set; }

Property Value

List<GearShapeCustomBase.Point2D>

Methods

Equals(Profile)

Check equality of two objects

public bool Equals(GearShapeCustomBase.Profile other)

Parameters

other GearShapeCustomBase.Profile

Object to compare

Returns

bool

true if two objects are equal. Otherwise false.

GetToothProfile(Profile, uint)

Get the profile of a gear tooth.

public static List<GearShapeCustomBase.Point2D> GetToothProfile(GearShapeCustomBase.Profile pf, uint nTooth)

Parameters

pf GearShapeCustomBase.Profile

The target profile.

nTooth uint

The number of tooth.

Returns

List<GearShapeCustomBase.Point2D>

The profile of a gear tooth.

MaxDistance(Point2D, ref Profile, ref double)

Get the maximum distance from center point.

public static double MaxDistance(GearShapeCustomBase.Point2D ptCenter, ref GearShapeCustomBase.Profile pf, ref double dAngle)

Parameters

ptCenter GearShapeCustomBase.Point2D

The center point.

pf GearShapeCustomBase.Profile

The target profile.

dAngle double

The angle of maximum distance point.

Returns

double

The maximum distance.

MinDistance(Point2D, ref Profile)

Get the minimum distance from center point.

public static double MinDistance(GearShapeCustomBase.Point2D ptCenter, ref GearShapeCustomBase.Profile pf)

Parameters

ptCenter GearShapeCustomBase.Point2D

The center point.

pf GearShapeCustomBase.Profile

The target profile.

Returns

double

The minimum distance.

MinDistance(Point2D, ref Profile, ref double)

Get the minimum distance from center point.

public static double MinDistance(GearShapeCustomBase.Point2D ptCenter, ref GearShapeCustomBase.Profile pf, ref double dAngle)

Parameters

ptCenter GearShapeCustomBase.Point2D

The center point.

pf GearShapeCustomBase.Profile

The target profile.

dAngle double

The angle of maximum distance point.

Returns

double

The minimum distance.

Connect with Ansys