No documentation available.
More...
Data and other attributes inherited from Boost.Python.instance: |
def | __new__ |
Additional Inherited Members |
def | __init__ |
Detailed Description
No documentation available.
Method resolution order
EvenSpacing
ModelPin
Boost.Python.instance
builtin.object
Constructor & Destructor Documentation
def ModelPins.EvenSpacing.__init__ |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type None
C++ signature :
void __init__(_object*,int)
Member Function Documentation
def ModelPins.EvenSpacing.__dict__ |
( |
|
args | ) |
|
def ModelPins.EvenSpacing.__new__ |
( |
|
args | ) |
|
T.__new__(S, ...) -> a new object with type S, a subtype of T
__new__ = <built-in method __new__ of Boost.Python.class object>
Reimplemented from ModelPins.ModelPin.
def ModelPins.EvenSpacing.__reduce__ |
( |
|
args | ) |
|
def ModelPins.EvenSpacing.__weakref__ |
( |
|
args | ) |
|
def ModelPins.EvenSpacing.AddAffectedEnd |
( |
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3, |
|
|
|
arg4 |
|
) |
| |
- Returns
- Instance of type bool
This takes three arguments. The space index, the member number, and then 0 for left, or 1 for right end. You can pass 0 for the spacing index if you then call CalculateSpacing when you're finished adding ends.
C++ signature :
bool AddAffectedEnd(SDS2::ModelRestraint::EvenSpacing {lvalue},int,int,int)
def ModelPins.EvenSpacing.CalculateSpacing |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type bool
You can pass 0 for the first argument of AddAffectedEnd, and then call this when you've added all of your ends. It will calculate those indexes for you. It returns True if it could calculate them and False if they're not evenly spaced.
This takes one argument, if True it will move ends to space them evenly. If False it will fail if ends aren't already evenly spaced.
C++ signature :
bool CalculateSpacing(SDS2::ModelRestraint::EvenSpacing {lvalue},bool)
def ModelPins.EvenSpacing.Description |
( |
|
arg1 | ) |
|
- Returns
- Instance of type str
Returns a string describing the pin that's intended to be presented to users.
C++ signature :
std::string Description(SDS2::ModelRestraint::ModelRestraint {lvalue})
Reimplemented from ModelPins.ModelPin.
def ModelPins.EvenSpacing.GetNoSpace |
( |
|
arg1 | ) |
|
- Returns
- Instance of type bool
C++ signature :
bool GetNoSpace(SDS2::ModelRestraint::EvenSpacing {lvalue})
def ModelPins.EvenSpacing.GetSpace1 |
( |
|
arg1 | ) |
|
- Returns
- Instance of type float
C++ signature :
double GetSpace1(SDS2::ModelRestraint::EvenSpacing {lvalue})
def ModelPins.EvenSpacing.GetSpace2 |
( |
|
arg1 | ) |
|
- Returns
- Instance of type float
C++ signature :
double GetSpace2(SDS2::ModelRestraint::EvenSpacing {lvalue})
def ModelPins.EvenSpacing.GetSpacingMember |
( |
|
arg1 | ) |
|
- Returns
- Instance of type int
C++ signature :
int GetSpacingMember(SDS2::ModelRestraint::EvenSpacing {lvalue})
def ModelPins.EvenSpacing.RemoveAffectedEnd |
( |
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3 |
|
) |
| |
- Returns
- Instance of type None
C++ signature :
void RemoveAffectedEnd(SDS2::ModelRestraint::EvenSpacing {lvalue},int,int)
def ModelPins.EvenSpacing.SetNoSpace |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type None
C++ signature :
void SetNoSpace(SDS2::ModelRestraint::EvenSpacing {lvalue},bool)
def ModelPins.EvenSpacing.SetSpace1 |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type None
C++ signature :
void SetSpace1(SDS2::ModelRestraint::EvenSpacing {lvalue},double)
def ModelPins.EvenSpacing.SetSpace2 |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type None
C++ signature :
void SetSpace2(SDS2::ModelRestraint::EvenSpacing {lvalue},double)
def ModelPins.EvenSpacing.SetSpacingMember |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type None
C++ signature :
void SetSpacingMember(SDS2::ModelRestraint::EvenSpacing {lvalue},int)
Member Data Documentation
int ModelPins.EvenSpacing.__instance_size__ = 40 |
|
staticprivate |