Class SimpleBoxPrimitiveModelItem
Helper methods for ICamApiSimpleBoxPrimitiveModelItem
Inherited Members
Namespace: CAMAPI.DotnetHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class SimpleBoxPrimitiveModelItem
Methods
GetCreationMethod(ComWrapper<ICamApiSimpleBoxPrimitiveModelItem>)
Get creation method of simple box primitive
Declaration
public static TSimpleBoxPrimitiveCreationMethod GetCreationMethod(this ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> boxPrimitiveCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> | boxPrimitiveCom |
Returns
| Type | Description |
|---|---|
| TSimpleBoxPrimitiveCreationMethod |
GetDimensions(ComWrapper<ICamApiSimpleBoxPrimitiveModelItem>)
Get dimension\second point of simple box primitive
Declaration
public static TST3DPoint GetDimensions(this ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> boxPrimitiveCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> | boxPrimitiveCom |
Returns
| Type | Description |
|---|---|
| TST3DPoint |
GetSecondPoint(ComWrapper<ICamApiSimpleBoxPrimitiveModelItem>)
Get dimension\second point of simple box primitive
Declaration
public static TST3DPoint GetSecondPoint(this ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> boxPrimitiveCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> | boxPrimitiveCom |
Returns
| Type | Description |
|---|---|
| TST3DPoint |
GetStartPoint(ComWrapper<ICamApiSimpleBoxPrimitiveModelItem>)
Get start point of simple box primitive
Declaration
public static TST3DPoint GetStartPoint(this ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> boxPrimitiveCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> | boxPrimitiveCom |
Returns
| Type | Description |
|---|---|
| TST3DPoint |
SetAsCenterPoint(ComWrapper<ICamApiSimpleBoxPrimitiveModelItem>, TST3DPoint, double, double, double)
Set as center point
Declaration
public static void SetAsCenterPoint(this ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> boxPrimitiveCom, TST3DPoint Centr, double dX, double dY, double dZ)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> | boxPrimitiveCom | |
| TST3DPoint | Centr | |
| double | dX | |
| double | dY | |
| double | dZ |
SetAsCornerPoint(ComWrapper<ICamApiSimpleBoxPrimitiveModelItem>, TST3DPoint, double, double, double)
Set as corner point
Declaration
public static void SetAsCornerPoint(this ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> boxPrimitiveCom, TST3DPoint Corner, double dX, double dY, double dZ)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> | boxPrimitiveCom | |
| TST3DPoint | Corner | |
| double | dX | |
| double | dY | |
| double | dZ |
SetAsTwoPoints(ComWrapper<ICamApiSimpleBoxPrimitiveModelItem>, TST3DPoint, TST3DPoint)
Set as two points
Declaration
public static void SetAsTwoPoints(this ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> boxPrimitiveCom, TST3DPoint P1, TST3DPoint P2)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> | boxPrimitiveCom | |
| TST3DPoint | P1 | |
| TST3DPoint | P2 |
SetCreationMethod(ComWrapper<ICamApiSimpleBoxPrimitiveModelItem>, TSimpleBoxPrimitiveCreationMethod)
Set creation method of simple box primitive
Declaration
public static void SetCreationMethod(this ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> boxPrimitiveCom, TSimpleBoxPrimitiveCreationMethod value)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> | boxPrimitiveCom | |
| TSimpleBoxPrimitiveCreationMethod | value |
SetDimensions(ComWrapper<ICamApiSimpleBoxPrimitiveModelItem>, TST3DPoint)
Set dimension\second point of simple box primitive
Declaration
public static void SetDimensions(this ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> boxPrimitiveCom, TST3DPoint value)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> | boxPrimitiveCom | |
| TST3DPoint | value |
SetSecondPoint(ComWrapper<ICamApiSimpleBoxPrimitiveModelItem>, TST3DPoint)
Set dimension\second point of simple box primitive
Declaration
public static void SetSecondPoint(this ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> boxPrimitiveCom, TST3DPoint value)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> | boxPrimitiveCom | |
| TST3DPoint | value |
SetStartPoint(ComWrapper<ICamApiSimpleBoxPrimitiveModelItem>, TST3DPoint)
Set start point of simple box primitive
Declaration
public static void SetStartPoint(this ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> boxPrimitiveCom, TST3DPoint value)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiSimpleBoxPrimitiveModelItem> | boxPrimitiveCom | |
| TST3DPoint | value |