{
public:
- //! Generate primitives for 3D quadric surface and return a filled array.
+ //! Generate primitives for 3D quadric surface.
+ //! @param theRadius [in] sector radius
+ //! @param theNbSlices [in] number of slices within U parameter
+ //! @param theNbStacks [in] number of stacks within V parameter
+ //! @param theTrsf [in] optional transformation to apply
+ //! @return generated triangulation
Standard_EXPORT static Handle(Graphic3d_ArrayOfTriangles) Create (const Standard_Real theRadius,
const Standard_Integer theNbSlices,
const Standard_Integer theNbStacks,
const gp_Trsf& theTrsf);
public:
- //! Initializes the algorithm.
+ //! Initializes the algorithm creating a sector (quadrant).
+ //! @param theRadius [in] sector radius
+ //! @param theNbSlices [in] number of slices within U parameter
+ //! @param theNbStacks [in] number of stacks within V parameter
Standard_EXPORT Prs3d_ToolSector (const Standard_Real theRadius,
const Standard_Integer theNbSlices,
const Standard_Integer theNbStacks);
protected:
- Standard_Real myRadius;
+ Standard_Real myRadius; //!< sector radius
};