# cee.geo

The geo sub-module provides a GeometryModel that can handle a large number of parts efficiently.

Assuming that the EnvisionWeb client component has been imported into the variable `cee`, members of the geo module may be referenced using the `cee.geo` prefix, e.g.:

    var geoModel = new cee.geo.GeometryModel();

The `GeometryModel` implements a model that can handle a large collection of `Parts` (300k+ without problems).

Here is a simple example of how to create a geometry model containing a single triangle:

    var geoModel = new cee.geo.GeometryModel();

    // Create a simple one triangle one part model
    var indices = [0, 1, 2];
    var triangleVertices = [0,0,0,  1,0,0,  0,1,0];

    let part = geoModel.addPart();
    let mesh = new cee.geo.MeshIndexedTriangles(triangleVertices, indices);
    part.mesh = mesh;

    part.settings.color = new cee.Color3(0, 1, 0);

    var view = myViewer.getViewAt(0);
    view.addModel(geoModel);
    view.requestRedraw();

Enumerations

- MeshPrimitiveType
- PolygonOffset

Classes

- `CgeoModelGenerator`
- `GeometryModel`
- `GeometryModelManipulator`
- `GeometryModelMockups`
- `GeometryModelRemoteLoader`
- `MeshHitItem`
- `MeshIndexedLines`
- `MeshIndexedTriangles`
- `Part`
- `PartSettings`
- `RemoteLoaderStatusInfo`
- `RemoteLoaderTimingInfo`

Interfaces

- `HitItem`
- `Mesh`
- `OptionalIndexedLinesVertexData`
- `OptionalIndexedTriangleVertexData`
- `RemoteLoaderCompleteCallback`
- `RemoteLoaderInitializationCompleteCallback`
- `RemoteLoaderModelInfo`

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...