Method IsPlacedOnTheRightOf
IsPlacedOnTheRightOf(Object, double)
Declaration
public bool IsPlacedOnTheRightOf(Scene.Object referenceObject, double maxDistance = Infinity)
Parameters
| Type | Name | Description |
|---|---|---|
| Scene.Object | referenceObject | |
| double | maxDistance |
Returns
| Type | Description |
|---|---|
| bool |
IsPlacedOnTheRightOf(Object, double, out double)
Checks where the object is places on the right of the given reference object.
Declaration
public bool IsPlacedOnTheRightOf(Scene.Object referenceObject, double maxDistance, out double actualDistance)
Parameters
| Type | Name | Description |
|---|---|---|
| Scene.Object | referenceObject | An object to the right of which this object should be located. |
| double | maxDistance | Maximum distance at which the object
is still considered to be 'on the right' of given referenct
object. Of the object will be located somewhere farther than
this distance, |
| double | actualDistance | Output parameter that takes a value of actual distance between the closest bounding box point if this object and the right side of the reference object. |
Returns
| Type | Description |
|---|---|
| bool |
|