KitchenDraw SDK 2
Show / Hide Table of Contents

Method IsPlacedOnTheLeftOf

IsPlacedOnTheLeftOf(Object, double)

See IsPlacedOnTheLeftOf(Object, double, out double).

Declaration
public bool IsPlacedOnTheLeftOf(Scene.Object referenceObject, double maxDistance = Infinity)
Parameters
Type Name Description
Scene.Object referenceObject
double maxDistance
Returns
Type Description
bool

IsPlacedOnTheLeftOf(Object, double, out double)

Checks where the object is places on the left of the given reference object.

Declaration
public bool IsPlacedOnTheLeftOf(Scene.Object referenceObject, double maxDistance, out double actualDistance)
Parameters
Type Name Description
Scene.Object referenceObject

An object to the left of which this object should be located.

double maxDistance

Maximum distance at which the object is still considered to be 'on the left' of given reference object. Of the object will be located somewhere farther than this distance, false will be returned no matter whether it is located on the left or not.

double actualDistance

Output parameter that takes a value of actual distance between the closest bounding box point if this object and the left side of the reference object.

Returns
Type Description
bool

true if the object is on the left of the reference object, false otherwise.

In this article
Back to top Generated by DocFX