GMModelInterfaces Interface CATICGMLocalAnalysis1D
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICGMLocalAnalysis1D
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 .
Method Index
- o
GetBiNormal()
- Returns the binormal at the point of this CATICGMLocalAnalysis1D.
- o
GetCurvature()
- Returns the curvature at the point of this CATICGMLocalAnalysis1D.
- o
GetMainNormal()
- Returns the main normal at the point of this CATICGMLocalAnalysis1D.
- o
GetTorsion()
- Returns the torsion at the point of this CATICGMLocalAnalysis1D.
- o
IsARegularParam()
- Tests whether the point of this CATICGMLocalAnalysis1D is regular.
- o
SetParam(CATCrvParam&)
- Modifies the point where this CATICGMLocalAnalysis1D is performed.
Methods
o GetBiNormal
public virtual GetBiNormal( | ) |
-
Returns the binormal at the point of this CATICGMLocalAnalysis1D.
- Returns:
- The binormal: Let V = FirstDeriv ^ SecondDeriv. Then,
BiNormal = V / V.Norm() , where ^ is the cross
product.
o GetCurvature
public virtual GetCurvature( | ) |
-
Returns the curvature at the point of this CATICGMLocalAnalysis1D.
- 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 GetMainNormal( | ) |
-
Returns the main normal at the point of this CATICGMLocalAnalysis1D.
- 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 GetTorsion( | ) |
-
Returns the torsion at the point of this CATICGMLocalAnalysis1D.
- 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 IsARegularParam( | ) |
-
Tests whether the point of this CATICGMLocalAnalysis1D 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 SetParam( | | iNewParamToAnalyze) |
-
Modifies the point where this CATICGMLocalAnalysis1D is performed.
The analysis is automatically done.
- Parameters:
-
- iNewParamToAnalyze
- The parameter of the new point to analyze.
This object is included in the file: CATICGMLocalAnalysis1D.h
If needed, your Imakefile.mk should include the module: CATGMModelInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.