VisualizationFoundation class CATVisMeasurableGP
Usage: you must use this class as is. You should never derive it.
public class CATVisMeasurableGP
Class for measurement on Graphic Primitives.
Constructor and Destructor Index
- o
CATVisMeasurableGP(CATGraphicPrimitive*&)
- Constructor.
Method Index
- o
GetCircle(CATMathPoint&,CATMathVector&,double&)
- Retrieves the circle definition if the GP is a circle.
- o
GetCone(CATMathPoint&,CATMathVector&,double&)
- Retrieves the cone definition if the GP is a cone.
- o
GetCylinder(CATMathPoint&,CATMathVector&,double&)
- Retrieves the cylinder definition if the GP is a cylinder.
- o
GetLine(CATMathPoint&,CATMathPoint&)
- Retrieves the line definition if the GP is a line.
- o
GetPlane(CATMathPlane&)
- Retrieves the plane definition if the GP is a plane.
- o
GetSphere(CATMathPoint&,double&)
- Retrieves the sphere definition if the GP is a sphere.
- o
GetTorus(CATMathPoint&,CATMathVector&,double&,double&)
- Retrieves the torus definition if the GP is a torus.
- o
GetType(CATVisMeasurableType&)
- Retrieves the type of the Graphic Primitive.
- o
SetCircle(CATMathPoint&,CATMathVector&,double&)
- Defines the GP as a circle and sets the circle definition.
- o
SetCone(CATMathPoint&,CATMathVector&,double&)
- Defines the GP as a cone and sets the cone definition.
- o
SetCylinder(CATMathPoint&,CATMathVector&,double&)
- Defines the GP as a cylinder and sets the cylinder definition.
- o
SetLine(CATMathPoint&,CATMathPoint&)
- Defines the GP as a line and sets the line definition.
- o
SetPlane(CATMathPlane&)
- Defines the GP as a plane and sets the plane definition.
- o
SetSphere(CATMathPoint&,double&)
- Defines the GP as a sphere and sets the sphere definition.
- o
SetTorus(CATMathPoint&,CATMathVector&,double&,double&)
- Defines the GP as a torus and sets the torus definition.
- o
SetUnknown()
- Defines the GP as an unknown geometry.
Constructor and Destructor
o CATVisMeasurableGP
-
Constructor.
- Parameters:
-
- ipGP
- The graphic primitive to use for setting / getting measurement properties.
Methods
o GetCircle
-
Retrieves the circle definition if the GP is a circle.
- Parameters:
-
- ioCenter
- The center point.
- ioAxis
- The axis.
- oRadius
- The radius.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
o GetCone
-
Retrieves the cone definition if the GP is a cone.
- Parameters:
-
- ioApex
- The apex point.
- ioAxis
- The axis.
- oSemiAngle
- The semi-angle.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
o GetCylinder
-
Retrieves the cylinder definition if the GP is a cylinder.
- Parameters:
-
- ioPoint
- The point.
- ioAxis
- The axis.
- oRadius
- The radius.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
o GetLine
-
Retrieves the line definition if the GP is a line.
- Parameters:
-
- ioSttPoint
- The start point.
- ioEndPoint
- The end point.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
o GetPlane
-
Retrieves the plane definition if the GP is a plane.
- Parameters:
-
- ioPlane
- The plane.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
o GetSphere
-
Retrieves the sphere definition if the GP is a sphere.
- Parameters:
-
- ioCenter
- The center point.
- oRadius
- The radius.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
o GetTorus
-
Retrieves the torus definition if the GP is a torus.
- Parameters:
-
- ioPoint
- The point.
- ioAxis
- The axis.
- oMajorRadius
- The major radius.
- oMinorRadius
- The minor radius.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
o GetType
-
Retrieves the type of the Graphic Primitive.
- Parameters:
-
- oType
- The
CATVisMeasurableType of the GraphicPrimitive.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
o SetCircle
-
Defines the GP as a circle and sets the circle definition.
- Parameters:
-
- iCenter
- The center point.
- iAxis
- The axis.
- iRadius
- The radius.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
o SetCone
-
Defines the GP as a cone and sets the cone definition.
- Parameters:
-
- iApex
- The apex point.
- iAxis
- The axis.
- iSemiAngle
- The semi-angle.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
o SetCylinder
-
Defines the GP as a cylinder and sets the cylinder definition.
- Parameters:
-
- iPoint
- The point.
- iAxis
- The axis.
- iRadius
- The radius.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
o SetLine
-
Defines the GP as a line and sets the line definition.
- Parameters:
-
- iSttPoint
- The start point.
- iEndPoint
- The end point.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
o SetPlane
-
Defines the GP as a plane and sets the plane definition.
- Parameters:
-
- iPlane
- The plane.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
o SetSphere
-
Defines the GP as a sphere and sets the sphere definition.
- Parameters:
-
- iCenter
- The center point.
- iRadius
- The radius.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
o SetTorus
-
Defines the GP as a torus and sets the torus definition.
- Parameters:
-
- iPoint
- The point.
- iAxis
- The axis.
- iMajorRadius
- The major radius.
- iMinorRadius
- The minor radius.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
o SetUnknown
-
Defines the GP as an unknown geometry.
- Returns:
- S_OK if everything went fine, E_FAIL otherwise
This object is included in the file: CATVisMeasurableGP.h
If needed, your Imakefile.mk should include the module: CATVisFoundation
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.