1
0
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:
bugmaster
2011-03-16 07:30:28 +00:00
committed by bugmaster
parent 4903637061
commit 7fd59977df
16375 changed files with 3882564 additions and 0 deletions

View 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);
}