All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SPAkern Class UNDEFC

SPAbase.ACIS_OBJECT
  |
  +---SPAkern.ENTITY
    |
    +---SPAkern.CURVE
      |
      +---UNDEFC
 

Usage: you must use this class as is. You should never derive it.


public class UNDEFC

Defines a curve that is undefined except for its end points as an object in the model.

Role: This class defines an undefined curve that records the start and end points, directions, and curvatures. The start point has a parameter value of 0 and the end point has a parameter value of 1. No other points are defined.


Constructor and Destructor Index


o UNDEFC()
C++ allocation constructor requests memory for this object but does not populate it.
o UNDEFC(SPAposition const&,SPAunit_vector const&,SPAvector const&,SPAposition const&,SPAunit_vector const&,SPAvector const&)
C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.
o UNDEFC(undefc const&)
C++ copy constructor requests memory for this object and populates it with the data from the object supplied as an argument.

Method Index


o end_curv()
Returns the curvature at the end of the curve.
o end_dir()
Returns the direction at the end of the curve.
o end_point()
Returns the point at the end of the curve.
o equation()
Returns the curve equation for reading only.
o equation_for_update()
Returns the curve equation, checking first for backup.
o operator*=(SPAtransf const&)
Transforms the stored undefc in place.
o set_end_curv(SPAvector const&)
Sets the curvature at the end of the curve.
o set_end_dir(SPAunit_vector const&)
Sets the direction at the end of the curve.
o set_end_point(SPAposition const&)
Sets the point at the end of the curve.
o set_start_curv(SPAvector const&)
Sets the curvature at the start of the curve.
o set_start_dir(SPAunit_vector const&)
Sets the direction at the start of the curve.
o set_start_point(SPAposition const&)
Sets the point at the start of the curve.
o start_curv()
Returns the curvature at the start of the curve.
o start_dir()
Returns the direction at the start of the curve.
o start_point()
Returns the point at the start of the curve.
o trans_curve(SPAtransf const&,logical)
Returns a new curve, which is the undefc of the UNDEFC, transformed if the given transformation is not NULL.

Constructor and Destructor


o UNDEFC
public UNDEFC()
C++ allocation constructor requests memory for this object but does not populate it. The allocation constructor is used primarily by restore. Applications should call this constructor only with the overloaded new operator, because this reserves the memory on the heap, a requirement to support roll back and history management.
o UNDEFC
public UNDEFC(SPAposition const& ,
SPAunit_vector const& ,
SPAvector const& ,
SPAposition const& ,
SPAunit_vector const& ,
SPAvector const& )
C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments. Applications should call this constructor only with the overloaded new operator, because this reserves the memory on the heap, a requirement to support roll back and history management.

Parameters:
SPAposition
start position.
SPAunit_vector
start direction.
SPAvector
start curvature.
SPAposition
end position.
SPAunit_vector
end direction.
SPAvector
end curvature.
o UNDEFC
public UNDEFC(undefc const& )
C++ copy constructor requests memory for this object and populates it with the data from the object supplied as an argument. Applications should call this constructor only with the overloaded new operator, because this reserves the memory on the heap, a requirement to support roll back and history management.

Parameters:
undefc
undefc

Methods


o end_curv
public SPAvector const & end_curv()
Returns the curvature at the end of the curve.
o end_dir
public SPAunit_vector const & end_dir()
Returns the direction at the end of the curve.
o end_point
public SPAposition const & end_point()
Returns the point at the end of the curve.
o equation
public curve const & equation()const
Returns the curve equation for reading only.
o equation_for_update
public curve & equation_for_update()
Returns the curve equation, checking first for backup.
o operator*=
public void operator*=(SPAtransf const& )
Transforms the stored undefc in place.

Parameters:
SPAtransf
transformation.
o set_end_curv
public void set_end_curv(SPAvector const& )
Sets the curvature at the end of the curve.
o set_end_dir
public void set_end_dir(SPAunit_vector const& )
Sets the direction at the end of the curve.
o set_end_point
public void set_end_point(SPAposition const& )
Sets the point at the end of the curve.
o set_start_curv
public void set_start_curv(SPAvector const& )
Sets the curvature at the start of the curve.
o set_start_dir
public void set_start_dir(SPAunit_vector const& )
Sets the direction at the start of the curve.
o set_start_point
public void set_start_point(SPAposition const& )
Sets the point at the start of the curve.
o start_curv
public SPAvector const & start_curv()
Returns the curvature at the start of the curve.
o start_dir
public SPAunit_vector const & start_dir()
Returns the direction at the start of the curve.
o start_point
public SPAposition const & start_point()
Returns the point at the start of the curve.
o trans_curve
public curve * trans_curve(SPAtransf const& = *(SPAtransf *)NULL_REF,
logical = FALSE )const
Returns a new curve, which is the undefc of the UNDEFC, transformed if the given transformation is not NULL. This curve is reversed in sense if logical is TRUE.

Parameters:
SPAtransf
transformation.
logical
reverse curve.

This object is included in the file: undefc.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.