Class SimpleBoxPrimitiveModelItemHelper
Helper methods for ICamIpcSimpleBoxPrimitiveModelItem
Inherited Members
Namespace: CAMIPC.DotnetHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class SimpleBoxPrimitiveModelItemHelper
Methods
GetCreationMethod(ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem>)
Get creation method
Declaration
public static TSimpleBoxPrimitiveCreationMethod GetCreationMethod(this ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> com)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> | com |
Returns
| Type | Description |
|---|---|
| TSimpleBoxPrimitiveCreationMethod |
GetDimensions(ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem>)
Get dimensions
Declaration
public static TST3DPoint GetDimensions(this ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> com)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> | com |
Returns
| Type | Description |
|---|---|
| TST3DPoint |
GetSecondPoint(ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem>)
Get second point
Declaration
public static TST3DPoint GetSecondPoint(this ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> com)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> | com |
Returns
| Type | Description |
|---|---|
| TST3DPoint |
GetStartPoint(ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem>)
Get start point
Declaration
public static TST3DPoint GetStartPoint(this ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> com)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> | com |
Returns
| Type | Description |
|---|---|
| TST3DPoint |
SetAsCenterPoint(ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem>, TST3DPoint, double, double, double)
Set box from center point
Declaration
public static void SetAsCenterPoint(this ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> com, TST3DPoint centr, double dX, double dY, double dZ)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> | com | |
| TST3DPoint | centr | |
| double | dX | |
| double | dY | |
| double | dZ |
SetAsCornerPoint(ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem>, TST3DPoint, double, double, double)
Set box from corner point
Declaration
public static void SetAsCornerPoint(this ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> com, TST3DPoint corner, double dX, double dY, double dZ)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> | com | |
| TST3DPoint | corner | |
| double | dX | |
| double | dY | |
| double | dZ |
SetAsTwoPoints(ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem>, TST3DPoint, TST3DPoint)
Set box from two points
Declaration
public static void SetAsTwoPoints(this ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> com, TST3DPoint p1, TST3DPoint p2)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> | com | |
| TST3DPoint | p1 | |
| TST3DPoint | p2 |
SetCreationMethod(ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem>, TSimpleBoxPrimitiveCreationMethod)
Set creation method
Declaration
public static void SetCreationMethod(this ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> com, TSimpleBoxPrimitiveCreationMethod value)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> | com | |
| TSimpleBoxPrimitiveCreationMethod | value |
SetDimensions(ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem>, TST3DPoint)
Set dimensions
Declaration
public static void SetDimensions(this ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> com, TST3DPoint value)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> | com | |
| TST3DPoint | value |
SetSecondPoint(ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem>, TST3DPoint)
Set second point
Declaration
public static void SetSecondPoint(this ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> com, TST3DPoint value)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> | com | |
| TST3DPoint | value |
SetStartPoint(ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem>, TST3DPoint)
Set start point
Declaration
public static void SetStartPoint(this ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> com, TST3DPoint value)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamIpcSimpleBoxPrimitiveModelItem> | com | |
| TST3DPoint | value |