All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GeometricObjects Interface CATPParabola

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---GeometricObjects.CATICGMUnknown
        |
        +---GeometricObjects.CATICGMObject
          |
          +---GeometricObjects.CATGeometry
            |
            +---GeometricObjects.CATCurve
              |
              +---GeometricObjects.CATPCurve
                |
                +---CATPParabola
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATPParabola

Interface representing a parabola in the space of a surface.

The CATPParabola is created by the CreatePParabola method of the CATGeoFactory interface and deleted with the Remove method. It is defined with:
CATMathAxis2D iAxis The axis of the parabola in the space of the surface . In this system, the implicit equation is Y^2 = 2*iP*X.
CATSurface iSupport The surface on which the parabola is defined.
double iP Twice the length from the vertex of the parabola to its focus.
To define limits of the parabola, consider the parameter t such that: X(t) = t^2/(2*p), Y(t) = t , where X and Y are relative to iAxis.
Notice that this parameterization is not the internal paramaterization.


Method Index


o GetExtremities(double&,double&)
Returns the low and high limitations of this CATPParabola.
o GetFocalParam()
Returns the focal parameter of a CATPParabola.
o GetReferenceAxis(CATMathAxis2D&)
Returns the axis system of this CATPParabola.
o Set(CATMathAxis2D&,double&,double*,CATSurface*)
Modifies the characteristics of this CAPParabola.
o SetExtremities(double&,double&)
Modifies the low and high Limimitations of this CATPParabola.
o SetFocalParam(double&)
Modifies the focal length of this CATPParabola.
o SetReferenceAxis(CATMathAxis2D&)
Modifies the reference axis of this CATPParabola.

Methods


o GetExtremities
public virtual void GetExtremities(double& ioLowLimitation,
double& ioHighLimitation) const = 0
Returns the low and high limitations of this CATPParabola.
Parameters:
ioLowLimitation
The parameter value of the first limitation of this CATPParabola.
ioHighLimitation
The parameter value of the second limitation of this CATPParabola.
o GetFocalParam
public virtual double GetFocalParam()const = 0
Returns the focal parameter of a CATPParabola.
Returns:
Twice the length from the vertex of the parabola to its focus.
o GetReferenceAxis
public virtual void GetReferenceAxis(CATMathAxis2D& ioAxis2D) const = 0
Returns the axis system of this CATPParabola.
Parameters:
ioAxis2D
The axis system of the parabola in the surface space.
o Set
public virtual void Set( const CATMathAxis2D& iAxis2D,
const double& iFocalParameter,
const double* iLimits,
CATSurface* iSupport) = 0
Modifies the characteristics of this CAPParabola.
Parameters:
iAxis2D
The axis system of the parabola in the surface space.
iFocalParameter
Twice the length from the vertex of the parabola to its focus.
iLimits
An array [2] of the parameter values definining the limitations. If NULL, the parabola is unlimited.
iSupport
A pointer to the surface on which the parabola is defined.
o SetExtremities
public virtual void SetExtremities( const double& iLowParam,
const double& iHighParam) = 0
Modifies the low and high Limimitations of this CATPParabola.
Parameters:
iLowParam
The parameter value of the first limitation of this CATPParabola.
iHighParam
The parameter value of the second limitation of this CATPParabola.
o SetFocalParam
public virtual void SetFocalParam( const double& iFocalParameter) = 0
Modifies the focal length of this CATPParabola.
Parameters:
iFocalParameter
Twice the length from the vertex of the parabola to its focus.
o SetReferenceAxis
public virtual void SetReferenceAxis( const CATMathAxis2D& iAxis2D) = 0
Modifies the reference axis of this CATPParabola.
Parameters:
iAxis
The axis of the parabola in the surface space.

This object is included in the file: CATPParabola.h
If needed, your Imakefile.mk should include the module: CATGeometricObjects

Copyright © 2003, Dassault Systèmes. All rights reserved.