Class Region
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
Region(List<Contour>)
public Region(List<Contour> contours)
Parameters
Region(List<Contour>, Plane)
public Region(List<Contour> contours, Plane plane)
Parameters
Region(List<Point3d>, Plane)
Create region by points and coordinate system.
public Region(List<Point3d> points, Plane plane)
Parameters
pointsList<Point3d>List of sorted points defining the outer perimeter of the region.
planePlaneCoordinate system of the region
Properties
Contours
public List<Contour> Contours { get; set; }
Property Value
IsPlanar
public bool IsPlanar { get; }
Property Value
LocalZ
Used for panels and sections
public Vector3d LocalZ { get; set; }
Property Value
Plane
public Plane Plane { get; set; }
Property Value
_contours
public List<Contour> _contours { get; set; }
Property Value
Methods
Area(List<Point3d>)
public static double Area(List<Point3d> points)
Parameters
Returns
FromSlab(Slab)
Get region from a Slab.
public static Region FromSlab(Slab slab)
Parameters
slabSlab
Returns
GetEdgeConnections()
Get all EdgeConnection from all Edges in Region.
public List<EdgeConnection> GetEdgeConnections()
Returns
GetPredefinedRigidities()
Get all PredefinedRigidities from all Edges in Region
public List<RigidityDataLibType3> GetPredefinedRigidities()
Returns
RectangleXY(Point3d, double, double)
public static Region RectangleXY(Point3d corner, double widthX, double widthY)
Parameters
Returns
RectangleXY(double, double)
public static Region RectangleXY(double widthX, double widthY)
Parameters
Returns
RectangleXZ(Point3d, double, double)
public static Region RectangleXZ(Point3d corner, double widthX, double heightZ)
Parameters
Returns
RectangleXZ(double, double)
public static Region RectangleXZ(double width, double height)
Parameters
Returns
RectangleYZ(Point3d, double, double)
public static Region RectangleYZ(Point3d corner, double widthY, double heightZ)
Parameters
Returns
RectangleYZ(double, double)
public static Region RectangleYZ(double widthY, double heightZ)
Parameters
Returns
RemoveEdgeConnections()
Returns a new instance of region, without any EdgeConnections.
public Region RemoveEdgeConnections()
Returns
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
edgeConnectionEdgeConnectionindexint
SetEdgeConnections(EdgeConnection)
Set EdgeConnection on all Edges in Region.
public void SetEdgeConnections(EdgeConnection edgeConnection)
Parameters
edgeConnectionEdgeConnection
SetEdgeConnections(List<EdgeConnection>)
public void SetEdgeConnections(List<EdgeConnection> edgeConnections)
Parameters
edgeConnectionsList<EdgeConnection>
SetPredefinedRigidities(List<RigidityDataLibType3>)
Set line connection types (i.e predefined line connection type) on region edges
public void SetPredefinedRigidities(List<RigidityDataLibType3> predefinedTypes)
Parameters
predefinedTypesList<RigidityDataLibType3>
Operators
implicit operator Region_type(Region)
public static implicit operator Region_type(Region obj)
Parameters
objRegion
Returns
implicit operator Region(Region_type)
public static implicit operator Region(Region_type obj)
Parameters
objRegion_type