The ArbitraryProfile object defines the properties of an arbitrary profile.
The ArbitraryProfile object is derived from the Profile object.
sectionApi.profiles()[name]
This method creates a ArbitraryProfile object.
sectionApi.ArbitraryProfile
odb_ArbitraryProfile& ArbitraryProfile(const odb_String& name, const odb_SequenceSequenceDouble& table);
Required arguments
An odb_String specifying the repository key.
An odb_SequenceSequenceDouble specifying the items described below.
Optional arguments
Table data
The first sequence in the table specifies the following:
1-coordinate of the first point defining the profile.
2-coordinate of the first point defining the profile.
1–coordinate of the next point defining the profile.
2–coordinate of the next point defining the profile.
The thickness of the segment ending at that point.
Return value
An ArbitraryProfile object.
Exceptions
RangeError.
The ArbitraryProfile object has members with the same names and descriptions as the arguments to the ArbitraryProfile method.