All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GeometricOperators Class CATLocalAnalysis1D

Mathematics.CATCGMVirtual
  |
  +---CATLocalAnalysis1D
 

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


public class CATLocalAnalysis1D

Class defining the local analysis on a point of a CATCurve.

It performs curvature, torsion, main normal and binormal on a point of a CATCurve. This class is not streamable. The point where the analysis is done can be changed by CATLocalAnalysis1D.SetParam.


Constructor and Destructor Index


o CATLocalAnalysis1D(CATCurve*,CATCrvParam&)
Creates a local analyzer on a point of a CATCurve.
o CATLocalAnalysis1D(CATLocalAnalysis1D&)
Copy Constructor.
o CATLocalAnalysis1D(CATSoftwareConfiguration*,CATCurve*,CATCrvParam&)
Creates a local analyzer on a point of a CATCurve.
o ~CATLocalAnalysis1D()
Destructor.

Method Index


o GetBiNormal()
Returns the binormal at the point of this CATLocalAnalysis1D.
o GetCurvature()
Returns the curvature at the point of this CATLocalAnalysis1D.
o GetMainNormal()
Returns the main normal at the point of this CATLocalAnalysis1D.
o GetTorsion()
Returns the torsion at the point of this CATLocalAnalysis1D.
o IsARegularParam()
Tests whether the point of this CATLocalAnalysis1D is regular.
o SetParam(CATCrvParam&)
Modifies the point where this CATLocalAnalysis1D is performed.
o operator=(CATLocalAnalysis1D&)
Assignment operator.

Constructor and Destructor


o CATLocalAnalysis1D
public CATLocalAnalysis1D( const CATCurve* iSupport,
const CATCrvParam& iPointToAnalyze)
Creates a local analyzer on a point of a CATCurve.
Parameters:
iSupport
The curve on which the analysis is done.
iPointToAnalyze
The parameter on iSupport of the point to analyze.
o CATLocalAnalysis1D
public CATLocalAnalysis1D( const CATLocalAnalysis1D& iAnalysisToCopy)
Copy Constructor.
o CATLocalAnalysis1D
public CATLocalAnalysis1D(CATSoftwareConfiguration* iConfig,
const CATCurve* iSupport,
const CATCrvParam& iPointToAnalyze)
Creates a local analyzer on a point of a CATCurve.
Parameters:
iConfig
The level of code (Versionning).
iSupport
The curve on which the analysis is done.
iPointToAnalyze
The parameter on iSupport of the point to analyze.
o ~CATLocalAnalysis1D
public virtual ~CATLocalAnalysis1D()
Destructor.

Methods


o GetBiNormal
public virtual CATMathVector GetBiNormal()
Returns the binormal at the point of this CATLocalAnalysis1D.
Returns:
The binormal: Let V = FirstDeriv ^ SecondDeriv. Then,
BiNormal = V / V.Norm() , where ^ is the cross product.
o GetCurvature
public virtual double GetCurvature()
Returns the curvature at the point of this CATLocalAnalysis1D.
Returns:
The curvature : the norm of the cross product of the first derivative and the second derivative divided by the cube of the norm of the first derivative.
Curvature = (FirstDeriv^SecondDeriv).Norm() / (FirstDeriv.Norm())^3.
o GetMainNormal
public virtual CATMathVector GetMainNormal()
Returns the main normal at the point of this CATLocalAnalysis1D.
Returns:
The main normal: Let V = FirstDeriv ^ SecondDeriv. Then,
MainNormal = (V / V.Norm() ) ^ FirstDeriv / FirstDeriv.Norm() , where ^ is the cross product.
o GetTorsion
public virtual double GetTorsion()
Returns the torsion at the point of this CATLocalAnalysis1D.
Returns:
The torsion: Let V = FirstDeriv ^ SecondDeriv. Then,
Torsion = V*ThirdDeriv / V*V, where * is the dot product and ^ the cross product.
o IsARegularParam
public virtual CATLONG32 IsARegularParam()
Tests whether the point of this CATLocalAnalysis1D is regular.
A point is non regular when the partial derivative of one of its coordinate is null.
Returns:
The result of the test.
Legal values:
0
if it is not regular
1
if it is regular
o SetParam
public virtual void SetParam(CATCrvParam& iNewParamToAnalyze)
Modifies the point where this CATLocalAnalysis1D is performed.
The analysis is automatically done.
Parameters:
iNewParamToAnalyze
The parameter of the new point to analyze.
o operator=
public CATLocalAnalysis1D& operator=( const CATLocalAnalysis1D& iAnalysisToAffect)
Assignment operator.

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

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