Skip to content

Detail Structure

Michalina Dengusiak edited this page Apr 6, 2021 · 1 revision

Object hierarchy structure

Geometry

2D - Planar

Point2D - a point that is a primitive notion upon which the geometry is built, and is described in 2D (Wikipedia)
Line2D - a straight line, which has no thickness, and extends in both directions without end (in infinity) (Wikipedia) ## Vector2D - described in 2D Wiki.

Segment2D - a part of a line that is bound by two distinct endpoints (Wikipedia)
Polygon2D - a plane figure that is described by a finite number of straight-line segments connected to form a closed polygonal chain or polygonal circuit described by 2D defined points, this can query Segment2D Wiki

Rectangle2D - is described in 2D,and, is similar to a BoundingBox2D but does not need to be parallel to X and Y-axis. Triangle2D - is described in 2D.
Circle2D - is described in 2D.
Arc2D - is described in 2D (Wikipedia).

BoundingBox2D - is described in 2D, and is always parallel to X and Y-axis. This can query any geometry apart from Point2D Wiki
ICurve2D - is described in 2D.
ISAMGeometry2D - interface any geometry object above in 2D.
SAMGeometry2D - class any geometry object above in 2D.

3D - Spatial,

Point3D - a point is a primitive notion upon which the geometry is built, it is described in 3D Wiki
Segment3D - made of two Point3D

Polyline3D - a polyline can be open and not planar, icruvable, isegmentable
PolyCurve3D - a polyline, maybe made from curves,icruvable
PolyCurveLoop3D - a polyline, maybe made from curves, always closed,icruvable
Circle3D - circle 2D on a specific plane, iplanar
Triangle3d - Triangle2D on specific plane, icruvable, iplanar, isegmentable
BoundingBox3d - box limited by min and max point, icruvable, isegmentable
Vector3d - Vector in 3D
Extrusion - GH Loft, Revit - Extrudsion, so face extruded/lofted by vector
Sphere - Sphere, solid ICurve3D - described in 3D.
Surface - any bounded closed shape in 3D

Polygon3D - a polygon is a plane figure that is described by a finite number of segments (line connected by 2 points) connected to form a closed polygonal chain or polygonal circuit described in 3D.Wiki like polyline but always planar: closed, closedPlanar, iplanar, isegmentable Face3D - planar representation so flat on the plane described in 3D but may contain curvy edges, from PlanarBoundary3D we can extract Face3D and Face3D is made from Polygon3D and includes edges, internal, closed, closedPlanar, iplanar, icruvable
SAMGeometry3D - any object above in 3D.
SAMGeometry - any object above in 2D or 3D.

Architectural

Levels - list of Levels contrains elevation

Analytical

BoundaryEdge2DLoop - a 2D edge is a particular type of Curve2D. Belong to PlanarBoudry Wiki
BoundaryEdge2D - an 2D edge is a particular type Curve2D. Belong to Opening [Wiki] (https://en.wikipedia.org/wiki/Edge_(geometry))
BoundaryEdge3DLoop - BoundaryEdge3DLoop transform by plane
BoundaryEdge3D - one item from BoundaryEdge3DLoop in contains geometry and data ie. thermal bridges
PlanarBoundary3D - list of BoundaryEdges2DLoop on a given plane and may include internal edges (as list of Edges2DLoops)
Opening - Window, Door, Rooflight belong to Panel made by Edges, could be converted to PlanarBoudry
Panel - Wall, Floor, Roof that might have Openings or Shade, is made of PlanarBoundary3D and could be converted to Face for geometry only
Space - Manifold/ watertight Space belong to Building, made by Panels Wiki
Model - cluster of one or more spaces and panels, contains Levels

Samples

Get Polyline form Planel

SAM Core

Panel-> PlanarBoundary3D-> Face3D-> Polygon3D
SAM.Analytical SAM.Analytical SAM.Geometry SAM.Geometry
PlanarBoundary3D BoundaryEdges2DLoop Edge IClosed2D+Plane Closed
N/A BoundaryEdge2D ExternalEdge IClosed2D+Plane Planar
N/A N/A InternalEdge IClosed2D+Plane Segmentable

Test

Clone this wiki locally