|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgeometry.J3Utility
public class J3Utility
This class provides some utility for common geometrical calculation.
コンストラクタの概要 | |
---|---|
J3Utility()
|
メソッドの概要 | |
---|---|
static double |
getDistanceFromLineToPoint(J3Line line,
J3Vector r)
returns distance between a line and a point |
static J3Vector |
getThePerpendicularOnLineFromPoint(J3Line line,
J3Vector r)
|
static void |
moveLineVectorToPlane(J3Line line,
J3UnitVector nPlane,
J3Vector rPlane)
Move the line vector to where it crosses a plane with a fixed point vector rPlane and plane direction nPlane |
static void |
setJ3LineNegativeAxisLengthForGivenLength(J3Line line,
double lineLength)
Set J3Line's axis length so that its absolute length |J3Line| is equal to the given length. |
static void |
setJ3LineNegativeAxisLengthForGivenLength(J3Line line,
J3Vector r,
double lineLength)
Set J3Line's axis length so that its absolute length |J3Line-J3Vector| is equal to the given length. |
static void |
setJ3LinePositiveAxisLengthForGivenLength(J3Line line,
double lineLength)
Set J3Line's axis length so that its absolute length |J3Line| is equal to the given length. |
static void |
setJ3LinePositiveAxisLengthForGivenLength(J3Line line,
J3Vector r,
double lineLength)
Set J3Line's axis length so that its absolute length |J3Line-J3Vector| is equal to the given length. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public J3Utility()
メソッドの詳細 |
---|
public static double getDistanceFromLineToPoint(J3Line line, J3Vector r)
public static void moveLineVectorToPlane(J3Line line, J3UnitVector nPlane, J3Vector rPlane)
public static void setJ3LinePositiveAxisLengthForGivenLength(J3Line line, double lineLength)
J3Line line : J3Line vector you want to set. lineLength : The value you have for |line|.Choose the positive value of axis length.
public static void setJ3LineNegativeAxisLengthForGivenLength(J3Line line, double lineLength)
J3Line line : J3Line vector you want to set. lineLength : The value you have for |line|.Choose the negative value of axis length.
public static void setJ3LinePositiveAxisLengthForGivenLength(J3Line line, J3Vector r, double lineLength)
J3Line line : J3Line vector you want to set. J3Vector r : J3Vector from which the vector goes to J3Line above lineLength : The value you have for |line|.Choose the positive value of axis length.
public static void setJ3LineNegativeAxisLengthForGivenLength(J3Line line, J3Vector r, double lineLength)
J3Line line : J3Line vector you want to set. J3Vector r : J3Vector from which the vector goes to J3Line above lineLength : The value you have for |line|.Choose the negative value of axis length.
public static J3Vector getThePerpendicularOnLineFromPoint(J3Line line, J3Vector r)
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |