MeshKit  1.0
AF2RuleNewVertex Class Reference

#include <AF2RuleNewVertex.hpp>

List of all members.

Public Member Functions

 AF2RuleNewVertex (AF2Point2D const &rfrncPoint, const AF2PointTransform *const &pntTrnsfrm)
 Constructor.
 ~AF2RuleNewVertex ()
 Destructor.
 AF2RuleNewVertex (const AF2RuleNewVertex &toCopy)
 Copy constructor.
AF2RuleNewVertexoperator= (const AF2RuleNewVertex &rhs)
 Assignment operator.
AF2Point2D getLocation (AF2Binding const &vertexBinding) const
 Return the coordinates at which the new vertex should be placed based on the vertex binding.

Private Attributes

AF2Point2D referencePoint
const AF2PointTransformpointTransform

Detailed Description

Definition at line 19 of file AF2RuleNewVertex.hpp.


Constructor & Destructor Documentation

AF2RuleNewVertex ( AF2Point2D const &  rfrncPoint,
const AF2PointTransform *const &  pntTrnsfrm 
)

Constructor.

Construct an AF2RuleNewVertex from a reference point location and a pointer to a point transform. The point transform is cloned, so the calling context retains ownership of the point transform and is responsible for deleting it.

Parameters:
rfrncPointthe reference location of the new vertex, i.e., the location that the new vertex will have if the existing points of the rule are all placed in their ideal positions
pntTrnsfrmthe point transformation that will transform the point from its reference location to an actual location based on the vertex binding

Definition at line 3 of file AF2RuleNewVertex.cpp.

Destructor.

Definition at line 10 of file AF2RuleNewVertex.cpp.

AF2RuleNewVertex ( const AF2RuleNewVertex toCopy)

Copy constructor.

Definition at line 15 of file AF2RuleNewVertex.cpp.


Member Function Documentation

AF2Point2D getLocation ( AF2Binding const &  vertexBinding) const

Return the coordinates at which the new vertex should be placed based on the vertex binding.

Definition at line 43 of file AF2RuleNewVertex.cpp.

AF2RuleNewVertex & operator= ( const AF2RuleNewVertex rhs)

Assignment operator.

Definition at line 21 of file AF2RuleNewVertex.cpp.


Member Data Documentation

Definition at line 24 of file AF2RuleNewVertex.hpp.

Definition at line 23 of file AF2RuleNewVertex.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines