# cee::ug::CuttingPlaneTriangulationCallback

class `CuttingPlaneTriangulationCallback` : public RefCountedObject

  Abstract base class for custom triangulation of cutting plane contours.

  Public Functions

  `CuttingPlaneTriangulationCallback`() = default
  virtual bool `generateTriangles`(const CuttingPlaneContourData &cutContourData, CuttingPlaneTriangulationData *triangulationData) = 0

    Generates triangles from cutting plane contour data.

    The generateTriangles function will be called for each individual contour in the cutting plane. The callback should generate triangles from the contour data and store the results in the output structure.

    Parameters: | cutContourData – Struct containing contour nodes, edges, and plane normal triangulationData – Populated CuttingPlaneTriangulationResult with triangulation data
    Returns: | True if triangulation was successful, false otherwise

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Desktop or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...