    

 ## On this page

  

 

 # Class CADOperation

 Last update: 16.07.2025 

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

CADOperation

```csharp
public class CADOperation

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [CADOperation](VM.Managed.DAFUL.CADOperation.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

### CADOperation()

```csharp
public CADOperation()

```

## Methods

### CalcBoundingBox(PartDocument, IDesignFrame)

calculate bounding box.

```csharp
public static double[] CalcBoundingBox(PartDocument docPart, IDesignFrame designFrame)

```

#### Parameters

`docPart` [PartDocument](VM.Managed.DAFUL.PartDocument.md)

The document.

`designFrame` IDesignFrame

The design frame.

#### Returns

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

The bounding box.

### GetProfilePointOfCurveset(IContactableRigid2D, ref bool, ref List&lt;VectorBase&gt;)

Get profile point of curveset

```csharp
public static int GetProfilePointOfCurveset(IContactableRigid2D curveset, ref bool bCloseLoop, ref List<VectorBase> lst)

```

#### Parameters

`curveset` [IContactableRigid2D](VM.Managed.DAFUL.IContactableRigid2D.md)

The curveset.

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

The close loop.

`lst` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;VectorBase&gt;

The profile point list.

#### Returns

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

The number of profile point.

### RecalcMassProp(MassProperty)

Re-calculation mass property.

```csharp
public static void RecalcMassProp(PartDocument.MassProperty mp)

```

#### Parameters

`mp` [PartDocument](VM.Managed.DAFUL.PartDocument.md).[MassProperty](VM.Managed.DAFUL.PartDocument.MassProperty.md)

The material property.