RenderStack 11.06.1
Packages | Classes
Package RenderStack.Geometry

Packages

package  Shapes

Classes

class  AttributeMapCollection
 Collection of attributes, to be used in Geometry for example. More...
class  Corner
 A connection between Point and Polygon. More...
struct  Edge
 Connection between two points. More...
class  Geometry
 Maintains connectivity and attribute information for polygon based meshes. More...
class  CatmullClarkGeometryOperation
 Performs Catmull-Clark subdivision operation to Geometry. More...
class  CloneGeometryOperation
 Creates a clone of Geometry. Copies all Polygons, Points, Corners, and copies their (and edges) attributes. More...
class  GeometryOperation
 Base class for Geometry manipulation operations. More...
class  Sqrt3GeometryOperation
class  SubdivideGeometryOperation
class  TriangulateGeometryOperation
class  TruncateGeometryOperation
class  Point
class  Polygon
 A shape defined by the Points that are connected to it through the Corners. More...

Detailed Description

Geometry namespace provides basic classes to manipulate geometric objects with arbitrary attributes.

Points and corners have no attributes attached by default. Any attributes are stored in external attribute maps. Attribute maps are Dictionaries, for example to store point locations one can use Dictionary<Point, Vector3>.

Attribute maps are stored in Geometry class. There are attribute maps for Points, Corners, Polygons and Edges.

Status

This namespace is mostly stable.

Dependencies

RenderStack.Math

Used by

RenderStack.Mesh

Warning:
Truncate is not always working right, and known to enter endless loop for certain geometries.
Todo:

Fix known issues with truncate

Add operations to cleanup and fix geometry

Profile and optimize if necessary