# cee::geo::DataPoints

class `DataPoints` : public Data

  Data structure representing points data for a geometry part used in the GeometryModel

  Describes a point cloud.

  See also

  GeometryModel, Part and Data

  Public Functions

  `DataPoints`()

    Constructs an empty data object.

  `DataPoints`(const std::vector<Vec3d> &vertices)

    Constructs a data points object from the specified vertices.

  virtual Type `type`() const

    Returns Data::POINTS.

  virtual BoundingBox `boundingBox`() const

    Returns the bounding box of the part data.

  std::vector<Vec3d> `vertices`() const

    Returns array of vertices used to build up the point cloud.

    See also

    setVertices

  void `setVertices`(const std::vector<Vec3d> &vertices)

    Sets vertices of all the points.

    See also

    vertices

  size_t `pointCount`() const

    Returns number of points.

  void `removeAll`()

    Clears all data.

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