# Mesh

class `cee.geo.``Mesh`()

  A Mesh defines the geometry (primitives) of a Part.

  Common interface for all Mesh classes.

Properties

- `boundingBox`
- `primitiveCount`
- `primitiveType`
- `vertexCount`

Methods

- `getPrimitiveVertices`
- `rayIntersect`

## Properties

`Mesh.``boundingBox`

  Type: | BoundingBox

  The `BoundingBox` of the mesh.

`Mesh.``primitiveCount`

  Type: | number

  The number of primitives in the mesh.

`Mesh.``primitiveType`

  Type: | MeshPrimitiveType

  The type of primitives that are used in the mesh.

`Mesh.``vertexCount`

  Type: | number

  The number of vertices in the mesh.

## Methods

### getPrimitiveVertices

`Mesh.``getPrimitiveVertices`(primitiveIndex)

  Arguments: | primitiveIndex (`number`) – None

  Returns the vertex indices of a given primitive.

  Return type: | [Vec3]

### rayIntersect

`Mesh.``rayIntersect`(ray[, hitItem])

  Arguments: | ray (`Ray`) – None hitItem (`MeshHitItem`) – optional None

  Performs picking on the mesh.

  Return type: | boolean

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

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

What is HOOPS Envision for Web?
What are the latest release notes for HOOPS Envision for Web?
How do I start evaluating HOOPS Envision for Web?
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...