Action:
|
Gets the intersection of two planes.
|
|
Prototype:
|
int intersect_plane_plane (
|
|
|
const SPAposition& p1,
|
// position on plane 1
|
|
|
const SPAunit_vector& n1,// normal to plane 1
|
|
|
const SPAposition& p2,
|
// position on plane 2
|
|
|
const SPAunit_vector& n2,// normal to plane 2
|
|
|
SPAposition& line_pt,
|
// returns position on
|
|
|
|
|
// line
|
|
|
SPAunit_vector& line_dir
|
// returns line direction
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/geomhusk/geom_utl.hxx"
|
|
#include "baseutil/vector/position.hxx"
|
|
#include "baseutil/vector/unitvec.hxx"
|
|
Description:
|
This function returns 1 (if the planes intersect) or 0 (if the planes are parallel).
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/geomhusk/geom_utl.hxx
|
|
Effect:
|
Read-only
|