The SurfaceSection object defines the properties of a surface section.
The SurfaceSection object is derived from the Section object.
sectionApi.sections()[name]
This method creates a SurfaceSection object.
sectionApi.SurfaceSection
odb_SurfaceSection& SurfaceSection(const odb_String& name, bool useDensity, double density);
Required argument
An odb_String specifying the repository key.
Optional arguments
A Boolean specifying whether or not to use the value of density. The default value is false.
A Double specifying the value of density to apply to this section. The default value is 0.0.
Return value
A SurfaceSection object.
Exceptions
RangeError and InvalidNameError.
The SurfaceSection object has members with the same names and descriptions as the arguments to the SurfaceSection method.
In addition, the SurfaceSection object can have the following member:
odb_RebarLayers rebarLayers() const;
A RebarLayers object specifying reinforcement properties.