A 3D Dynamic Geometry Software

Calques 3D C++



CObject3D Internal Identifiers

Error Codes

The following codes are generated by the CObject3D::CalculConceptuel() method upon the failure of construction of a geometrical object and indicate the reason for such failure. Use the CObject3D::HandleObjectError() method to report the error to the user.

CodeDescription
ERR_SUPPORTOBJECTSome properties result in mis-specification of the support object. Thus, a point on this object cannot be defined.
ERR_NOMIDDLE1Some properties result in segment's mis-specification. Thus, its midpoint cannot be defined.
ERR_NOMIDDLE2Some properties result in mis-specification of one of the points. Thus, their midpoint cannot be defined.
ERR_NOINTERSome properties result in mis-specification of one of the objects. Thus, their intersection cannot be defined.
ERR_DROITEPARThe lines are parallel.
ERR_DROITNOCOPLANThe lines are not in the same plane.
ERR_INTERINSEGThe intersection point does not belong to the segment line(s).
ERR_DRPLANPARThe line and the plan are parallel.
ERR_NOSPHERESome properties result in mis-specification of one of the objects. Thus, the sphere cannot be defined.
ERR_SPHPTSIDBoth points are identical. Thus, the sphere cannot be defined.
ERR_PTSALIGNThe points are aligned. The object cannot be defined.
ERR_NOPLANSome properties result in mis-specification of one of the objects. Thus, the plane cannot be defined.
ERR_NODROITESome properties result in mis-specification of one of the objects. Thus, the line cannot be defined.
ERR_DRPTSIDBoth points are identical. Thus, the line cannot be defined.
ERR_PLANEPARBoth planes are parallel.
ERR_PTONLINEThe point belongs to the line. Thus, the perpendicular line cannot be defined.
ERR_2SAMEPTSYou already selected this point. Please select another one.
ERR_2SAMEDRSYou already selected this line. Please select another one.
ERR_2SAMEPLSYou already selected this plane. Please select another one.
ERR_NOCERCLESome properties result in mis-specification of one of the points. Thus, the circle cannot be defined.
ERR_INDEPENDSome parent objects are not defined. Thus, this object cannot be defined.
ERR_CBPTSIDBoth points of the initial edge are identical. The cube cannot be defined.
ERR_NOCYLINDSome properties result in mis-specification of one of the points. Thus, the .cylinder cannot be defined.
ERR_INTCALCThe internal calculus of the point is not determined by external conditions. The point is not defined.
ERR_INTERSPHDRThe line and the sphere do not intersect. Their intersection is not defined.
ERR_LOCUS_NORELThere is no relation between the two points. The locus cannot be defined.
ERR_LOCUS_NOPTSURThe command point is not a point on an object. The locus cannot be defined.
ERR_NOLOCUSSome properties result in mis-specification of one of the points..Thus, the locus cannot be defined.
ERR_LOCUS_INTERNALSome properties are not verified in the relations between the command point and the locus point.. The locus cannot be defined.
ERR_REDEFINE_INGRAPHThe object already depends of the target object. Its redefinition cannot be proceeded.
ERR_REDEFINE_PARENTSThe selected object is already one of the parent of the target object. Select another one.
ERR_REDEFINE_NOPARENTSThe selected object is not one of the parent of the target object. Select another one.
ERR_POLYGON_NOPLANEThis point is not in the plane defined by the previous ones. Select another one.
ERR_POLYGON_NOPLANE2One or many of the points are not in the same plane. Thus, the polygon cannot be defined.
ERR_POLYGON_3POINTThis polygon is defined by less than 3 points. Thus, the polygon cannot be defined.
ERR_NOPOLYGONSome properties result in mis-specification of one of the objects. Thus, the polygon cannot be defined.
ERR_POLYGON_NOCONVEXThis polygon is not convex. Thus, it cannot be defined.
ERR_AMBIGUITYMore than one object are detected. Clear the ambiguity by using the contextual menu.

Relation Verification Codes

The following codes are generated by the analytical verification task - see CVerify3DTask - and indicate the state of the verified relation. Geometrical objects contain a couple of analytical verification methods - such as CObject3D::IsParallelTo(), CObject3D::IsPerpendicularTo(), CObject3D::IsAlignedWith() and CObject3D::IsEqual() - that are used by the task to assess a relation.

CodeDescription
VER_ERROR The property cannot be verified on these objects.
VER_PAR_NO The two objects are not parallel in this configuration.
VER_PAR_ANALYTIC The two objects are parallel in this configuration. But there is another configuration where it is not true.
VER_PAR_CONSTRUCTION The two objects seem to be parallel in every configuration.
VER_PERP_NO The two objects are not perpendicular in this configuration.
VER_PERP_ANALYTIC The two objects are perpendicular in this configuration. But there is another configuration where it is not true.
VER_PERP_CONSTRUCTION The two objects seem to be perpendicular in every configuration.
VER_BELONG_NO The object does not belong to the target in this configuration.
VER_BELONG_ANALYTIC The object does not belong to the target in this configuration. But there is another configuration where it is not true.
VER_BELONG_CONSTRUCTION The object seems to belong to the target in every configuration.
VER_ALIGN_NO The three points are not aligned in this configuration.
VER_ALIGN_ANALYTIC The three points are aligned in this configuration. But there is another configuration where it is not true.
VER_ALIGN_CONSTRUCTION The three points seem to be aligned in every configuration.