/// <summary> /// コンストラクタ /// </summary> /// <param name="location">基準点</param> /// <param name="dir">方向</param> public Line(Vector location, Vector dir) { Location = location; Dir = dir; }
/// <summary> /// コンストラクタ /// </summary> /// <param name="location">配置位置</param> public Axis2(Point location) { Location = location; Axis = new Vector(0.0, 0.0, 1.0); RefDirection = new Vector(1.0, 0.0, 0.0); }
/// <summary> /// コンストラクタ /// </summary> /// <param name="location">配置位置</param> public Axis1Placement(Point location) { Location = location; Axis = new Vector(0.0, 0.0, 1.0); }
/// <summary> /// コンストラクタ /// </summary> /// <param name="location">配置位置</param> /// <param name="axis">Z軸の方向</param> /// <param name="refDirection">X軸の方向</param> public Axis2(Point location, Vector axis, Vector refDirection) { Location = location; Axis = axis; RefDirection = refDirection; }
/// <summary> /// コンストラクタ /// </summary> /// <param name="location">配置位置</param> /// <param name="axis">軸方向</param> public Axis1Placement(Point location, Vector axis) { Location = location; Axis = axis; }