ConnectiveGeometry Class

A class for geometry formed of several geometry sections. Geometry is initialized with polygon geometry and then can be extended by calling one of AddLeg methods using BentPlateGeometrySolver class. In the case of success, two polygon geometries will be connected by cylindrical surface geometry possibly with help of additional polygon geometries. Resulted geometry, then, can be set to bent plate.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Model
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2023.0.3
public sealed class ConnectiveGeometry

The ConnectiveGeometry type exposes the following members.

Public methodConnectiveGeometry(BendSurface)
Initializes a new instance of the ConnectiveGeometry class for a stand-alone bend creation.
Public methodConnectiveGeometry(Contour)
Initializes a new instance of the ConnectiveGeometry class.
Public methodGetConnection
Returns 2 connecting line segments between geometrySection1 and geometrySection2 sections, if sections are connected, otherwise returns empty list.
Public methodGetGeometryEnumerator
Gets a new geometry sections enumerator for enumerating through the geometry sections.
Public methodGetGeometryLegSections
Gets geometry end GeometrySections which are possible to remove.
Public methodGetNeighborSections
Gets neighbor sections of the geometrySection inside this ConnectiveGeometry.
Public methodIsEmpty
Checks whether the geometry is degenerate
Public fieldStatic memberInvalidGeometrySectionIndex
An invalid geometry section index.
using Tekla.Structures.Geometry3d;
using Tekla.Structures.Model;

public class Example
    var contour1 = new Contour();
    contour1.AddContourPoint(new ContourPoint(new Point(6000.0, 8500.0, 0.0), null));
    contour1.AddContourPoint(new ContourPoint(new Point(6000.0, 6000.0, 0.0), null));
    contour1.AddContourPoint(new ContourPoint(new Point(12000.0, 6000.0, 0.0), null));
    contour1.AddContourPoint(new ContourPoint(new Point(12000.0, 8500.0, 0.0), null));
    var geometry = new ConnectiveGeometry(contour1);

    var contour2 = new Contour();
    contour2.AddContourPoint(new ContourPoint(new Point(15000.0, 8500.0, 1000.0), null));
    contour2.AddContourPoint(new ContourPoint(new Point(15000.0, 6000.0, 1000.0), null));
    contour2.AddContourPoint(new ContourPoint(new Point(19600.0, 6000.0, 3500.0), null));
    contour2.AddContourPoint(new ContourPoint(new Point(19600.0, 8500.0, 3500.0), null));

    var radius = 2000.0;
    var bentPlateGeometrySolver = new BentPlateGeometrySolver();
    var newGeometry = bentPlateGeometrySolver.AddLeg(geometry, contour2, radius);
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.