# cee::ug::CuttingPlaneData

class `CuttingPlaneData`

  Returns raw node coordinates and result values for a cutting plane.

  Get the cutting plane data using CuttingPlane::data().

  See also

  CuttingPlane

  Public Functions

  `CuttingPlaneData`()

    Constructs an empty object.

  void `allTriangles`(std::vector<unsigned int> *triangles) const

    Gets all triangle data as an array of vertices.

  void `allVertices`(std::vector<Vec3d> *vertices) const

    Gets all vertices as an array.

  void `allScalarResults`(std::vector<double> *scalarResult) const

    Gets all scalar result values as a double array.

  void `allVectorResults`(std::vector<Vec3d> *vectorResult) const

    Gets all vector result values as an array of vectors.

  void `allTrianglesSourceElementIndices`(std::vector<size_t> *elementIndices) const

    Gets an array with the index of the source element for each triangle returned by allTriangles()

    If using the CuttingPlane::data() method, get the part index for each triangle with the allTrianglesSourcePartIndices() method.

  void `allTrianglesSourcePartIndices`(std::vector<size_t> *partIndices) const

    Gets an array with the index of the source part for each triangle returned by allTriangles()

    Note: If provided by CuttingPlane::partData(), this array will be empty, as all triangles will come from the specified part

  void `allLines`(std::vector<unsigned int> *lines) const

    Gets all line data as an array of vertices.

    Each line is described by the start and end index into the vertices and results arrays

  void `allLinesSourceElementIndices`(std::vector<size_t> *elementIndices) const

    Gets an array with the index of the source element for each line returned by allLines()

    If using the CuttingPlane::data() method, get the part index for each triangle with the allLinesSourcePartIndices() method.

  void `allLinesSourcePartIndices`(std::vector<size_t> *partIndices) const

    Gets an array with the index of the source part for each line returned by allLines()

    Note: If provided by CuttingPlane::partData(), this array will be empty, as all lines will come from the specified part

  void `allOriginalTriangles`(std::vector<unsigned int> *triangles, std::vector<Vec3d> *vertices)

    Gets the original triangles (indices and vertices)

    Original means that these are the computed triangles that have welded nodes and comprises the surface, and is not split due to PER_ELEMENT or PER_ELEMENT_NODE mapped results or collapsed triangles etc.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Envision for Desktop in your own language, 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...