com.azalient.api.a.position
Interface IBezierAssociate

All Superinterfaces:
IActionable, IAssociate, IDraggable, ILineStyler

public interface IBezierAssociate
extends IAssociate, ILineStyler


Field Summary
 
Fields inherited from interface com.azalient.api.ui.clipboard.IAssociate
scratch, ZERO
 
Fields inherited from interface com.azalient.api.b.display.ILineStyler
DASH_PATTERN
 
Method Summary
 boolean alwaysSteerToPath()
          Return true if an agent should always steer towards the path centreline, even if it is inside the width of the path
 int capacity()
          Returns the capacity of this associate, for example a walkway that has limtied space
 void halfWidthE(double d)
          Set the half width at the end of this associate
 void halfWidthS(double d)
          Set the half width at the start of this associate
 boolean hasAngledEnds()
          Return true if the object has angled ends (the Angle Handles have been moved)
 boolean isJoiner()
          Return true if the associate is a joiner, like a valid course or a stream (with another bezier at each end)
 IBezier joinedFrom()
          Return the joined bezier at the start of this one, valid only if isJoiner() is true
 IBezier joinedTo()
          Return the joined bezier at the end of this one, valid only if isJoiner() is true
 double outside(double agentHalfWidth, double pathHalfWidth, double signedDistanceFromPath)
          Return the distance the given agent is outside the preferred pathway
 boolean overshootEnd()
          Return true if it is possible for agents to overshoot the end.
 int preferredSide()
          Returns -1, 0, or +1 for the preferred side that agents will use on this associate
 boolean railed()
          Returns true if this (lane) associate is a railway
 double stepLength()
          Return step length in metres, or zero for no steps
 boolean stepped()
          Returns true if this (walkway) associate is stepped
 boolean walled()
          Returns true if this (walkway) associate is walled
 
Methods inherited from interface com.azalient.api.ui.clipboard.IAssociate
clip, name, proxy, selected
 
Methods inherited from interface com.azalient.api.ui.clipboard.IDraggable
selected, selectedForDraggingDraw
 
Methods inherited from interface com.azalient.api.ui.clipboard.IActionable
action
 
Methods inherited from interface com.azalient.api.b.display.ILineStyler
lineDashedAt
 

Method Detail

alwaysSteerToPath

boolean alwaysSteerToPath()
Return true if an agent should always steer towards the path centreline, even if it is inside the width of the path


outside

double outside(double agentHalfWidth,
               double pathHalfWidth,
               double signedDistanceFromPath)
Return the distance the given agent is outside the preferred pathway


stepLength

double stepLength()
Return step length in metres, or zero for no steps


hasAngledEnds

boolean hasAngledEnds()
Return true if the object has angled ends (the Angle Handles have been moved)


overshootEnd

boolean overshootEnd()
Return true if it is possible for agents to overshoot the end. This is normally true, and false for special cases like filter lanes


isJoiner

boolean isJoiner()
Return true if the associate is a joiner, like a valid course or a stream (with another bezier at each end)


joinedFrom

IBezier joinedFrom()
Return the joined bezier at the start of this one, valid only if isJoiner() is true


joinedTo

IBezier joinedTo()
Return the joined bezier at the end of this one, valid only if isJoiner() is true


halfWidthS

void halfWidthS(double d)
Set the half width at the start of this associate


halfWidthE

void halfWidthE(double d)
Set the half width at the end of this associate


walled

boolean walled()
Returns true if this (walkway) associate is walled


stepped

boolean stepped()
Returns true if this (walkway) associate is stepped


railed

boolean railed()
Returns true if this (lane) associate is a railway


preferredSide

int preferredSide()
Returns -1, 0, or +1 for the preferred side that agents will use on this associate


capacity

int capacity()
Returns the capacity of this associate, for example a walkway that has limtied space