Table of Contents

Class Region

Namespace
FemDesign.Geometry
Assembly
FemDesign.Core.dll

region_type

Surfaces in FEM-Design are expressed as regions of contours (outlines). This extended region also contains a LCS to keep track of directions.

public class Region
Inheritance
Region
Inherited Members
Extension Methods

Constructors

Region(Contour, List<Contour>)

Construct a region with holes from an outer contour and inner contours. The direction of the holes contours are assumed to be opposite to the outer.

public Region(Contour outerContour, List<Contour> holesContours)

Parameters

outerContour Contour
holesContours List<Contour>

Region(List<Contour>)

public Region(List<Contour> contours)

Parameters

contours List<Contour>

Region(List<Contour>, Plane)

public Region(List<Contour> contours, Plane plane)

Parameters

contours List<Contour>
plane Plane

Region(List<Point3d>, Plane)

Create region by points and coordinate system.

public Region(List<Point3d> points, Plane plane)

Parameters

points List<Point3d>

List of sorted points defining the outer perimeter of the region.

plane Plane

Coordinate system of the region

Properties

Contours

public List<Contour> Contours { get; set; }

Property Value

List<Contour>

IsPlanar

public bool IsPlanar { get; }

Property Value

bool

LocalZ

Used for panels and sections

public Vector3d LocalZ { get; set; }

Property Value

Vector3d

Plane

public Plane Plane { get; set; }

Property Value

Plane

_contours

public List<Contour> _contours { get; set; }

Property Value

List<Contour>

Methods

Area(List<Point3d>)

public static double Area(List<Point3d> points)

Parameters

points List<Point3d>

Returns

double

FromSlab(Slab)

Get region from a Slab.

public static Region FromSlab(Slab slab)

Parameters

slab Slab

Returns

Region

GetEdgeConnections()

Get all EdgeConnection from all Edges in Region.

public List<EdgeConnection> GetEdgeConnections()

Returns

List<EdgeConnection>

GetPredefinedRigidities()

Get all PredefinedRigidities from all Edges in Region

public List<RigidityDataLibType3> GetPredefinedRigidities()

Returns

List<RigidityDataLibType3>

RectangleXY(Point3d, double, double)

public static Region RectangleXY(Point3d corner, double widthX, double widthY)

Parameters

corner Point3d
widthX double
widthY double

Returns

Region

RectangleXY(double, double)

public static Region RectangleXY(double widthX, double widthY)

Parameters

widthX double
widthY double

Returns

Region

RectangleXZ(Point3d, double, double)

public static Region RectangleXZ(Point3d corner, double widthX, double heightZ)

Parameters

corner Point3d
widthX double
heightZ double

Returns

Region

RectangleXZ(double, double)

public static Region RectangleXZ(double width, double height)

Parameters

width double
height double

Returns

Region

RectangleYZ(Point3d, double, double)

public static Region RectangleYZ(Point3d corner, double widthY, double heightZ)

Parameters

corner Point3d
widthY double
heightZ double

Returns

Region

RectangleYZ(double, double)

public static Region RectangleYZ(double widthY, double heightZ)

Parameters

widthY double
heightZ double

Returns

Region

RemoveEdgeConnections()

Returns a new instance of region, without any EdgeConnections.

public Region RemoveEdgeConnections()

Returns

Region

Reverse()

Reverse the contours in this region

public void Reverse()

SetEdgeConnection(EdgeConnection, int)

Set EdgeConnection on Edge in region by index.

public void SetEdgeConnection(EdgeConnection edgeConnection, int index)

Parameters

edgeConnection EdgeConnection
index int

SetEdgeConnections(EdgeConnection)

Set EdgeConnection on all Edges in Region.

public void SetEdgeConnections(EdgeConnection edgeConnection)

Parameters

edgeConnection EdgeConnection

SetEdgeConnections(List<EdgeConnection>)

public void SetEdgeConnections(List<EdgeConnection> edgeConnections)

Parameters

edgeConnections List<EdgeConnection>

SetPredefinedRigidities(List<RigidityDataLibType3>)

Set line connection types (i.e predefined line connection type) on region edges

public void SetPredefinedRigidities(List<RigidityDataLibType3> predefinedTypes)

Parameters

predefinedTypes List<RigidityDataLibType3>

Operators

implicit operator Region_type(Region)

public static implicit operator Region_type(Region obj)

Parameters

obj Region

Returns

Region_type

implicit operator Region(Region_type)

public static implicit operator Region(Region_type obj)

Parameters

obj Region_type

Returns

Region