    

 ## On this page

  

 

 # Class GearShapeCustomBase.Profile

 Last update: 16.07.2025 

Namespace: [VM.Managed.DAFUL.GearTrain](VM.Managed.DAFUL.GearTrain.md)  
Assembly: VMDGearTrain.dll

This class is to represent the profile.

```csharp
public class GearShapeCustomBase.Profile

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [GearShapeCustomBase.Profile](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.Profile.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### Profile()

Initializes a new instance of the  class.

```csharp
public Profile()

```

## Properties

### Distance

The distance from the base profile

```csharp
public double Distance { get; set; }

```

#### Property Value

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

### PointCount

The number of profile points.

```csharp
public int PointCount { get; }

```

#### Property Value

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

### PointList

The profile points.

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

```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[GearShapeCustomBase](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.md).[Point2D](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.Point2D.md)&gt;

## Methods

### Equals(Profile)

Check equality of two objects

```csharp
public bool Equals(GearShapeCustomBase.Profile other)

```

#### Parameters

`other` [GearShapeCustomBase](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.md).[Profile](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.Profile.md)

Object to compare

#### Returns

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

true if two objects are equal. Otherwise false.

### GetToothProfile(Profile, uint)

Get the profile of a gear tooth.

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

```

#### Parameters

`pf` [GearShapeCustomBase](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.md).[Profile](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.Profile.md)

The target profile.

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

The number of tooth.

#### Returns

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[GearShapeCustomBase](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.md).[Point2D](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.Point2D.md)&gt;

The profile of a gear tooth.

### MaxDistance(Point2D, ref Profile, ref double)

Get the maximum distance from center point.

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

```

#### Parameters

`ptCenter` [GearShapeCustomBase](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.md).[Point2D](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.Point2D.md)

The center point.

`pf` [GearShapeCustomBase](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.md).[Profile](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.Profile.md)

The target profile.

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

The angle of maximum distance point.

#### Returns

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

The maximum distance.

### MinDistance(Point2D, ref Profile)

Get the minimum distance from center point.

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

```

#### Parameters

`ptCenter` [GearShapeCustomBase](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.md).[Point2D](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.Point2D.md)

The center point.

`pf` [GearShapeCustomBase](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.md).[Profile](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.Profile.md)

The target profile.

#### Returns

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

The minimum distance.

### MinDistance(Point2D, ref Profile, ref double)

Get the minimum distance from center point.

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

```

#### Parameters

`ptCenter` [GearShapeCustomBase](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.md).[Point2D](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.Point2D.md)

The center point.

`pf` [GearShapeCustomBase](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.md).[Profile](VM.Managed.DAFUL.GearTrain.GearShapeCustomBase.Profile.md)

The target profile.

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

The angle of maximum distance point.

#### Returns

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

The minimum distance.