mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
22
src/Plate/Plate_PlaneConstraint.cxx
Executable file
22
src/Plate/Plate_PlaneConstraint.cxx
Executable file
@@ -0,0 +1,22 @@
|
||||
// File: Plate_PlaneConstraint.cxx
|
||||
// Created: Thu May 7 15:12:31 1998
|
||||
// Author: Andre LIEUTIER
|
||||
// <alr@sgi63>
|
||||
|
||||
|
||||
#include <Plate_PlaneConstraint.ixx>
|
||||
#include <Plate_PinpointConstraint.hxx>
|
||||
|
||||
|
||||
Plate_PlaneConstraint::Plate_PlaneConstraint(const gp_XY& point2d,
|
||||
const gp_Pln& pln,
|
||||
const Standard_Integer iu,
|
||||
const Standard_Integer iv)
|
||||
:myLSC(1,1)
|
||||
{
|
||||
gp_XYZ point = pln.Location().XYZ();
|
||||
myLSC.SetPPC(1,Plate_PinpointConstraint(point2d,point,iu,iv));
|
||||
gp_XYZ dir = pln.Axis().Direction().XYZ();
|
||||
dir.Normalize();
|
||||
myLSC.SetCoeff(1,1,dir);
|
||||
}
|
Reference in New Issue
Block a user