|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
=================================================================
triangle element + basis for orthogonal projection to 2D tri plane
Parent Classes:
Methods:
- TriOrthoC()
-
- TriOrthoC(BodyTriSetC & tris,IntT i,IntT j,IntT k)
-
- TriOrthoC(const TriOrthoC & t)
-
- const TriOrthoC operator=(const TriOrthoC & t)
-
- Point2dC operator()(const Point3dC & p) const
-
Returns the coordinate of the orthogonal projection of the
3D point 'p'. The returned point coordinates are expressed in
the coordinate system of the 2D space (plane).
- Point3dC operator[](const Point3dC & p) const
-
Returns the coordinates of the orthogonal projection of the
3D point 'p'. The returned point coordinates are expressed in
the coordinate system of the 3D space.
- Point3dC operator()(const Point2dC & p) const
-
Returns the 3D coordinates of the point 'p' belonging to the embedded
2D space.
Coordinate system relationships.
--------------------------------
- Point3dC T(const Point3dC & p) const
-
The embedded 2D space coordinate system is added another coordinate
to create the positive oriented 3D coordinate system A. The coordinates
of the point 'p' are transformed into the coordinate system A and
returned.
- DistanceT ODistance(const Point3dC & p) const
-
Returns the oriented orthogonal distance between the point 'p' and the
embedded 2D space. The distance is positive if the point 'p' is
in the half space which is determined by the positive part of the added
coordinate to create positive oriented 2D coordinate system, eg.
the same half space as the normal vector points to.
- Vector3dC Normal() const
-
Returns the unit normal vector of the embedded 2D space.
The normal vector with the coordinate system of the embedded
2D space defines the positively oriented 3D coordinate system.
- DistanceT Distance(const Point3dC & p) const
-
Returns the orthogonal distance between the point 'p' and the
embedded 2D space.
- ostream & operator<<(ostream & s,const OrthoProjection3to2dC & p)
-
- const TriC operator=(const TriC & t)
-
Assignment
Copies reference pointer to BodyTriSetC
--------------------------------------- Operations
- BooleanT IsValid() const
-
test if this TriC is valid
ie not created by default constructor
(default constructor is required for array)
- IntT Index(const IntT i) const
-
vertex index 0,1,2
Vector3dC Normal(const TriSetC& tris) const;
Unit normal orthogonal to triangle plane
- BooleanT Bound() const
-
- BooleanT & Bound()
-
set/get boundary info. for element
Always FALSE unless TriSetC.SetupBound() is called
- Vector3dC Vertex(const IntT i) const
-
vertex 0,1,2
- Vector3dC Normal() const
-
Unit normal orthogonal to triangle plane
- Vector3dC VertexNormal(const IntT i) const
-
vertex normal 0,1,2
- RealT EdgeLength(const IntT i,const IntT j) const
-
Edge lenght vertex i to vertex j i,j=[0,1,2]
- RealT MinimumEdgeLength() const
-
Minimum lenght of 'this' triangle edges
- RealT MaximumEdgeLength() const
-
Maximum lenght of 'this' triangle edges
TriNearestPointC NearestPoint(TriSetC& t,const Vector3dC v);
- TriNearestPointC NearestPoint(const Vector3dC v) const
-
nearest point on element
- void SetBodyTriSet(BodyTriSetC & ts)
-
set the pointer to BodyTriSetC for this TriC
use to change pointer when moving TriC between BodyTriSetC's
or when BodyTriSetC is not set on construction
- BodyTriSetC & BodyTriSet() const
-
access to triset to which this tri belongs
for safety should always test if it's valid IsValid()
|
Programmer:Adrian Hilton, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|