Class PolygonalPrismModelItemHelper
Inheritance
PolygonalPrismModelItemHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class PolygonalPrismModelItemHelper
Methods
Rotation angle of the prism around its axis, in radians (read-only).
Declaration
public static double GetAngle(this ComWrapper<ICamIpcPolygonalPrismModelItem> com)
Parameters
Returns
Axis the prism is extruded along
Declaration
public static TCylinderAxisType GetAxis(this ComWrapper<ICamIpcPolygonalPrismModelItem> com)
Parameters
Returns
Center point of the prism
Declaration
public static TST3DPoint GetCenter(this ComWrapper<ICamIpcPolygonalPrismModelItem> com)
Parameters
Returns
Upper bound of the prism along its axis
Declaration
public static double GetHMax(this ComWrapper<ICamIpcPolygonalPrismModelItem> com)
Parameters
Returns
Lower bound of the prism along its axis
Declaration
public static double GetHMin(this ComWrapper<ICamIpcPolygonalPrismModelItem> com)
Parameters
Returns
Radius of the circle inscribed into the polygon cross-section
Declaration
public static double GetInscribedR(this ComWrapper<ICamIpcPolygonalPrismModelItem> com)
Parameters
Returns
Number of side facets (min 3). Default 6 for hexagonal bar.
Declaration
public static int GetSideFacetCount(this ComWrapper<ICamIpcPolygonalPrismModelItem> com)
Parameters
Returns
Uniform stock offset added to the prism
Declaration
public static double GetStock(this ComWrapper<ICamIpcPolygonalPrismModelItem> com)
Parameters
Returns
Axis the prism is extruded along
Declaration
public static void SetAxis(this ComWrapper<ICamIpcPolygonalPrismModelItem> com, TCylinderAxisType axis)
Parameters
Center point of the prism
Declaration
public static void SetCenter(this ComWrapper<ICamIpcPolygonalPrismModelItem> com, TST3DPoint center)
Parameters
Upper bound of the prism along its axis
Declaration
public static void SetHMax(this ComWrapper<ICamIpcPolygonalPrismModelItem> com, double value)
Parameters
Lower bound of the prism along its axis
Declaration
public static void SetHMin(this ComWrapper<ICamIpcPolygonalPrismModelItem> com, double value)
Parameters
Radius of the circle inscribed into the polygon cross-section
Declaration
public static void SetInscribedR(this ComWrapper<ICamIpcPolygonalPrismModelItem> com, double value)
Parameters
Number of side facets (min 3). Default 6 for hexagonal bar.
Declaration
public static void SetSideFacetCount(this ComWrapper<ICamIpcPolygonalPrismModelItem> com, int value)
Parameters
Uniform stock offset added to the prism
Declaration
public static void SetStock(this ComWrapper<ICamIpcPolygonalPrismModelItem> com, double stock)
Parameters