IBridge¶
- class IBridge¶
Bases:
ImpactCOMWrapperBase- Summary:
Represents a bridge on a line, arc or bezer entity.
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property centre_absolute¶
Gets centre_absolute.
- Summary:
Gets the distance from the start of the entity to the centre of this bridge.
- Returns:
The value of centre_absolute.
- Return type:
centre_absolute (float)
Examples:
- property centre_relative¶
Gets centre_relative.
- Summary:
Gets the distance from the previous bridge to the centre of this bridge.
- Remarks:
If this is the first bridge this property will return the same value as the centre_absolute property.
- Returns:
The value of centre_relative.
- Return type:
centre_relative (float)
Examples:
- property start_absolute¶
Gets start_absolute.
- Summary:
Gets the distance from the start of the entity to the start of this bridge.
- Returns:
The value of start_absolute.
- Return type:
start_absolute (float)
Examples:
- property start_relative¶
Gets start_relative.
- Summary:
Gets the distance from the previous bridge to the start of this bridge.
- Remarks:
If this is the first bridge this property will return the same value as the start_absolute property.
- Returns:
The value of start_relative.
- Return type:
start_relative (float)
Examples:
- property width¶
Gets Width.
- Summary:
Gets the width of the bridge.
- Returns:
The value of Width.
- Return type:
width (float)
Examples:
- isNone()¶
Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.
Examples