RRefPoint
Class in Math Module
Header: #include <src/core/math/RRefPoint.h>
Inherits: RVector
Description
Section titled “Description”Represents a reference point of an entity.
Scriptable: This class is available in script environments.
Copyable: Objects are cleaned up automatically by the garbage collector of the script engine.
Public Types
Section titled “Public Types”| enum | Flag { NoFlags, Secondary, Tertiary, Center, Ignore, Start, End, Arrow, Selected, Top, VMiddle, Bottom, Left, HMiddle, Right, FromSnap } |
Public Functions
Section titled “Public Functions”RRefPoint() |
|
RRefPoint(const RVector &v) |
|
RRefPoint(const RVector &v, RRefPoint::Flags f) |
|
RRefPoint(double vx, double vy, double vz=0.0, bool valid_in=true) |
|
| bool | getFlag(RRefPoint::Flag flag) const |
| RRefPoint::Flags | getFlags() const |
| bool | isArrow() const |
| bool | isCenter() const |
| bool | isEnd() const |
| bool | isFromSnap() const |
| bool | isIgnore() const |
| bool | isSecondary() const |
| bool | isSelected() const |
| bool | isStart() const |
| bool | isTertiary() const |
| void | setArrow(bool on) |
| void | setCenter(bool on) |
| void | setEnd(bool on) |
| void | setFlag(RRefPoint::Flag flag, bool on) |
| void | setFlags(RRefPoint::Flags f) |
| void | setFromSnap(bool on) |
| void | setIgnore(bool on) |
| void | setSecondary(bool on) |
| void | setSelected(bool on) |
| void | setStart(bool on) |
| void | setTertiary(bool on) |
Static Public Functions
Section titled “Static Public Functions”| static QList< RRefPoint > | toRefPointList(const QList< RVector > &list, RRefPoint::Flags flags=RRefPoint::NoFlags) |
| static QList< RVector > | toVectorList(const QList< RRefPoint > &list) |
Private Attributes
Section titled “Private Attributes”| Flags | flags |
Member Documentation
Section titled “Member Documentation”enum FlagRRefPoint
Section titled “RRefPoint”RRefPoint::RRefPoint()inline
RRefPoint
Section titled “RRefPoint”RRefPoint::RRefPoint(const RVector &v)inline
RRefPoint
Section titled “RRefPoint”RRefPoint::RRefPoint(const RVector &v, RRefPoint::Flags f)inline
RRefPoint
Section titled “RRefPoint”RRefPoint::RRefPoint(double vx, double vy, double vz=0.0, bool valid_in=true)inline
getFlag
Section titled “getFlag”bool RRefPoint::getFlag(RRefPoint::Flag flag) constinline const
getFlags
Section titled “getFlags”RRefPoint::Flags RRefPoint::getFlags() constinline const
isArrow
Section titled “isArrow”bool RRefPoint::isArrow() constinline const
isCenter
Section titled “isCenter”bool RRefPoint::isCenter() constinline const
bool RRefPoint::isEnd() constinline const
isFromSnap
Section titled “isFromSnap”bool RRefPoint::isFromSnap() constinline const
isIgnore
Section titled “isIgnore”bool RRefPoint::isIgnore() constinline const
isSecondary
Section titled “isSecondary”bool RRefPoint::isSecondary() constinline const
isSelected
Section titled “isSelected”bool RRefPoint::isSelected() constinline const
isStart
Section titled “isStart”bool RRefPoint::isStart() constinline const
isTertiary
Section titled “isTertiary”bool RRefPoint::isTertiary() constinline const
setArrow
Section titled “setArrow”void RRefPoint::setArrow(bool on)inline
setCenter
Section titled “setCenter”void RRefPoint::setCenter(bool on)inline
setEnd
Section titled “setEnd”void RRefPoint::setEnd(bool on)inline
setFlag
Section titled “setFlag”void RRefPoint::setFlag(RRefPoint::Flag flag, bool on)inline
setFlags
Section titled “setFlags”void RRefPoint::setFlags(RRefPoint::Flags f)inline
setFromSnap
Section titled “setFromSnap”void RRefPoint::setFromSnap(bool on)inline
setIgnore
Section titled “setIgnore”void RRefPoint::setIgnore(bool on)inline
setSecondary
Section titled “setSecondary”void RRefPoint::setSecondary(bool on)inline
setSelected
Section titled “setSelected”void RRefPoint::setSelected(bool on)inline
setStart
Section titled “setStart”void RRefPoint::setStart(bool on)inline
setTertiary
Section titled “setTertiary”void RRefPoint::setTertiary(bool on)inline
toRefPointList
Section titled “toRefPointList”static QList< RRefPoint > RRefPoint::toRefPointList(const QList< RVector > &list, RRefPoint::Flags flags=RRefPoint::NoFlags)static inline
toVectorList
Section titled “toVectorList”static QList< RVector > RRefPoint::toVectorList(const QList< RRefPoint > &list)static inline
Flags RRefPoint::flagsprivate