Class Plano3D

java.lang.Object
  extended by Plano3D

public class Plano3D
extends Object

Un plano en 3D.

Version:
Sep 18, 2010
Author:
Jose A. Manas

Constructor Summary
Plano3D(Punto3D A, Punto3D B, Punto3D C)
          Constructor.
 
Method Summary
 double getA()
          Getter.
 double getB()
          Getter.
 double getC()
          Getter.
 double getD()
          Getter.
 Vector3D getVectorNormal()
          Getter.
static void main(String[] args)
          Pruebas.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plano3D

public Plano3D(Punto3D A,
               Punto3D B,
               Punto3D C)
Constructor. Plano que pasa por tres punto.

Parameters:
A - puntoA.
B - punto B.
C - punto C.
Method Detail

getA

public double getA()
Getter.

Returns:
coeficiente a de 'ax + by + cz + d = 0'.

getB

public double getB()
Getter.

Returns:
coeficiente b de 'ax + by + cz + d = 0'.

getC

public double getC()
Getter.

Returns:
coeficiente c de 'ax + by + cz + d = 0'.

getD

public double getD()
Getter.

Returns:
coeficiente d de 'ax + by + cz + d = 0'.

getVectorNormal

public Vector3D getVectorNormal()
Getter.

Returns:
vector normal: perpendicular al plano.

main

public static void main(String[] args)
Pruebas.

Parameters:
args - no se usan.