An interface to Alias Min Max locators.
#include <AlMinmaxLocator.h> class AlMinmaxLocator : public AlLocator AlMinmaxLocator(); virtual ~AlMinmaxLocator(); virtual AlObject * copyWrapper() const; virtual AlObjectType type() const; statusCode create(const AlCurve *, const AlCurve *); statusCode create(const AlCurve *, const AlCurveOnSurface *); statusCode create(const AlCurveOnSurface *, const AlCurveOnSurface *); statusCode create(const AlSurface *, const AlSurface *); statusCode create(const AlCurve *, const AlSurface *); statusCode create(const AlCurveOnSurface *, const AlSurface *); statusCode setCombDisplay (boolean) ; statusCode combDisplay (boolean &) const; statusCode setCombScale (double) ; statusCode combScale (double &) const; statusCode setCombThreshold (double) ; statusCode combThreshold (double &) const; statusCode setCombDensity (double) ; statusCode combDensity (double &) const; statusCode minimumDistance (double &) const; statusCode maximumDistance (double &) const; statusCode setLeftJustifyMinDistance(boolean); statusCode leftJustifyMinDistance(boolean &) const; statusCode setLeftJustifyMaxDistance(boolean); statusCode leftJustifyMaxDistance(boolean &) const; statusCode attachedTo( AlObject *&, AlObject *& );
A min max locator finds and displays the minimum and maximum distance between any two of: curves, curves on surface, or surfaces. This class contains methods to create, query the distance and set the display attributes in the Alias windows.
Constructs an AlMinmaxLocator wrapper object.
Deletes an AlMinmaxLocator wrapper object.
Returns an exact copy of the AlMinmax wrapper.
Returns the class identifier kMinmaxLocatorType.
Creates a Minmax locator between two curves.
< curve1 - the first curve
< curve2 - the second curve
sSuccess - the minmax locator was created
sFailure - the minmax locator was not created
sInvalidArgument - either one or both curves were invalid
sAlreadyCreated - object has already been created
Creates a Minmax locator between two curves on surface.
< curve1 - the first curve on surface
< curve2 - the second curve on surface
sSuccess - the minmax locator was created
sFailure - the minmax locator was not created
sInvalidArgument - either one or both curves on surface were invalid
sAlreadyCreated - object has already been created
Creates a Minmax locator between a curve and a curve on surface.
< curve1 - the first curve
< curve2 - the second curve on surface
sSuccess - the minmax locator was created
sFailure - the minmax locator was not created
sInvalidArgument - either one or both curves were invalid
sAlreadyCreated - object has already been created
Creates a Minmax locator between two surfaces.
< surface1 - the first surface
< surface2 - the second surface
sSuccess - the minmax locator was created
sFailure - the minmax locator was not created
sInvalidArgument - either one or both surfaces were invalid
sAlreadyCreated - object has already been created
Creates a Minmax locator between a curve and a surface.
< curve1 - the first curve
< surface2 - the second surface
sSuccess - the minmax locator was created
sFailure - the minmax locator was not created
sInvalidArgument - either one or both curves or surfaces were invalid
sAlreadyCreated - object has already been created
Creates a Minmax locator between a curve on surface and a surface.
< curve1 - the first curve on surface
< surface2 - the second surface
sSuccess - the minmax locator was created
sFailure - the minmax locator was not created
sInvalidArgument - either one or both curves or surfaces were invalid
sAlreadyCreated - object has already been created
Sets the display of comb in the Alias modeling window for the Minmax locator.
< display - a value of true sets comb display and false turns the display off
sSuccess - the display mode was set successfully
sInvalidObject - the object is not valid
Determines whether the comb of the Minmax locator is displayed in the Alias modeling windows.
> display - it is true if the comb is displayed, false otherwise
sSuccess - the display mode was found
sInvalidObject - the object is not valid
Sets the scale of the comb display for Minmax locator in the Alias modeling window.
< scale - the scale of the comb display
sSuccess - the scale of the comb was set successfully
sInvalidObject - the object is not valid
Finds the scale of the comb display for Minmax locator in the Alias modeling windows.
> scale - the scale of the comb display
sSuccess - the comb scale was found
sInvalidObject - the object is not valid
Sets the threshold of the comb display for Minmax locator in the Alias modeling window.
< threshold - the threshold of the comb display
sSuccess - the threshold of the comb was set successfully
sInvalidObject - the object is not valid
Finds the threshold of the comb display for Minmax locator in the Alias modeling windows.
> threshold - the threshold of the comb display
sSuccess - the comb threshold was found
sInvalidObject - the object is not valid
Sets the density of the comb display for Minmax locator in the Alias modeling window.
< density - the density of the comb display
sSuccess - the density of the comb was set successfully
sInvalidObject - the object is not valid
Finds the density of the comb display for Minmax locator in the Alias modeling windows.
> density - the density of the comb display
sSuccess - the comb density was found
sInvalidObject - the object is not valid
Finds the minimum distance for the Minmax locator.
> dist - the minimum distance
sSuccess - the minimum distance was found
sInvalidObject - the object is not valid
Finds the maximum distance for the Minmax locator.
> dist - the maximum distance
sSuccess - the maximum distance was found
sInvalidObject - the object is not valid
Sets the justification of the text for the minimum distance for minmax locator. The text can be right justified or left justified.
< leftJustify - a value of true makes the text left justified and a value false makes it right justified
sSuccess - setting was successful
sInvalidObject - the object is not valid
Finds whether the text of minimum distance in minmax locator is left justified or right justified.
> leftJustify - a value of true indicates that it is left justified and false indicates that it is right justified.
sSuccess - the justification was found
sInvalidObject - the object is not valid
Sets the justification of the text for the maximum distance for minmax locator. The text can be right justified or left justified.
< leftJustify - a value of true makes the text left justified and a value false makes it right justified
sSuccess - setting was successful
sInvalidObject - the object is not valid
Finds whether the text of maximum distance in minmax locator is left justified or right justified.
> leftJustify - a value of true indicates that it is left justified and false indicates that it is right justified
sSuccess - the justification was found
sInvalidObject - the object is not valid
Returns the objects that are used to create the min/max locator. The objects returned can be curves on surfaces, curve nodes or surface nodes.
> objectOne, objectTwo - attached to objects
sSuccess - the attached to objects were found
sInvalidObject - the object is not valid
sFailure - the method failed