jp.go.ipa.jgcl
クラス JgclIntersectionCurve3D

java.lang.Object
  |
  +--jp.go.ipa.jgcl.JgclGeometry
        |
        +--jp.go.ipa.jgcl.JgclParametricCurve
              |
              +--jp.go.ipa.jgcl.JgclParametricCurve3D
                    |
                    +--jp.go.ipa.jgcl.JgclSurfaceCurve3D
                          |
                          +--jp.go.ipa.jgcl.JgclIntersectionCurve3D
すべての実装インタフェース:
JgclInterference3D, JgclSurfaceSurfaceInterference3D, java.io.Serializable

public class JgclIntersectionCurve3D
extends JgclSurfaceCurve3D
implements JgclSurfaceSurfaceInterference3D

3次元 : 二曲面間の交線を表すクラス。

このクラスに特有な属性を表すフィールドは特にない。 交線を表すために必要な曲線の情報などを保持するフィールドについては、 スーパークラスの解説 を参照。 なお、交線オブジェクトは、 スーパークラス JgclSurfaceCurve3D で定義されているインスタンスフィールドの basisSurface2, curve2d2 も利用する。

バージョン:
$Revision: 1.21 $, $Date: 2000/04/26 09:38:58 $
作成者:
Information-technology Promotion Agency, Japan
関連項目:
直列化された形式

コンストラクタの概要
JgclIntersectionCurve3D(JgclParametricCurve3D curve3d, JgclParametricSurface3D basisSurface1, JgclParametricCurve2D curve2d1, JgclParametricSurface3D basisSurface2, JgclParametricCurve2D curve2d2, int masterRepresentation)
          各フィールドに設定する値を与えてオブジェクトを構築する。
 
メソッドの概要
 boolean isIntersectionCurve()
          この干渉が交線であるか否かを返す。
 boolean isIntersectionPoint()
          この干渉が交点であるか否かを返す。
protected  void output(java.io.PrintWriter writer, int indent)
          出力ストリームに形状情報を出力する。
 JgclIntersectionCurve3D toIntersectionCurve()
          この干渉を交線に変換する。
 JgclIntersectionPoint3D toIntersectionPoint()
          この干渉を交点に変換する。
 
クラス jp.go.ipa.jgcl.JgclSurfaceCurve3D から継承したメソッド
basisSurface, basisSurface1, basisSurface2, coordinates, curvature, curve2d, curve2d1, curve2d2, curve3d, doTransformBy, evaluation, inflexion, intersect, intersect, length, masterRepresentation, parallelTranslate, projectFrom, singular, tangentVector, toBsplineCurve, toPolyline, torsion
 
クラス jp.go.ipa.jgcl.JgclParametricCurve3D から継承したメソッド
checkProjection, dimension, hasPolyline, identicalParameter, is3D, isComposedOfOnlyPolylines, nearestProjectFrom, nearestProjectWithDistanceFrom, pointToParameter, reverseTransformBy, transformBy, transformBy
 
クラス jp.go.ipa.jgcl.JgclParametricCurve から継承したメソッド
checkValidity, checkValidity, isClosed, isCurve, isFinite, isInfinite, isNonPeriodic, isOpen, isParametric, isPeriodic, isValid, parameterDomain
 
クラス jp.go.ipa.jgcl.JgclGeometry から継承したメソッド
getClassName, getToleranceForAngle, getToleranceForAngleAsObject, getToleranceForDistance, getToleranceForDistance2, getToleranceForDistanceAsObject, getToleranceForParameter, getToleranceForParameterAsObject, getToleranceForRealNumber, getToleranceForRealNumberAsObject, is1D, is2D, isFreeform, isPlacement, isPoint, isSurface, isTransformationOperator, isVector, makeIndent, output
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JgclIntersectionCurve3D

public JgclIntersectionCurve3D(JgclParametricCurve3D curve3d,
                               JgclParametricSurface3D basisSurface1,
                               JgclParametricCurve2D curve2d1,
                               JgclParametricSurface3D basisSurface2,
                               JgclParametricCurve2D curve2d2,
                               int masterRepresentation)
各フィールドに設定する値を与えてオブジェクトを構築する。

このコンストラクタは、 super(curve3d, basisSurface1, curve2d1, basisSurface2, curve2d2, masterRepresentation) を呼び出している。

basisSurface1 と basisSurface2 が同じ曲面である場合には JgclInvalidArgumentValue の例外を発生する。

パラメータ:
curve3d - 交線の三次元表現
basisSurface1 - 交線を求めた一方の曲面
curve2d1 - 交線の basisSurface1 における二次元表現
basisSurface2 - 交線を求めた他方の曲面
curve2d2 - 交線の basisSurface2 における二次元表現
masterRepresentation - どの曲線表現を優先するかを示す定数 (JgclPreferredSurfaceCurveRepresentation)
関連項目:
JgclPreferredSurfaceCurveRepresentation, JgclInvalidArgumentValue
メソッドの詳細

isIntersectionPoint

public boolean isIntersectionPoint()
この干渉が交点であるか否かを返す。
定義:
インタフェース JgclInterference3D 内の isIntersectionPoint
戻り値:
交点ではなく交線なので、常に false
関連項目:
isIntersectionCurve()

isIntersectionCurve

public boolean isIntersectionCurve()
この干渉が交線であるか否かを返す。
定義:
インタフェース JgclSurfaceSurfaceInterference3D 内の isIntersectionCurve
戻り値:
交線なので、常に true
関連項目:
isIntersectionPoint()

toIntersectionPoint

public JgclIntersectionPoint3D toIntersectionPoint()
この干渉を交点に変換する。

交線を交点に変換することはできないので null を返す。

定義:
インタフェース JgclInterference3D 内の toIntersectionPoint
戻り値:
常に null

toIntersectionCurve

public JgclIntersectionCurve3D toIntersectionCurve()
この干渉を交線に変換する。

自分自身を返す。

定義:
インタフェース JgclSurfaceSurfaceInterference3D 内の toIntersectionCurve
戻り値:
自分自身

output

protected void output(java.io.PrintWriter writer,
                      int indent)
出力ストリームに形状情報を出力する。
オーバーライド:
クラス JgclSurfaceCurve3D 内の output
パラメータ:
writer - PrintWriter
indent - インデントの深さ
関連項目:
JgclGeometry